Changes between Version 7 and Version 8 of XmlModuleConfiguration


Ignore:
Timestamp:
Feb 18, 2011, 5:41:29 PM (13 years ago)
Author:
Torben Dannhauer
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • XmlModuleConfiguration

    v7 v8  
    66
    77== Data In/Output ==
     8The central Data Input/Output module is the only module you cannot disable in osgVisual. The parameter "enabled" is ignored, because dataIO is mandatory for the visual system to place object etc.
     9
     10You have to define in which Network setup ("clusterrole") osgVisual should work:
     11 * master: In this role osgVisual recieves all relevant information via the extLink implementation and sends it via cluster implementation to the slave nodes.
     12 * slave: In this role osgVisual recieves all relevant rendering information via the cluster implementation.
     13 * standalone: In this role osgVisual recieves all relevant data via the extLink and renders it. No cluster functionality is used.
     14
     15You can subclass the cluster or extLink interface file to create your own cluster implementation (e.h. ethernet UDP based). Therefore you have to specify which implementation should be used.
     16Each implementation has it's own set of attributes you have to specify.
     17
     18The XML configuration is as followed:
    819{{{
    920#!xml
    1021<module name="dataio" enabled="yes">
    11   <!-- XML configuration of the module "dataIO"
    12       The parameter "enabled" is ignored, because dataIO is mandatory for the visual system to place object etc.
    13      
    14       Available clusterroles:
    15       master: This role recieves all relevant information via the extLink implementation and sends it via cluster implementation to the slave nodes.
    16       slave: This role recieves all relevant rendering information via the cluster implementation.
    17       standalone: This role recieves all relevant data via the extLink and renders it. No cluster functionality is used.   
    18   -->
    1922  <dataio clusterrole="standalone"></dataio>
    2023  <cluster implementation="enet" hardsync="yes" master_ip="10.10.10.10" port="1234" use_zlib_compressor="yes" ></cluster>
     
    2225</module>
    2326}}}
     27
     28=== cluster implementation 'enet' ===
     29To use the UDP based 'enet' implementation for osgVisual, you have to specify the network details (IP, port) and if you want eNet to use the zLib compressor to reduce the transfered data size.
     30The parameter hardsync is currently not in use (version 0.6)
     31{{{
     32#!xml
     33<cluster implementation="enet" hardsync="yes" master_ip="10.10.10.10" port="1234" use_zlib_compressor="yes" ></cluster>
     34}}}
     35
     36=== extLink implementation 'VCL' ===
     37To use the proprietary VCL implementation for osgVisual, you have to specify the VCL configuration file in the attribute "filename".
     38{{{
     39#!xml
     40<extlink implementation="vcl" filename="osgVisual.xml"></extlink>
     41}}}
     42
    2443
    2544== Distortion ==
     
    3554<module name="distortion" enabled="no">
    3655  <distortion channelname="center" renderimplemmentation="fbo" width="2048" height="2048" useshader="yes" hdr="yes" usetexturerectangle="no"></distortion>
    37   <!-- optional: <distortionmap filename="distmap.png"></distortionmap> to set distortionmap independend from channel map-->
    38   <!-- optional: <blendmap filename="blendmap.png"></blendmap> to set blendmap independend from channel map -->
    3956</module>
    4057}}}