Avi Bar-Zeev (cyranose++at++realityprime.com)
Wed, 20 Jan 1999 14:08:33 -0800
Couple of things. This sounds very much like the highlighting
rendering mode that Performer already supports. Take a look at
the pfGeoSet and pfGeoState man pages for highlighting (among
others) as a potentially big timesaver.
Second, I'm not sure what is not working, but I can infer two
possible problems: z-buffer interference and objectionable
interior lines. The first can be avoided in a number of ways
(e.g, offsetting, or z-buffer modes), though I believe the
defaults should work in your favor. Interior lines are due
to the object's triangular construction, which is possibly
why you can make this work with your own hand-crafted object.
So perhaps you need to draw the solid object using Performer
and the wireframe using your special edge-only object.
Third, are you really sure this will give you the anti-
aliasing effect you want? I don't know what machine you're
using, but I imagine line-antialiasing is more expensive on
many systems. And I don't imagine there is much to polygon
antialiasing other than antialiasing the edges, as you want.
(IOW, texture antialiasing is a separate issue).
Hope this helps,
Avi
Avi Bar-Zeev
RealityPrime Consulting, "VR 3D LBE and lots of other TLAs"
cyranose++at++realityprime.com
-----Original Message-----
From: Scott Herod <herod++at++evt.com>
To: info-performer++at++sgi.com <info-performer++at++sgi.com>
Date: Wednesday, January 20, 1999 1:54 PM
Subject: Using wireframe to fake antialiasing
>Has anyone been able to draw an object's wireframe on top
>of the object and fake antialiasing? While I can do it if
>I build the edges myself, I have not been able to get two-pass
>drawing, once with the object and once with it's wireframe,
>to work. Any suggestions would be appreciated.
>
>Thank you
>Scott Herod
>scott++at++evt.com
This archive was generated by hypermail 2.0b2 on Wed Jan 20 1999 - 14:12:47 PST