Ignore:
Timestamp:
Jan 21, 2011, 10:48:18 PM (13 years ago)
Author:
Torben Dannhauer
Message:
 
File:
1 edited

Legend:

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

    r202 r204  
    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
     46        - 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
     50        - 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   
     53      -->
    4354      <model filename="cessna.osg" type="plain" label="TestText!" dynamic="yes">
    4455        <position lat="47.12345" lon="11.234567" alt="1500.0"></position>
    4556        <attitude rot_x="0.0" rot_y="0.0" rot_z="0.0"></attitude>
     57        <updater>
     58          <position lat="channelXYZ" lon="channelXYZ" alt="channelXYZ"></position>
     59          <attitude rot_x="channelXYZ" rot_y="channelXYZ" rot_z="channelXYZ"></attitude>
     60        </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>
    4665        <cameraoffset>
    4766          <translation trans_x="0.0" trans_y="0.0" trans_z="0.0"></translation>
Note: See TracChangeset for help on using the changeset viewer.