Changeset 204
- Timestamp:
- Jan 21, 2011, 10:48:18 PM (14 years ago)
- Location:
- osgVisual/trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
osgVisual/trunk/bin/osgVisualConfig.xml
r202 r204 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 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 --> 43 54 <model filename="cessna.osg" type="plain" label="TestText!" dynamic="yes"> 44 55 <position lat="47.12345" lon="11.234567" alt="1500.0"></position> 45 56 <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> 46 65 <cameraoffset> 47 66 <translation trans_x="0.0" trans_y="0.0" trans_z="0.0"></translation> -
osgVisual/trunk/src/core/visual_core.cpp
r203 r204 456 456 457 457 458 // Sky settings:459 if(sky.valid())460 {461 462 }463 464 465 458 //testObj = new visual_object( rootNode, "testStab", objectMountedCameraManip ); 466 459 //testObj->setNewPosition( osg::DegreesToRadians(47.7123), osg::DegreesToRadians(12.84088), 600 ); -
osgVisual/trunk/src/object/visual_object.cpp
r203 r204 74 74 //osg::ref<visual_object> object = new visual_object( root, nodeName); 75 75 76 std::string filename="", type 76 77 77 78 /*
Note: See TracChangeset
for help on using the changeset viewer.