HI Xam,

When setting up the GraphicsWindow you pass in a
GraphicsContext::Traits object, this has a field vsync that defaults
to true.

The other route would be to use putenv() in your app if you want to
use env vars to control the driver.

Robert.


On Tue, Jan 13, 2009 at 7:00 PM, Xam <[email protected]> wrote:
> Is there any way to disable VSYNC inside OSG?
>
> I need a way to enable and disable vsync on my program with out using the 
> nvidia driver override or environmental variables. The Nvidia Driver settings 
> for Vsync should be set to "Use the 3D application setting"
> I seem to remember that i was able to do that in previous versions of OSG 
> when i was still using producer, I remember getting fps in the hundreds, but 
> now i only get what ever my screen refresh rate is. After the removal of 
> producer, i lost the ability to have vsync control.
>
> Any help would be appreciated,
>
> MS
>
> ------------------
> Read this topic online here:
> http://osgforum.tevs.eu/viewtopic.php?p=4528#4528
>
>
>
>
>
> _______________________________________________
> 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