Hi all.
I have a strange behavior when I let OSG update the near and far clipping
planes during drawing.
When I use a perspective projection, and I move the camera inside the model
(I mean, inside the global

bounding sphere of the model), the near clipping plane is placed very near
to the camera, so to clip

as few objects as possible. I like this behavior, and I would like to use it
also for Orthogonal projections.
But in that case, when I move the camera into the model, the near clipping
plane becomes negative,
so the viewing volume includes always the whole model. And I don't like this
now.

Is this the right behavior, or did I miss something/make some mistake?
If this is the way it works for orthogonal projections, is there a way to
make it work like perspective one?

 

Thanks in advance.

Gianluca Natale

 

_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to