[osg-users] Culling problem

Vincent Bourdier vincent.bourdier at gmail.com
Tue Sep 16 07:24:17 PDT 2008

Hi Paul

It is exactly the problem.
I've done some tests with the depth test, and I'm sure that what you think
is the problem.
So now, how to solve it ? If I put "depth = new
osg::Depth(osg::Depth::ALWAYS, 0.0, 1.0);" My plane are always visible, but
nothing can hide them (mountains for example...)

Any suggestion or Idea ?



2008/9/16 Paul Martz <pmartz at skew-matrix.com>

>  If the polygons are very close to the ground and your eye is quite
> distant, then it sounds like it's losing the depth test.
>    -Paul
>  ------------------------------
> *From:* osg-users-bounces at lists.openscenegraph.org [mailto:
> osg-users-bounces at lists.openscenegraph.org] *On Behalf Of *Vincent
> Bourdier
> *Sent:* Tuesday, September 16, 2008 5:22 AM
> *To:* osg
> *Subject:* [osg-users] Culling problem
>  Hi all,
> I have a strange problem : Nodes are moving (PAT->LOD->Node.ive) depending
> on a PAT and all the PATs have the same group for parent.
> Theses nodes (planes) have the ground under them but, sometimes the planes
> are hidden under the ground.
> It happens when the camera it on a top-position (not side or face ) of the
> planes and it depend on the point looked by the camera. Just modifying
> camera's orientation make then appear.
> If the camera if near of the plane nothing happen.
> I have checked Z position, but it do not changed anormaly. I only see a
> culling problem to have this problem.
> Do you have already encountered something similar ?
> How to solve this problem ?
> See attached files to understand better what it looks like.
> thanks,
> Regards
> Vincent.
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20080916/b8aea818/attachment-0003.htm>

More information about the osg-users mailing list