Hi Shane,

On 9/6/06, Rogers, Shane <[EMAIL PROTECTED]> wrote:
Robert,
 
I am not even running with vsync, what does vsync do?  Also how do I trun it off and on?
 
Thanks,


vsync is the syncronization of the swap buffers with the screen refresh.  How to turn it on/off depends entirely on the platform and drivers you are using.

Under Linux you can use nvidia-settings tool, click on the  "OpenGL Setting" option, then toggle on the "Sync to VBlank" option.

Alternatively, and this is what I do, is enable it via an env var:  To switch on vsync:

  export __GL_SYNC_TO_VBLANK=1

To switch off

  export __GL_SYNC_TO_VBLANK=0

I just stick it in my .bashrc.

Robert.





_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to