Hello,
I have a static scene that my program visualizes using a trackball
manipulator. I would like to update the rendering only when the camera
moves, that is the user moves it with the mouse or the camera is
spinning around. I am using a Qt wrapper so I know how to stop the
refresh by simply stopping the QTimer in there, and I also know how to
update upon user interaction since Qt gives very nice messages, what I
don't know is: how can I know if the trackball manipulator is making
my camera spinning around or not?
Maybe osgGA::TrackballManipulator::getRotation() encodes in some way
the rotation velocity? or it's just the current rotation of the
camera?

Thanks,
Michele
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to