Hello,

im having problems resizing the screen.

I start up a osgViewer::Viewer, with a menu scene for the user to select a
proper resolution before simulation starts.
When the user presses "start" in the menu, i set the done flag to true (to
escape the main loop), resize the screen (if necessary), set scene data with
a loader, setup the viewport with the resolution, and adjust the modelview
for the given aspect ratio, and set the done flag to false and enterin again
in the loop (viewer->frame()).

To resize im using the osg::GraphicsContext::WindowingSystemInterface. Which
works fine. The problem is the output i get whenever i choose a different
resolution than the one im using:

http://img180.imageshack.us/my.php?image=artifactsafterresizepm1.png



What is happening ? Am i forgeting something ?

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

Reply via email to