Brian Furtaw (brian++at++sgi.com)
Mon, 29 Nov 1999 21:59:49 -0500
There a several ways to fix your problem, some good methods are handled
within the pfLayer node. Make the transparent water plane pfGeode the
first child node (or "base" ) of the pfLayer node and the shore polygons
pfGeode the second child ( or "decals" ). Depending on the pfLayer mode
node it will either use polygon offset or a stenciling technique.
Brian
Larry Ramey wrote:
>
> I have a problem that needs a quick hack before ITSEC (read today).
>
> I have a 3D surface that represents bathymetry. It has one transparent
> value (missing data) so I believe it is stuck in the transparent bin. (I
> THINK) Then I have a 2D plane that represents the water surface.... it
> cuts through the 3D surface. At the shore I get polygons popping on top
> of each other then behind each other.... very visually disconcerting,
> especially in a CAVE.
>
> Anyone got a quick hack? (This is old code, so I don't care if it
> involves three typecasts and some assembly followed by 2 macros) When I
> understand the hack I will sit down and really fix the problem.
> ---------------------------------------------------------------
> Larry E. Ramey ramey++at++ccpo.odu.edu
> 757-683-3439 (CAVE) 757-683-5335 (VEL Lab)
> "I eat weirder things than you in my cereal" - Zaphod Bebblebrox
> "Can't talk to a Psycho like a normal human being" - Poe
> -----------------------------------------------------------------------
> List Archives, FAQ, FTP: http://www.sgi.com/software/performer/
> Submissions: info-performer++at++sgi.com
> Admin. requests: info-performer-request++at++sgi.com
--
----oOOo---- ----oOOo---- ----oOOo---- ----oOOo----
Brian Furtaw (brian++at++sgi.com)
Graphics Guru Office:(301)572-3293 Fax: (301)572-3280
12200-G Plum Orchard Drive OpenGL/Performer/OpenInventor/ImageVision
Silver Spring, Maryland 20904 Optimizer/React/PCI Device Drivers
This archive was generated by hypermail 2.0b2 on Mon Nov 29 1999 - 19:12:43 PST