| 5 | = List of modules with available configuration options = |
| 6 | |
| 7 | == Data In/Output == |
| 8 | <module name="dataio" enabled="yes"> |
| 9 | <!-- XML configuration of the module "dataIO" |
| 10 | The parameter "enabled" is ignored, because dataIO is mandatory for the visual system to place object etc. |
| 11 | |
| 12 | Available clusterroles: |
| 13 | master: This role recieves all relevant information via the extLink implementation and sends it via cluster implementation to the slave nodes. |
| 14 | slave: This role recieves all relevant rendering information via the cluster implementation. |
| 15 | standalone: This role recieves all relevant data via the extLink and renders it. No cluster functionality is used. |
| 16 | --> |
| 17 | <dataio clusterrole="standalone"></dataio> |
| 18 | <cluster implementation="enet" hardsync="yes" master_ip="10.10.10.10" port="1234" use_zlib_compressor="yes" ></cluster> |
| 19 | <extlink implementation="vcl" filename="osgVisual.xml"></extlink> |
| 20 | </module> |
| 21 | |
| 22 | == distortion == |
| 23 | |
| 24 | <module name="distortion" enabled="no"> |
| 25 | <!-- XML configuration of the module "distortion" |
| 26 | channelname = name of the channel, used to load the distortion- and blendmaps |
| 27 | renderimplementation = technique to distort. |
| 28 | Available options: |
| 29 | fbo : renderImplementation = osg::Camera::FRAME_BUFFER_OBJECT |
| 30 | pbuffer : renderImplementation = osg::Camera::PIXEL_BUFFER |
| 31 | pbuffer-rtt : renderImplementation = osg::Camera::PIXEL_BUFFER_RTT |
| 32 | fb : renderImplementation = osg::Camera::FRAME_BUFFER |
| 33 | window : renderImplementation = osg::Camera::SEPERATE_WINDOW |
| 34 | --> |
| 35 | <distortion channelname="center" renderimplemmentation="fbo" width="2048" height="2048" useshader="yes" hdr="yes" usetexturerectangle="no"></distortion> |
| 36 | <!-- optional: <distortionmap filename="distmap.png"></distortionmap> to set distortionmap independend from channel map--> |
| 37 | <!-- optional: <blendmap filename="blendmap.png"></blendmap> to set blendmap independend from channel map --> |
| 38 | </module> |
| 39 | |
| 40 | == Sky Silverlining == |
| 41 | Currently sky_silverlining has no module dependend configuration. It only allows to enable or disable the sky framework.[[br]] |
| 42 | The XML entry is: |
| 43 | {{{ |
| 44 | <module name="sky_silverlining" enabled="yes"></module> |
| 45 | }}} |
| 46 | |
| 47 | == Vista 2D == |
| 48 | The vista2D module works, but regarding to its architecture the usage in !OpenSceneGraph (and hence in osgVisual) is quite performance degrading. Nevertheless, for testing purposes or for prototype usage it is available. |
| 49 | |
| 50 | In the XML Entry, you have to specify the vista2D project file and the position and zoom factor it should use. To enable the animation you have to enable the attribude "playanimation". You can control the background of the vista2D project by en- or disable the attribute "paintBackground". |
| 51 | |
| 52 | {{{ |
| 53 | <module name="vista2d" enabled="yes"> |
| 54 | <vista2d filename="D:\osgVisual\osgVisual\bin\altimeterSimple.v" paintBackground="no" position_x="1" position_y="1" zoom="1.0" playanimation="yes"></vista2d> |
| 55 | </module> |
| 56 | }}} |