Changes between Version 5 and Version 6 of XmlModelConfiguration


Ignore:
Timestamp:
Feb 18, 2011, 8:39:35 PM (13 years ago)
Author:
Torben Dannhauer
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • XmlModelConfiguration

    v5 v6  
    55= XML configuration of visual_object based models =
    66
    7 The complete XML Configuration of a visual_Object is:
     7To visualize models, you can place visual_objects in teh scenery.
     8you have to specify the object name (=osg::Node Name), the tracking ID to allow easy tracking of the objects (currently, extLinkVCL can only transport numbers, so tracking by name is not possible - therfor a tracking ID was introduced). You can add a text label to the object, which is attached to the object.
     9
     10The flag "dynamic" indicates if an updater should be created and added to the object. If no <updater> entry is found, this updater will be the default updater. Otherwise, the updater slots are reconfigured according to the XML values. If dynamic is "no", no updater class will be added, even if an updater is specified in the XML configuration section.
     11
     12The XML Configuration of a complete visual_Object is:
    813{{{
    914#!xml
    10 <!-- Models can be loaded and placed in the scenery.
    11    - objectname: Name of the object to identify it in the scenegraph.
    12    - tracking ID: ID to manage which object should be tracked
    13    - label: text to label the model with.
    14    - dynamic: "yes" to add an standard updater to the model.
    15 -->
    1615<model objectname="TestObject" trackingid="1" label="TestText!" dynamic="no">
    1716 <position lat="47.8123" lon="12.94088" alt="700.0"></position>
     
    5857
    5958== Camera Offset ==
    60 To use the "Object mounted" camera manipulator, you have to define for your what the camera coordinates relative to your visual_object are. You can define a rotational (in degree) und translational offset.
     59To use the "Object mounted" camera manipulator, you have to define what the camera coordinates relative to your visual_object are. You can define a rotational (in degree) und translational offset.
    6160
    6261The defition of the camera offset in the XML configuration file is: