Sharon Clay (src++at++rose.asd.sgi.com)
Sun, 7 Jul 1996 18:04:50 -0700
This is a separate issue but a really good point. It is also hard to
deal with perfectly in a peak performance manner.
When a pfGeoSet has been told to use PER_VERTEX colors, it does so and checks nothing
in its environment. Minimization lack of last minute checking is critical to
optimization - small pfGeoSets need to have less overhead on their drawing and
not more. This also provides consistent behavior for when those pfGeoSets
are compiled into GL display lists.
FYI, the above behavior is also really useful for tuning when looking for
bottlenekcs :-)
I wonder (hope) if it is really just a special case where folks have specified
PER_VERTEX attributes on their pfGeoSets but then effectively disabled them
with their pfGeoState binding and that this is not the common mode of drawing.
I'd also suggest that probably the only efficient place to put a statement
like "pfGeoSets ignore your colors" would be at the pfGeoState or global level
so pfGeoState sharing would not be a reason to add this mode.
Thanx,
src.
--
-----{-----{---++at++ -----{----{---++at++ -----{----{---++at++ -----{----{---++at++
Sharon Rose Clay (Fischler) - Silicon Graphics, Advanced Systems Dev.
src++at++sgi.com (415) 933 - 1002 FAX: (415) 965 - 2658 MS 8U-590
http://www.sgi.com/Technology/Performer/
-----{-----{---++at++ -----{----{---++at++ -----{----{---++at++ -----{----{---++at++
=======================================================================
List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/ <--new!
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:09 PDT