Archived

This topic is now archived and is closed to further replies.

fireking

triangle count?

Recommended Posts

Count them. Seriously, there''s no automatic mechanism for this. You''ve just gotta keep track of it yourself. I set a static variable in my octree node class, setting it to zero when I start rendering the octree and incrememting it every time a triangle is drawn.

Share this post


Link to post
Share on other sites
does your octree class draw things? if so, do you make classes that inherit it as a parent in order to use it, like maybe for instance, your terrain class, overriding the draw function?

[edited by - fireking on October 21, 2003 9:21:52 PM]

Share this post


Link to post
Share on other sites