OSG Defaults to what call a Perspective projection see osg::Camera::setProjectionMatrixAsPerspective Look around the example for Orthographic ( this is you parallel projection ) see osg::Camera::setProjectionMatrixAsOrtho( ..... ) http://www.vis-sim.com/imgdp/vp_chanprojections_01.jpg sysmmetric = OSG asPersepective asysmmetric = OSG asFrustum Orthographic = OSG asOrtho
Gordon __________________________________________________________ Gordon Tomlinson Product Manager 3D Email : gtomlinson @ overwatch.textron.com __________________________________________________________ (C): (+1) 571-265-2612 (W): (+1) 703-437-7651 "Self defence is not a function of learning tricks but is a function of how quickly and intensely one can arouse one's instinct for survival" - Master Tambo Tetsura ________________________________ From: osg-users-boun...@lists.openscenegraph.org [mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Renan Mendes Sent: Tuesday, January 13, 2009 3:41 PM To: OSG Mailing List Subject: [osg-users] Conical and Parallel Projections Hi, I'd like to know if there was a way to change the default projection in OSG. By default the view uses conical projection, but in some situations I'd need a parallel projection. How can I do that? Thanks, Renan
_______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org