| Hi, I was using osg 0.9.9 and somewhere in my code I had this : void ViewerSimu::setTracker(Node* n) { m_tm->setTrackerMode( osgGA::NodeTrackerManipulator::NODE_CENTER); m_tm->setRotationMode( osgGA::NodeTrackerManipulator::ELEVATION_AZIM ); m_tm->setTrackNode(n); unsigned int num = addCameraManipulator(m_tm); selectCameraManipulator( num ); } This was working well in OSG 0.9.9 building with GCC 3.2 : I set up an event handler that called this function when I hit the 'v' key. I built my app from the very same code using OSG 1.0 and GCC 4 and now nothing works fine when I hit the 'v' key. At first I thought that this came from the fact that I was building my application on a mac, but I just tried building it under a PC with Fedora Core 5 and GCC 4.1.0 and using OSG 1.0, .. I have exactly the same issue. Am I restricted to initializing my NodeTrackerManipulators before calling the realize() function of the Viewer ? In this case I will only be able to add trackers for existing nodes at init time... |
_______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
