Michael T. Jones (mtj++at++babar.asd.sgi.com)
Tue, 13 Aug 1996 10:42:53 -0700
> OK, but don't you also have the overhead of drawing the base polygon more
> than once for the subface stencil algorithm making this approach expensive.
>
> Have I missed a trick here or does this overhead exist?
You draw the base once (set stencil based on Z-compare)
You then draw the layers one at a time (from bottom to
top) using stencil to control writing (with Z-compare
disabled). There is no "extra" pass.
It is true that the polygons underneath the layers are
"needlessly" rendered -- a cookie-cutter approach that
chops holes in the underlying geometry would run faster
in almost all cases.
Michael
=======================================================================
List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
Submissions: info-performer++at++sgi.com
Admin. requests: info-performer-request++at++sgi.com
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:53:21 PDT