RE: Z buffer problems drawing solid and wireframe geometry

New Message Reply Date view Thread view Subject view Author view

From: Skluzacek, Christian (C.Skluzacek++at++fokkerspace.nl)
Date: 08/10/2001 08:14:02


Hi Simon,
This sounds like the "Scribe" style of drawing from perfly but you probably
want it for part of the scene. Have you looked at style.c in the pfutil
source code? Maybe you could wrap the appropriate parts of
pfuPreDrawStyle(PFUSTYLE_SCRIBED) and pfuPostDrawStyle() as node traversal
callbacks around your geometry or something.

Chris

> ----------
> From: Simon C Mills[SMTP:simon++at++wgs.estec.esa.nl]
> Sent: Friday, 10 August, 2001 14:59
> To: info-performer++at++sgi.com
> Subject: Z buffer problems drawing solid and wireframe geometry
>
> Hi, maybe someone can help me with this one.
>
> To represent some phyiscal attributes, I'm adding to my scene some
> geometry (cones, pyramids, etc) that I want to draw as filled geometry
> with transparency and/or a wireframe geometry. OK, when just solid *or*
> wireframe - they are pfGeoSets with triangles/quads or lines. When both
> are drawn I get Z buffer fighting so the lines "twinkle" and don't look
> nice. Can I have the lines drawn on top of the solid but still doing
> correct Z buffer with the rest of the scene?
>
> It would seem that some forms of highlighting (pfHighlight) can do this
> so I'm looking for a similar method. pfLayers or pfDecal perhaps?
>
> Simon
>


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Fri Aug 10 2001 - 08:13:09 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.