Hi Daniel,
Carsten Neumann wrote:
> Hello Daniel,
>
> Daniel Wickeroth wrote:
>> is there a way to tell OpenSG not to render more than a certain number
>> of frames per second? We do not want to use up all the CPU
>> Performance, hence our wish to limit the framerate. Or do we need to
>> do that ourserlves in our application?
>
> you'd have to do that yourself, as OpenSG does not run its own render
> loop, it only draws a single image when it is being told to do so ;)
That's generally true, OpenSG doesn't provide functionality for that (most
people need to run as fast as possible, which is usually not fast enough ;).
That said, there is an OpenGL (or rather GLX) extension that will do it for
you:
GLX_SGI_swap_control. It is supported on current nVidia drivers on Linux, not
sure about Windows.
Hope it helps
Dirk
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users