[osg-users] A question about zooming with orthographicprojection
Paul Martz
pmartz at skew-matrix.com
Tue Mar 18 18:57:18 PDT 2008
Agreed; this works. In perspective, you zoom bu changing the field of view;
in ortho you can achieve the same zoom effect by altering the
left/right/bottom/top to display a larger/smaller view volume.
-Paul
_____
From: osg-users-bounces at lists.openscenegraph.org
[mailto:osg-users-bounces at lists.openscenegraph.org] On Behalf Of Daniel Moos
Sent: Tuesday, March 18, 2008 1:06 PM
To: OpenSceneGraph Users
Subject: Re: [osg-users] A question about zooming with
orthographicprojection
Hi Ke Li
You can implement a zooming functionality with the camera function
setProjectionMatrixAsOrtho(...)
We also use a orthographic projection in 3d. And we implement our zoom with
this nice function.
I hope this will help...
Have a nice evening!
Daniel Moos
Am 18.03.2008 um 19:55 schrieb Ke Li:
Dear all,
In the following post, Robert said that orthographic projection should be
avoided.
http://thread.gmane.org/gmane.comp.graphics.openscenegraph.user/7660/focus=7
664
But I know that some OpenGL applications do use orthographic projection with
zooming functionality. So I'm a little confused.
Can any one give me some enlightenment?
Thanks!
Ke Li
_____
Connect and share in new ways with Windows Live. Get it now!
<http://www.windowslive.com/share.html?ocid=TXT_TAGHM_Wave2_sharelife_012008
> _______________________________________________
osg-users mailing list
osg-users at lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20080318/046a99f9/attachment.html
More information about the osg-users
mailing list