El 22/11/2010 16:35, Robert Osfield escribió:
The OSG's osg::GraphicsContext::Traits data structure that is passed
to the osgViewer GraphicsWindow subsystem has a bool vsync that
defaults to true.  Under Windows and OSX there is support for enabling
vsync, but alas there isn't any such feature under GLX so Linux etc.
have to rely upon the driver to do it.
I have only developed a couple of applications with OSG, but in my experience the framerate has been always as high as possible under Windows. The only way activate vsync for the app is to manually instruct the drivers to do so. nVidia drivers let you specify that vsync can be chosen by the app, but osgViewer based apps don't do it.

I've searched the source code to see the effects of osg::GraphicsContext::Traits::vsync , and I've found that it's not used at all anywhere, it's just declared and initialized to true, but nothing more. I don't think that enabling vsync is implemented under Windows, I cannot tell about OSX.

Iñaki

El 22/11/2010 17:17, Louis Ixo escribió:
Hi Robert,

Great! Thank you very much for your explanation! Now, I'm understading many things about 
the fps "performace" difference between linux and windows.

Thank you again!

Cheers.

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=33936#33936





_______________________________________________
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