Thanks Robert. -----Messaggio originale----- Da: [email protected] [mailto:[email protected]] Per conto di Robert Osfield Inviato: martedì 31 maggio 2011 12:04 A: OpenSceneGraph Users Oggetto: Re: [osg-users] R: R: about the front clipping plane
Hi Gianluca, On Tue, May 31, 2011 at 10:58 AM, Gianluca Natale <[email protected]> wrote: > The front and back clipping planes are updated by OSG during the cull > traversal, > based upon the bounding volumes of all the objects in the scene. > What happens if the farthest object (WRT the eye position) in the scene is > out of the viewing volume? > Is it still taken into count to determine the far clipping plane, or is it > excluded since out > of the frustum? > > Same question for the nearest object. If out the viewing volume, is it > ignored for computing the near clipping plane? If the a drawables bounding box intersections with the view frustum then it will be treated as though the whole object intersections and the computation of the near/far planes will use it whole extents. Drawables that a completely outside the view frustum will be culled and won't take any part in the computation of the near/far planes. Robert. _______________________________________________ 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

