Hi Paul,

Zooming in with orthographic projection is a whole can of worms that
have nothing to do with API's but with fundamental problems of using
orthographic projections for pseudo 3D views.

When you try and mimic perspective views with orthographic you'll
quickly hit up against problems with clipping the near and far
elements of the scene, it won't seem natural so you'll try and fudge
things by shifting the near plane to behind the users, but still this
won't seem natural so you'll go endlessly around in circles making
yourself go mad.

So before you go mad trying to make a orthographic projection behave
sensible like perspective view STOP DON'T DO IT!! ;-)

The best use of orthographic projects is in 2D views of scene where
the viewer is entirely out with the scene, never zoom into the scene -
the exception to this is doing 2D zoom in its sections of map views
etc.  For full 3D navigation *always* use perspective.

Hope this helps,
Robert.

On 11/27/06, Paul Cummings <[EMAIL PROTECTED]> wrote:


Hi, my name is Paul and this is my first post to the list.
I have a camera lense I'm using from the Producer library
(Producer::Camera).

When I zoom the camera in I make the call below:


GetCamera()->getLens()->convertToOrtho(m_OrthoProjectionValue);

where m_OrthoProjectionValue is a changing floating point value (distance).

The problem is when I get close, my objects seem to cull out very early
compared to a projection matrix.

I've also set the near clipping plane to zero which doesn't seem to do
anything.

Any ideas?

Paul


--
 Internal Virus Database is out-of-date.
 Checked by AVG Free Edition.
 Version: 7.5.430 / Virus Database: 268.14.4/532 - Release Date: 11/13/2006
3:08 PM

_______________________________________________
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/

Reply via email to