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

Last change on this file since 181 was 160, checked in by Torben Dannhauer, 14 years ago

change dataIO configuration from command line to xml File.

Status: in Progress

File size: 3.3 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  <module name="sky_silverlining" enabled="yes"></module>
19  <module name="vista2d" enabled="yes">
20    <vista2d filename="D:\osgVisual\osgVisual\bin\altimeterSimple.v" paintBackground="no" position_x="1" position_y="1" zoom="1.0" playanimation="yes"></vista2d>
21  </module>
22  <module name="dataio" enabled="yes">
23    <!-- XML configuration of the module "dataIO"
24        Available clusterroles:
25        master: This role recieves all relevant information via the extLink implementation and sends it via cluster implementation to the slave nodes.
26        slave: This role recieves all relevant rendering information via the cluster implementation.
27        standalone: This role recieves all relevant data via the extLink and renders it. No cluster functionality is used.
28    -->
29    <dataio clusterrole="standalone"></dataio>
30    <cluster implementation="enet" master_ip="10.10.10.10" port="1234" use_zlib_compressor="yes" ></cluster>
31    <extlink implementation="vcl" filename="osgVisual.xml"></extlink>
32  </module>
33 
34  <scenery>
35    <terrain filename="d:\my\path\database.ive"></terrain>
36    <animationpath filename="salzburgerEcke.path"></animationpath>
37    <models>
38      <model filename="cessna" type="plain" label="TestText!" dynamic="yes">
39        <position lat="47.12345" lon="11.234567" alt="1500.0"></position>
40        <attitude rot_x="0.0" rot_y="0.0" rot_z="0.0"></attitude>
41        <cameraoffset>
42          <translation trans_x="0.0" trans_y="0.0" trans_z="0.0"></translation>
43          <rotation rot_x="0.0" rot_y="0.0" rot_z="0.0"></rotation>
44        </cameraoffset>
45      </model>
46    </models>
47    <datetime day="01" month="02" year="2010" hour="23" minute="45"></datetime>
48    <visibility range="50000" turbidity="2.2" ></visibility>
49    <cloudlayer slot="1" type="cumulusCongestus" enabled="true" fadetime="15">
50      <geometry baselength="50000" basewidth="50000" thickness="500" baseHeight="1700" density="0.3"></geometry>
51      <precipitation rate_mmPerHour_rain="5.0" rate_mmPerHour_drySnow="7.0" rate_mmPerHour_wetSnow="10.0" rate_mmPerHour_sleet="0.0"></precipitation>
52    </cloudlayer>
53    <windlayer bottom="500.0" top="700." speed="25.0" direction="90.0"></windlayer>
54  </scenery>
55</osgvisualconfiguration>
56
Note: See TracBrowser for help on using the repository browser.