Hi there, I am after a way to get the window resolution - when the OSG application starts fullscreen, there is no way of knowing what resolution the window will be displayed in.
The application I am working on currently has hard-coded values for a windowed-mode window, although now I would like to swap out these hard-coded values for variables. I am setting the resolution with the function osgViewer::Viewer::setUpViewInWindow() is there a way to get the resolution from osgViewer as well? Or looking through some documentation, there is: osg::GraphicsContext::GraphicsContext::WindowingSystemInterface::getScreenResolution() but this function requires I give it a 'screen identifier', which I don't know how to get. Any ideas? Thanks, Simon ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=42641#42641 _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

