Thanks! I will try this way.
2008/4/14, Serge Lages <[EMAIL PROTECTED]>: > > Hi Emilio, > > I think the best way to achieve what you want is to render your scene > using two osg::Camera (two pass), first render your scene and then render > the object you want to be in the first plane. Each camera have it's own > near/far clip planes. > > Cheers, > > On Mon, Apr 14, 2008 at 3:06 PM, Emilio Lozano <[EMAIL PROTECTED]> wrote: > > > Hi Joachim, > > > > It's true, I can set the clipping plane nearer to me. But then I get > > z-fighting effects in my scene, due to loss of precision in depth buffer > > when near plane is close to 0.0 (and far plane has a high value due to the > > size of my landscape). > > > > Kind regards, > > Emilio. > > > > 2008/4/14, Joachim E. Vollrath <[EMAIL PROTECTED]>: > > > > > Hi Emilio, > > > > > > the near clipping plane defines the border between things that are "in > > > front" or "behind" you (resp. the camera). > > > > > > Since you cannot see what is behind you, I should expect that > > > deactivating the clipping will not accomplish what you're looking for. > > > > > > If you want to see more of the ship model you mentioned, perhaps > > > modifying the near clipping value accordingly might give the expected > > > results. > > > > > > Best, > > > Joachim > > > > > > -- > > > Joachim E. Vollrath > > > Visualisierungsinstitut der Universitaet Stuttgart (VISUS) > > > web: > > > http://www.vis.uni-stuttgart.de/~vollrajm/<http://www.vis.uni-stuttgart.de/%7Evollrajm/> > > > mail: [EMAIL PROTECTED] > > > phone: 49.711.7816.403 > > > fax: 49.711.7816.213 > > > > > > german postal address: > > > Dipl. Inf. Joachim E. Vollrath > > > Visualisierungsinstitut der Universitaet Stuttgart (VISUS) > > > Nobelstrasse 15 > > > 70569 Stuttgart > > > GERMANY > > > > > > _______________________________________________ > > > 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 > > > > > > > -- > Serge Lages > http://www.tharsis-software.com > _______________________________________________ > 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

