Changeset 205 for osgVisual/trunk/bin
- Timestamp:
- Jan 24, 2011, 9:10:14 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
osgVisual/trunk/bin/osgVisualConfig.xml
r204 r205 41 41 <animationpath filename="salzburg.path"></animationpath> 42 42 <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. 46 45 - label: text to label the model with. 47 - dynamic: Add an standard updater to the model. todo48 - position: Po isition to place the model49 - attitude: Orientation to place the model46 - 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 50 49 - 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. 53 54 --> 54 <model filename="cessna.osg" type="plain" label="TestText!" dynamic="yes">55 <model objectname="TestObject" label="TestText!" dynamic="yes"> 55 56 <position lat="47.12345" lon="11.234567" alt="1500.0"></position> 56 57 <attitude rot_x="0.0" rot_y="0.0" rot_z="0.0"></attitude> 57 58 <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> 60 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>65 61 <cameraoffset> 66 62 <translation trans_x="0.0" trans_y="0.0" trans_z="0.0"></translation> 67 63 <rotation rot_x="0.0" rot_y="0.0" rot_z="0.0"></rotation> 68 64 </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> 69 69 </model> 70 70 </models>
Note: See TracChangeset
for help on using the changeset viewer.