Hi Hugo,

Hugo Gomes schrieb:
> Hello, i'm new to osg, and i've been building some basic scenes to learn
> about it. Yet i haven't been able to change the screen resolution when in
> fullscreen mode. I'm using a CompositeViewer in a main class, and a Viewer
> in each scene, is there a simple way to change it without changing to SDL or
> some other lib ? What about screen refresh rate, is it also possible to
> change it using the CompositeViewer ?

check the methods of the osg::GraphicsContext::WindowingSystemInterface
struct. It provides the functionality (setScreenResolution,
setScreenRefreshRate) you requested, and it works with OS X, Win 32 and
as far as I know Linux.

HTH,
Stephan
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to