We specify the near & far planes manually and we don't have z-buffer
issues with models on the earth's surface. Perhaps you should select the
option DO_NOT_COMPUTE_NEAR_FAR for cull settings...

-Shayne

-----Original Message-----
From: osg-users-boun...@lists.openscenegraph.org
[mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Thrall,
Bryan
Sent: Friday, October 05, 2012 8:55 AM
To: OpenSceneGraph Users
Subject: Re: [osg-users] How can I get the viewer's camera to 'ignore'
anode's geometry?

Preet wrote on 2012-10-04: 
> Sorry if it wasn't clear; the items aren't being displayed because the

> near and far planes that osg sets creates a frustum that doesn't
include
> them. I need to manually set the near and far planes to see
everything.
> 
> The near and far planes that osg sets without the earth surface
geometry
> is fine. Once you add the surface geometry though, the near and far 
> planes are set such that the items are no long in the view frustum.

If the surface geometry is in view but the calculated frustum doesn't
contain it, then that sounds like a bug that should be investigated
further. Are you certain the frustum really doesn't contain the surface
geometry?

It seems more likely that the problem is with z buffer precision due to
the earth geometry pushing the far plane out so far that the surface
geometry is getting buried, as other people in the thread have
suggested.
--
Bryan Thrall
Principal Software Engineer
FlightSafety International
bryan.thr...@flightsafety.com


_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.or
g
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to