Jump to content

New IG Views defined in ig_config.xml


photo

Recommended Posts

Posted

It would be great if you could also define the views in the ig_config.xml file.  Something along the lines like the default views.def in HEMU3.  Example of possible xml configuration below.  Then you could change the view on the slave machines simply by changing the view_id value under the cigi_connector for each of the ig's.

<?xml version="1.0" encoding="utf-8"?>
<ig_config>
<!-- ========================================= -->
    <cigi_connector>
        <version>3.3</version>
        <host>127.0.0.1</host>
        <send_port>8889</send_port>
        <recv_port>8888</recv_port>
        <view_id>0</view_id>
    </cigi_connector>

<!-- ========================================= -->

<views>

 <view>

    <view group = "1"  id = "1" view_name="Front"/>

    <setDefinition top = "30" bottom = "-30" left = "-60" right = "60" near = "0.1" far = "100000" />

    <setRotation x = "0.0" y = "0.0" z = "0.0" />

  </view>

</views>
<!-- ========================================= -->
    <databases>
        <database id="1" world_name="IG_2_7_3"/>
        <database id="2" world_name="IG_2_7_3"/>
        <database id="3" world_name="IG_2_7_3"/>
    </databases>
<!-- ========================================= -->

Posted

Thanks for the good idea!
This is really cool, but at the moment IG views have some conflicts with the Syncker Projection Configuration. We are thinking about how to do this correctly for next version.

×
×
  • Create New...