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.

Robert.

On 9/27/07, Carlos Zoido <[EMAIL PROTECTED]> 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
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to