Changeset 364
- Timestamp:
- Apr 23, 2012, 10:39:45 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
osgVisual/trunk/src/core/visual_core.cpp
r324 r364 53 53 54 54 // Setup pathes 55 osgDB::Registry::instance()->getDataFilePathList().push_front("H:\AllInOnDB"); 55 56 osgDB::Registry::instance()->getDataFilePathList().push_back( "D:\\DA\\osgVisual\\models" ); 57 56 58 57 59 // Setup viewer … … 215 217 216 218 // terrain is parsend seperately 217 // animationpath is parsend seperately 219 // animationpath is parsend seperately in util::getAnimationPathFromXMLConfig(..) which invokes this function. 218 220 219 221 if(cur_node->type == XML_ELEMENT_NODE && node_name == "models") … … 404 406 //testObj3->setTrackingId(4); 405 407 406 osg::ref_ptr<visual_object> testObj4 = new visual_object( rootNode, "SAENGER2" ); // todo memleak407 testObj4->setNewPosition( osg::DegreesToRadians(47.8123), osg::DegreesToRadians(12.94088), 650 );408 testObj4->loadGeometry( "../models/saenger2.flt" );409 testObj4->addUpdater( new object_updater(testObj4) );410 testObj4->addLabel("testLabel", "Object4 :)",osg::Vec4(1.0f,0.25f,1.0f,1.0f));411 testObj4->setTrackingId(2);408 //osg::ref_ptr<visual_object> testObj4 = new visual_object( rootNode, "SAENGER2" ); // todo memleak 409 //testObj4->setNewPosition( osg::DegreesToRadians(47.8123), osg::DegreesToRadians(12.94088), 650 ); 410 //testObj4->loadGeometry( "../models/saenger2.flt" ); 411 //testObj4->addUpdater( new object_updater(testObj4) ); 412 //testObj4->addLabel("testLabel", "Object4 :)",osg::Vec4(1.0f,0.25f,1.0f,1.0f)); 413 //testObj4->setTrackingId(2); 412 414 413 415 //osg::ref_ptr<visual_object> testObj5 = new visual_object( rootNode, "SAENGER" ); // todo memleak … … 418 420 //testObj5->setTrackingId(6); 419 421 420 manipulators->trackNode( testObj4 );422 //manipulators->trackNode( testObj4 ); 421 423 422 424 // Load EDDF
Note: See TracChangeset
for help on using the changeset viewer.