Advertisement

Polygon Counter - how to make ?

Started by December 17, 2000 03:53 AM
3 comments, last by nookiepl 23 years, 11 months ago
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
Advertisement
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..
Thank''s very much.
But where can i find this tutorial about frustrum.. ??

Nookienookie@net.is.pl
here! ;o)

enjoy...

cya,
Phil

Visit Rarebyte!
and no!, there are NO kangaroos in Austria (I got this questions a few times over in the states
Visit Rarebyte! and no!, there are NO kangaroos in Austria (I got this question a few times over in the states ;) )

This topic is closed to new replies.

Advertisement