[123] | 1 | <?xml version="1.0" encoding="ISO-8859-1" ?> |
---|
| 2 | <osgvisualconfiguration> |
---|
[151] | 3 | <module name="distortion" enabled="no"> |
---|
[147] | 4 | <!-- XML configuration of the module "distortion" |
---|
[154] | 5 | channelname = name of the channel, used to load the distortion- and blendmaps |
---|
[147] | 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 | --> |
---|
[149] | 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 --> |
---|
[123] | 17 | </module> |
---|
[183] | 18 | |
---|
[129] | 19 | <module name="sky_silverlining" enabled="yes"></module> |
---|
[183] | 20 | |
---|
[151] | 21 | <module name="vista2d" enabled="yes"> |
---|
[156] | 22 | <vista2d filename="D:\osgVisual\osgVisual\bin\altimeterSimple.v" paintBackground="no" position_x="1" position_y="1" zoom="1.0" playanimation="yes"></vista2d> |
---|
[151] | 23 | </module> |
---|
[183] | 24 | |
---|
[154] | 25 | <module name="dataio" enabled="yes"> |
---|
| 26 | <!-- XML configuration of the module "dataIO" |
---|
[183] | 27 | The parameter "enabled" is ignored, because dataIO is mandatory for the visual system to place object etc. |
---|
| 28 | |
---|
[154] | 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. |
---|
[183] | 32 | standalone: This role recieves all relevant data via the extLink and renders it. No cluster functionality is used. |
---|
[154] | 33 | --> |
---|
[160] | 34 | <dataio clusterrole="standalone"></dataio> |
---|
[183] | 35 | <cluster implementation="enet" hardsync="yes" master_ip="10.10.10.10" port="1234" use_zlib_compressor="yes" ></cluster> |
---|
[160] | 36 | <extlink implementation="vcl" filename="osgVisual.xml"></extlink> |
---|
[154] | 37 | </module> |
---|
[123] | 38 | |
---|
| 39 | <scenery> |
---|
[197] | 40 | <terrain filename="D:/OpenSceneGraph/VPB-Testdatensatz/DB_Small/database.ive" filename2="J:\BRD1m_MUC0.25m_srtmEU_BM\terrain.ive"></terrain> |
---|
[191] | 41 | <animationpath filename="salzburg.path"></animationpath> |
---|
[123] | 42 | <models> |
---|
[205] | 43 | <!-- Models can be loaded and placed in the scenery. |
---|
| 44 | - objectname: Name of the object to identify it in the scenegraph. |
---|
[212] | 45 | - tracking ID: ID to manage which object should be tracked |
---|
[204] | 46 | - label: text to label the model with. |
---|
[205] | 47 | - dynamic: "yes" to add an standard updater to the model. |
---|
| 48 | - position: Position to place the model |
---|
| 49 | - attitude: Orientation in degree to place the model |
---|
[206] | 50 | - updater [optional]: Channels to use for position, attitude and label update |
---|
[205] | 51 | - cameraoffset [optional]: Rotational (in degree) and translational offset for the object mounted camera manipulator to the visual_object |
---|
| 52 | - Geometry [optional]: 3D model to display. Leave empty to use model without 3D model. |
---|
| 53 | - Geometryoffset [optional]: Rotational offset (in degree) for the loaded 3D model to the visual_object (if the 3D model has a wrong coordinate frame) |
---|
| 54 | - Geometryscale [optional]: Scale factors for the loaded 3D model in all three dimensions. |
---|
[215] | 55 | --> |
---|
| 56 | <model objectname="TestObject" trackingid="1" label="TestText!" dynamic="no"> |
---|
| 57 | <position lat="47.8123" lon="12.94088" alt="700.0"></position> |
---|
[123] | 58 | <attitude rot_x="0.0" rot_y="0.0" rot_z="0.0"></attitude> |
---|
[204] | 59 | <updater> |
---|
[206] | 60 | <position lat="" lon="" alt=""></position> |
---|
[208] | 61 | <attitude rot_x="" rot_y="" rot_z=""></attitude> |
---|
[206] | 62 | <label text=""></label> |
---|
[204] | 63 | </updater> |
---|
[123] | 64 | <cameraoffset> |
---|
| 65 | <translation trans_x="0.0" trans_y="0.0" trans_z="0.0"></translation> |
---|
| 66 | <rotation rot_x="0.0" rot_y="0.0" rot_z="0.0"></rotation> |
---|
| 67 | </cameraoffset> |
---|
[212] | 68 | <geometry filename="../models/saenger1.flt"> |
---|
[205] | 69 | <offset rot_x="0.0" rot_y="0.0" rot_z="0.0"></offset> |
---|
| 70 | <scalefactor scale_x="1.0" scale_y="1.0" scale_z="1.0"></scalefactor> |
---|
| 71 | </geometry> |
---|
[123] | 72 | </model> |
---|
[235] | 73 | <trackmodel id="2" updater_slot="TRACKING_ID"></trackmodel> |
---|
[123] | 74 | </models> |
---|
[197] | 75 | <datetime day="0" month="0" year="0" hour="12" minute="30"></datetime> |
---|
[129] | 76 | <visibility range="50000" turbidity="2.2" ></visibility> |
---|
[200] | 77 | <clouds> |
---|
[219] | 78 | <!--<cloudlayer slot="0" type="CUMULONIMBUS_CAPPILATUS" enabled="yes" fadetime="15"> |
---|
[200] | 79 | <geometry baselength="20000" basewidth="20000" thickness="600" baseHeight="1000" density="0.5"></geometry> |
---|
| 80 | </cloudlayer>--> |
---|
[219] | 81 | <cloudlayer slot="1" type="CUMULUS_CONGESTUS" enabled="yes" fadetime="15"> |
---|
[200] | 82 | <geometry baselength="50000" basewidth="50000" thickness="1600" baseHeight="1000" density="0.07"></geometry> |
---|
| 83 | <precipitation rate_mmPerHour_rain="5.0" rate_mmPerHour_drySnow="7.0" rate_mmPerHour_wetSnow="10.0" rate_mmPerHour_sleet="0.0"></precipitation> |
---|
| 84 | </cloudlayer> |
---|
[220] | 85 | <cloudlayer slot="2" type="CUMULUS_MEDIOCRIS" enabled="no" fadetime="15"> |
---|
[200] | 86 | <geometry baselength="50000" basewidth="50000" thickness="1600" baseHeight="1000" density="0.07"></geometry> |
---|
| 87 | </cloudlayer> |
---|
[219] | 88 | <!--<cloudlayer slot="3" type="CIRRUS_FIBRATUS" enabled="yes" fadetime="15"> |
---|
[200] | 89 | <geometry baselength="5000000" basewidth="5000000" thickness="600" baseHeight="7351" density="0.2"></geometry> |
---|
| 90 | </cloudlayer>--> |
---|
[219] | 91 | <!--<cloudlayer slot="4" type="CIRROCUMULUS" enabled="yes" fadetime="15"> |
---|
[200] | 92 | <geometry baselength="50000" basewidth="50000" thickness="600" baseHeight="7351" density="0.2"></geometry> |
---|
| 93 | </cloudlayer>--> |
---|
[219] | 94 | <!--<cloudlayer slot="5" type="STRATOCUMULUS" enabled="yes" fadetime="15"> |
---|
[200] | 95 | <geometry baselength="100000" basewidth="100000" thickness="2500" baseHeight="2000" density="0.3"></geometry> |
---|
| 96 | </cloudlayer>--> |
---|
[219] | 97 | <!--<cloudlayer slot="6" type="STRATUS" enabled="yes" fadetime="15"> |
---|
[200] | 98 | <geometry baselength="50000" basewidth="50000" thickness="1500" baseHeight="1500" density="0.3"></geometry> |
---|
| 99 | </cloudlayer>--> |
---|
| 100 | </clouds> |
---|
[202] | 101 | <windlayer bottom="500.0" top="1100." speed="25.0" direction="90.0"></windlayer> |
---|
[123] | 102 | </scenery> |
---|
| 103 | </osgvisualconfiguration> |
---|
| 104 | |
---|