BTW, be aware of the convertToOrtho() and convertToPerspective() calls.
-don
On 9/7/06, Michael Polak <[EMAIL PROTECTED]> wrote:
Hi all,
I would like to toggle between perspective and orthographic
viewing modes in my application. I am using osgProducer and
use the camera functions 'setLensPerspective' and
'setLensOrtho' to get the job done. I expected the
trackball zoom functionality to work for the ortho mode like
it does for the perspective mode but it doesn't. Instead,
it appears that a clipping plane is moving and just cutting
away geometry.
The scene itself does not get moved closer or farther at
all. Panning and rotation work correctly.
Is this a bug or am I not doing something correctly?
Thanks,
Michael
----------------------------------------
Upgrade your account today for increased storage; mail
forwarding or POP enabled e-mail with automatic virus
scanning. Visit our member benefits page at
https://members.canada.com/benefits.aspx for more
information.
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/
_______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
