Hi, Ron What meaning would have BOTH option?
Each of HORIZONTAL and VERTICAL keep your projection aspect ratio same as window aspect ratio, difference is which one of horizontal fow or vertical fow they keep constant ( other is changed to match window aspect ratio ). Cheers, Sergey. 09.08.2012, 23:32, "Ron Mayer" <[email protected]>: > Hello everybody, > > I would like my camera's projection matrix to change both horizontally and > vertically when the window is re-sized. > [The reason for this is because I want my frustum's aspect ratio to match the > window aspect ratio so the objects do not get distorted when re-sizing] > > I noticed osg::Camera::setProjectionResizePolicy can do only FIXED (none), > HORIZONTAL, or VERTICAL. > > Is there a reason why there is no "BOTH" option? I am about to write my own > Resized callback, and I imagined there might be a reason for not having this. > > Thanks! > Ron > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=49217#49217 > > _______________________________________________ > 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

