It's logic is simple: it pauses for the necessary period of time to achieve
lower FPS. You can easily take the code from run(), it's about 1-2 lines
total.
2013/6/3 Kim JongBum
> i found
>
> viewer.setRunMaxFrameRate(20);
>
> i found that They are only available when using the run() method.
>
>
i found
viewer.setRunMaxFrameRate(20);
i found that They are only available when using the run() method.
but for our program we use frame() method.
is there way i could use the method with frame()?
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p
Hi Kim,
I don't think that there is "a library".
Personally I think there are two options.
1. See if your driver can do it via vsync. Newer Nvidia drivers for
instance allow you to sync to half of the refresh rate.
2. Lock it yourself by issuing the viewer.frame() in the right moment.
In order
Hi,
i m wondering is it possible to lock(maintatin) the frame rate?
i mean that
we can see the frame rate on the viewer if we press 's'.
then i can see the frame rate is around 60 but
i would like to lock the frame rate aroud 30
is there some osg library for that?
Thanks in advance
Cheers,
4 matches
Mail list logo