You can use a Camera update callback to repeatedly set the aspect ratio in the
Camera projection matrix.
-Paul
On 1/21/2013 8:14 AM, Ethan Fahy wrote:
Hello,
Is there any way to set up an osgViewer::Viewer with a locked aspect ratio that
still allows the user to adjust the window size by dragging the bottom-right
corner of the view window?
Thanks,
-Ethan
------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=52054#52054
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org