Unfortunately no, I did not disable depth test for this pyramid.

On 2/8/07, Robert Osfield <[EMAIL PROTECTED]> wrote:

HI Jason,

Did you disable depth test for this pyramid?  If so don't this is why
you can see it through the terrain.

Robert.

On 2/7/07, Jason <[EMAIL PROTECTED]> wrote:
> Attached file: help.JPG
>
> Here is the terrain and my pyramid. The tip of the pyramid is actually
near
> the center of the terrain, but as you can see in the picture it looks as
if
> it's off to the side of it. I want the terrain to clip the pyramid so
that
> only the portion above ground is showing.
>
>
>
> On 2/7/07, Robert Osfield <[EMAIL PROTECTED]> wrote:
> > Screen shot please :-)
> >
> > On 2/7/07, Jason <[EMAIL PROTECTED] > wrote:
> > > I am using my own SceneView rather than using osgViewer. I have a
flat
> > > terrain. Above the terrain I have an aircraft. The aircraft has a
> sensor. I
> > > represent the sensor as a four sided pyramid with the tip of the
pyramid
> at
> > > the same location as the aircraft. The sensor is angled downwards so
> that
> > > the base of the pyramid is extending through the terrain. If I point
the
> > > camera to sit at the tip of the pyramid, I can see the base of the
> pyramid
> > > through the terrain, even though the the pyramid is going through
the
> > > terrain. I expect the base of the pyramid to be clipped by the
terrain.
> > >
> > >
> > > On 2/7/07, Robert Osfield < [EMAIL PROTECTED] > wrote:
> > > > Hi Jason,
> > > >
> > > > You haven't really provided enough information about how you are
> > > > setting up your seen, or what results your are getting, or what
the
> > > > results should look like.  Without knowing more there's no way to
know
> > > > what might be up or what exactly you are expecting.
> > > >
> > > > Robert.
> > > >
> > > > On 2/7/07, Jason < [EMAIL PROTECTED]> wrote:
> > > > > Hey,
> > > > >
> > > > >  I have a pyramid shaped geometry with an alpha of 0.5 that at
some
> > > point
> > > > > can be angled downwards so that it extends through the terrain
below
> it.
> > > The
> > > > > problem I am having is that I want the terrain to cut off the
> geometry
> > > at
> > > > > the terrain level. Right now, the behavior that it displays is
that
> I
> > > can
> > > > > see the entire pyramid when I angle the camera above it and am
> looking
> > > > > downward. Any help would be appreciated.
> > > > >
> > > > >  Thanks,
> > > > >  Jason
> > > > >
> > > > > _______________________________________________
> > > > > osg-users mailing list
> > > > > [email protected]
> > > > >
> http://openscenegraph.net/mailman/listinfo/osg-users
> > > > > http://www.openscenegraph.org/
> > > > >
> > > > _______________________________________________
> > > > osg-users mailing list
> > > > [email protected]
> > > > http://openscenegraph.net/mailman/listinfo/osg-users
> > > > http://www.openscenegraph.org/
> > > >
> > >
> > >
> > > _______________________________________________
> > > osg-users mailing list
> > > [email protected]
> > > http://openscenegraph.net/mailman/listinfo/osg-users
> > > http://www.openscenegraph.org/
> > >
> > _______________________________________________
> > osg-users mailing list
> > [email protected]
> > http://openscenegraph.net/mailman/listinfo/osg-users
> > http://www.openscenegraph.org/
> >
>
>
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://openscenegraph.net/mailman/listinfo/osg-users
> http://www.openscenegraph.org/
>
>
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to