source: osgVisual/trunk/bin/osgVisualConfig.xml @ 204

Last change on this file since 204 was 204, checked in by Torben Dannhauer, 13 years ago
File size: 6.0 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1" ?>
2<osgvisualconfiguration>
3  <module name="distortion" enabled="no">
4    <!-- XML configuration of the module "distortion"
5      channelname = name of the channel, used to load the distortion- and blendmaps
6      renderimplementation = technique to distort.
7      Available options:
8          fbo : renderImplementation = osg::Camera::FRAME_BUFFER_OBJECT
9          pbuffer : renderImplementation = osg::Camera::PIXEL_BUFFER
10          pbuffer-rtt :  renderImplementation = osg::Camera::PIXEL_BUFFER_RTT
11          fb : renderImplementation = osg::Camera::FRAME_BUFFER
12          window : renderImplementation = osg::Camera::SEPERATE_WINDOW
13    -->
14    <distortion channelname="center" renderimplemmentation="fbo" width="2048" height="2048" useshader="yes" hdr="yes" usetexturerectangle="no"></distortion>
15    <!-- optional: <distortionmap filename="distmap.png"></distortionmap> to set distortionmap independend from channel map-->
16    <!-- optional: <blendmap filename="blendmap.png"></blendmap> to set blendmap independend from channel map -->
17  </module>
18 
19  <module name="sky_silverlining" enabled="yes"></module>
20
21  <module name="vista2d" enabled="yes">
22    <vista2d filename="D:\osgVisual\osgVisual\bin\altimeterSimple.v" paintBackground="no" position_x="1" position_y="1" zoom="1.0" playanimation="yes"></vista2d>
23  </module>
24
25  <module name="dataio" enabled="yes">
26    <!-- XML configuration of the module "dataIO"
27        The parameter "enabled" is ignored, because dataIO is mandatory for the visual system to place object etc.
28       
29        Available clusterroles:
30        master: This role recieves all relevant information via the extLink implementation and sends it via cluster implementation to the slave nodes.
31        slave: This role recieves all relevant rendering information via the cluster implementation.
32        standalone: This role recieves all relevant data via the extLink and renders it. No cluster functionality is used.   
33    -->
34    <dataio clusterrole="standalone"></dataio>
35    <cluster implementation="enet" hardsync="yes" master_ip="10.10.10.10" port="1234" use_zlib_compressor="yes" ></cluster>
36    <extlink implementation="vcl" filename="osgVisual.xml"></extlink>
37  </module>
38 
39  <scenery>
40    <terrain filename="D:/OpenSceneGraph/VPB-Testdatensatz/DB_Small/database.ive" filename2="J:\BRD1m_MUC0.25m_srtmEU_BM\terrain.ive"></terrain>
41    <animationpath filename="salzburg.path"></animationpath>
42    <models>
43      <!-- Models can be loaded and placed in the scenerey.
44        - filename: 3D model to load. Leave empty to use model without 3D model.
45        - type: [plain] ? todo
46        - label: text to label the model with.
47        - dynamic: Add an standard updater to the model. todo
48        - position: Poisition to place the model
49        - attitude: Orientation to place the model
50        - updater [optional]: Channels to use for position and attitude update
51        - modeloffset [optional]: Offset for the loaded 3D model to the visual_object (if the 3D model has a wrong coordinate frame)
52        - cameraoffset [optional]: Offset for the object mounted camera manipulator to the visual_object   
53      -->
54      <model filename="cessna.osg" type="plain" label="TestText!" dynamic="yes">
55        <position lat="47.12345" lon="11.234567" alt="1500.0"></position>
56        <attitude rot_x="0.0" rot_y="0.0" rot_z="0.0"></attitude>
57        <updater>
58          <position lat="channelXYZ" lon="channelXYZ" alt="channelXYZ"></position>
59          <attitude rot_x="channelXYZ" rot_y="channelXYZ" rot_z="channelXYZ"></attitude>
60        </updater>
61        <modeloffset>
62          <translation trans_x="0.0" trans_y="0.0" trans_z="0.0"></translation>
63          <rotation rot_x="0.0" rot_y="0.0" rot_z="0.0"></rotation>
64        </modeloffset>
65        <cameraoffset>
66          <translation trans_x="0.0" trans_y="0.0" trans_z="0.0"></translation>
67          <rotation rot_x="0.0" rot_y="0.0" rot_z="0.0"></rotation>
68        </cameraoffset>
69      </model>
70    </models>
71    <datetime day="0" month="0" year="0" hour="12" minute="30"></datetime>
72    <visibility range="50000" turbidity="2.2" ></visibility>
73    <clouds>
74      <!--<cloudlayer slot="0" type="CUMULONIMBUS_CAPPILATUS" enabled="true" fadetime="15">
75        <geometry baselength="20000" basewidth="20000" thickness="600" baseHeight="1000" density="0.5"></geometry>
76      </cloudlayer>-->
77      <cloudlayer slot="1" type="CUMULUS_CONGESTUS" enabled="true" fadetime="15">
78        <geometry baselength="50000" basewidth="50000" thickness="1600" baseHeight="1000" density="0.07"></geometry>
79        <precipitation rate_mmPerHour_rain="5.0" rate_mmPerHour_drySnow="7.0" rate_mmPerHour_wetSnow="10.0" rate_mmPerHour_sleet="0.0"></precipitation>
80      </cloudlayer>
81      <cloudlayer slot="2" type="CUMULUS_MEDIOCRIS" enabled="true" fadetime="15">
82        <geometry baselength="50000" basewidth="50000" thickness="1600" baseHeight="1000" density="0.07"></geometry>
83      </cloudlayer>
84      <!--<cloudlayer slot="3" type="CIRRUS_FIBRATUS" enabled="true" fadetime="15">
85        <geometry baselength="5000000" basewidth="5000000" thickness="600" baseHeight="7351" density="0.2"></geometry>
86      </cloudlayer>-->
87      <!--<cloudlayer slot="4" type="CIRROCUMULUS" enabled="true" fadetime="15">
88        <geometry baselength="50000" basewidth="50000" thickness="600" baseHeight="7351" density="0.2"></geometry>
89      </cloudlayer>-->
90      <!--<cloudlayer slot="5" type="STRATOCUMULUS" enabled="true" fadetime="15">
91        <geometry baselength="100000" basewidth="100000" thickness="2500" baseHeight="2000" density="0.3"></geometry>
92      </cloudlayer>-->
93      <!--<cloudlayer slot="6" type="STRATUS" enabled="true" fadetime="15">
94        <geometry baselength="50000" basewidth="50000" thickness="1500" baseHeight="1500" density="0.3"></geometry>
95      </cloudlayer>-->
96    </clouds>
97    <windlayer bottom="500.0" top="1100." speed="25.0" direction="90.0"></windlayer>
98  </scenery>
99</osgvisualconfiguration>
100
Note: See TracBrowser for help on using the repository browser.