[osg-users] Is it possible to get a fixed constant framerate in OSG?

Robert Osfield robert.osfield at gmail.com
Thu Sep 27 03:01:15 PDT 2007

Hi Carlos,

There is no function in the OSG for setting the target frame rate.

You own application has control over the dispatch of viewer.frame()
(unless you call viewer.run())  so you can decide yourself if your app
is ready to commence the next frame.


On 9/27/07, Carlos Zoido <mrgalleta at gmail.com> wrote:
> Hi all!,
> Does anyone know if it's possible to controll the application
> framerate in any way ?
> We have now V-sync on and if for example we have a refresh frequency
> of 72Hz and the framerate is during all the execution of the
> application over 40fps we'd like to now if there's any function in OSG
> 2.0 so that we can fix the framerate constant to 36fps (for example).
> Thanks a lot,
> Carlos.
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

More information about the osg-users mailing list