Hi Many, You wouldn't limit the framerate of an osg::Camera, but you might limit the frame rate of a Viewer. The way to do this right now is to change the frame loop such the frame dispatch happens are a controlled time. i.e.
while (!viewer.done()) { myWaitTillNextFrameShoudlBegin(); viewer.frame(); } Robert. On 6/1/07, Emmanuel Roche <[EMAIL PROTECTED]> wrote:
Hello there, has someone already try to limit the framerate for a given osg::Camera ? In fact, just starting to use OSG 1.9, I would like to build a window with multiple "Camera" on the same openGl context, but with different refresh rate... is this possible ? and what would be the better starting point ? an osgCompositeViewer or and ordinary osgViewer is enough ? thanks for your help ! Manu. _______________________________________________ osg-users mailing list osg-users@openscenegraph.net http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
_______________________________________________ osg-users mailing list osg-users@openscenegraph.net http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/