I am confused by your post. You set the scheme to on demand, then change it right back to continuous, essentially doing nothing. But then you call setRunMaxFrameRate, which I do not even see as being an osgViewer function.
We do the traversals manually to control our frame rate. -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Kenn Sebesta Sent: Sunday, December 09, 2012 12:04 AM To: [email protected] Subject: Re: [osg-users] [forum] Throttling OSG zonk wrote: > you could change the frame scheme from CONTINUOUS to ON_DEMAND. > Or look into viewers run() function and perform the different traversal calls per frame manually. > Yes, that was exactly it: viewer->setRunFrameScheme(osgViewer::ViewerBase::ON_DEMAND); viewer->setRunFrameScheme(osgViewer::ViewerBase::CONTINUOUS); viewer->setRunMaxFrameRate(double fps); ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=51483#51483 _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.or g _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

