Changes between Version 6 and Version 7 of osgVisualConfiguration
- Timestamp:
- Feb 16, 2011, 5:10:40 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
osgVisualConfiguration
v6 v7 29 29 Example of a configuration file with module and scenery configuration: 30 30 {{{ 31 #!xml32 31 <?xml version="1.0" encoding="ISO-8859-1" ?> 33 32 <osgvisualconfiguration> 34 <module name="distortion" enabled=" yes">35 <distortion channelname="center" ></distortion>33 <module name="distortion" enabled="no"> 34 <distortion channelname="center" renderimplemmentation="fbo" width="2048" height="2048" useshader="yes" hdr="yes" usetexturerectangle="no"></distortion> 36 35 </module> 37 36 <module name="sky_silverlining" enabled="yes"></module> 38 37 <module name="vista2d" enabled="yes"> 38 <vista2d filename="absolute/path/to/you/vista2DProject.v" paintBackground="no" position_x="1" position_y="1" zoom="1.0" playanimation="yes"></vista2d> 39 </module> 40 <module name="dataio" enabled="yes"> 41 <dataio clusterrole="standalone"></dataio> 42 <cluster implementation="enet" hardsync="yes" master_ip="10.10.10.10" port="1234" use_zlib_compressor="yes" ></cluster> 43 <extlink implementation="vcl" filename="osgVisual.xml"></extlink> 44 </module> 39 45 <scenery> 40 <terrain filename=" d:\my\path\database.ive"></terrain>41 <animationpath filename="salzburg erEcke.path"></animationpath>46 <terrain filename="relative/or/absolute/path/to/you/database1.ive" filename2="relative/or/absolute/path/to/you/database2.ive"></terrain> 47 <animationpath filename="salzburg.path"></animationpath> 42 48 <models> 43 <model filename="cessna" type="plain" label="TestText!" dynamic="yes">44 <position lat="47. 12345" lon="11.234567" alt="1500.0"></position>49 <model objectname="TestObject" trackingid="1" label="TestText!" dynamic="no"> 50 <position lat="47.8123" lon="12.94088" alt="700.0"></position> 45 51 <attitude rot_x="0.0" rot_y="0.0" rot_z="0.0"></attitude> 52 <updater> 53 <position lat="" lon="" alt=""></position> 54 <attitude rot_x="" rot_y="" rot_z=""></attitude> 55 <label text=""></label> 56 </updater> 46 57 <cameraoffset> 47 58 <translation trans_x="0.0" trans_y="0.0" trans_z="0.0"></translation> 48 59 <rotation rot_x="0.0" rot_y="0.0" rot_z="0.0"></rotation> 49 60 </cameraoffset> 61 <geometry filename="../models/yourModel.flt"> 62 <offset rot_x="0.0" rot_y="0.0" rot_z="0.0"></offset> 63 <scalefactor scale_x="1.0" scale_y="1.0" scale_z="1.0"></scalefactor> 64 </geometry> 50 65 </model> 66 <trackmodel id="2" updater_slot="TRACKING_ID"></trackmodel> 51 67 </models> 52 <datetime day="0 1" month="02" year="2010" hour="23" minute="45"></datetime>68 <datetime day="0" month="0" year="0" hour="12" minute="50"></datetime> 53 69 <visibility range="50000" turbidity="2.2" ></visibility> 54 <cloudlayer slot="1" type="cumulusCongestus" enabled="true" fadetime="15"> 55 <geometry baselength="50000" basewidth="50000" thickness="500" baseHeight="1700" density="0.3"></geometry> 56 <precipitation rate_mmPerHour_rain="5.0" rate_mmPerHour_drySnow="7.0" rate_mmPerHour_wetSnow="10.0" rate_mmPerHour_sleet="0.0"></precipitation> 57 </cloudlayer> 58 <windlayer bottom="500.0" top="700." speed="25.0" direction="90.0"></windlayer> 70 <clouds> 71 <cloudlayer slot="1" type="CUMULUS_CONGESTUS" enabled="yes" fadetime="15"> 72 <geometry baselength="50000" basewidth="50000" thickness="1600" baseHeight="1000" density="0.07"></geometry> 73 <precipitation rate_mmPerHour_rain="5.0" rate_mmPerHour_drySnow="7.0" rate_mmPerHour_wetSnow="10.0" rate_mmPerHour_sleet="0.0"></precipitation> 74 </cloudlayer> 75 </clouds> 76 <windlayer bottom="500.0" top="1100." speed="25.0" direction="90.0"></windlayer> 59 77 </scenery> 60 78 </osgvisualconfiguration>