Jump to content
  • Advertisement

Archived

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

fireking

triangle count?

This topic is 5453 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Advertisement
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

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!