Ignore:
Timestamp:
Jan 24, 2011, 9:10:14 PM (13 years ago)
Author:
Torben Dannhauer
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • osgVisual/trunk/bin/osgVisualConfig.xml

    r204 r205  
    4141    <animationpath filename="salzburg.path"></animationpath>
    4242    <models>
    43       <!-- Models can be loaded and placed in the scenerey.
    44         - filename: 3D model to load. Leave empty to use model without 3D model.
    45         - type: [plain] ? todo
     43      <!-- Models can be loaded and placed in the scenery.
     44        - objectname: Name of the object to identify it in the scenegraph.
    4645        - label: text to label the model with.
    47         - dynamic: Add an standard updater to the model. todo
    48         - position: Poisition to place the model
    49         - attitude: Orientation to place the model
     46        - dynamic: "yes" to add an standard updater to the model.
     47        - position: Position to place the model
     48        - attitude: Orientation in degree to place the model
    5049        - updater [optional]: Channels to use for position and attitude update
    51         - modeloffset [optional]: Offset for the loaded 3D model to the visual_object (if the 3D model has a wrong coordinate frame)
    52         - cameraoffset [optional]: Offset for the object mounted camera manipulator to the visual_object   
     50        - cameraoffset [optional]: Rotational (in degree) and translational offset for the object mounted camera manipulator to the visual_object   
     51        - Geometry [optional]: 3D model to display. Leave empty to use model without 3D model.
     52        - Geometryoffset [optional]: Rotational offset (in degree) for the loaded 3D model to the visual_object (if the 3D model has a wrong coordinate frame)
     53        - Geometryscale [optional]: Scale factors for the loaded 3D model in all three dimensions.
    5354      -->
    54       <model filename="cessna.osg" type="plain" label="TestText!" dynamic="yes">
     55      <model objectname="TestObject" label="TestText!" dynamic="yes">
    5556        <position lat="47.12345" lon="11.234567" alt="1500.0"></position>
    5657        <attitude rot_x="0.0" rot_y="0.0" rot_z="0.0"></attitude>
    5758        <updater>
    58           <position lat="channelXYZ" lon="channelXYZ" alt="channelXYZ"></position>
    59           <attitude rot_x="channelXYZ" rot_y="channelXYZ" rot_z="channelXYZ"></attitude>
     59          <translation-slots>todo</translation-slots>
    6060        </updater>
    61         <modeloffset>
    62           <translation trans_x="0.0" trans_y="0.0" trans_z="0.0"></translation>
    63           <rotation rot_x="0.0" rot_y="0.0" rot_z="0.0"></rotation>
    64         </modeloffset>
    6561        <cameraoffset>
    6662          <translation trans_x="0.0" trans_y="0.0" trans_z="0.0"></translation>
    6763          <rotation rot_x="0.0" rot_y="0.0" rot_z="0.0"></rotation>
    6864        </cameraoffset>
     65        <geometry filename="cessna">
     66          <offset rot_x="0.0" rot_y="0.0" rot_z="0.0"></offset>
     67          <scalefactor scale_x="1.0" scale_y="1.0" scale_z="1.0"></scalefactor>
     68        </geometry>
    6969      </model>
    7070    </models>
Note: See TracChangeset for help on using the changeset viewer.