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: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] 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
[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

Reply via email to