Home »
Public Forums »
archive »
Re: Problem with z-buffering using IDLgrPolygon
Re: Problem with z-buffering using IDLgrPolygon [message #30392] |
Fri, 26 April 2002 08:51 |
Karl Schultz
Messages: 341 Registered: October 1999
|
Senior Member |
|
|
"Mira Michelle Raman" <ramanm@ninds.nih.gov> wrote in message
news:3CC9A3DD.A3511B3E@ninds.nih.gov...
> Hi,
> I am trying to write a program in which an IDLgrVolume and an
IDLgrPolygon are displayed such that the polygon appears to wrap around the
volume, and when the polygon is moved, the lines and
> vertices obstructed by the volume should become hidden. The problem I am
having is that the vertices that should be hidden are visible, making it
appear as if the polygon is out in front of the
> volume. The following example program illustrates my problem. (The left
mouse button drags the polygon and the right button drags volume & polygon
together). Any suggestions would be greatly
> appreciated.
> -Mira
All you have to do is specify the ZBUFFER keyword on IDLgrVolume.
Otherwise, IDLgrVolume does not modify the Z buffer.
Karl
|
|
|
Current Time: Wed Oct 08 14:56:00 PDT 2025
Total time taken to generate the page: 0.00430 seconds