Polygon Counter - how to make ?
I''ve got a simple question: how tyo make a polygon counter ??
I saw few in some demos but i don''t know how to implement one. Any examples, demos ?? Drop a line.
Nookienookie@net.is.pl
Yeah, everytime, in your program, when you draw a polygon to the screen, add one to a counter, show the counter up on screen, then reset the counter.
If you''re using Toom''s excellent frustrum culling techniques, its simple:
if inFrustrum: DrawPolygon & AddOneToCounter
else DontDrawPolygon & DoNotAddOneToCounter
DisplayCounterValue
ResetCounterValue
--wav
If you''re using Toom''s excellent frustrum culling techniques, its simple:
if inFrustrum: DrawPolygon & AddOneToCounter
else DontDrawPolygon & DoNotAddOneToCounter
DisplayCounterValue
ResetCounterValue
--wav
ooh.. but if you''re using a model there too, that would be a little harder, unless in the model data it told you how many polygons there were..
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement