🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

Counting number of Polygons

Started by
2 comments, last by Khorn 24 years ago
Is there a simple way to determine how many polygons you have totaly in a scene (before clipping) and later how many there are left (after clipping)???
Me....!? What more can I say?
Advertisement
count them ?
What do you mean with ''clipping'' ? Are you talking about backface culling ?

If it is, there is a very good example code about face normals, vertex normals and backface culling in Nate''s site (nate.scuzzy.net) in which he renders a 3d object with backface culling counting the number of polygons that the object is made of and the number of triangles (that is polygons) that he effectively render to the video.

Nah.. not directly what I ment. With ''clipping'' I ment how far away OpenGL will draw polygons before it don''t.
But the tutorial can still be usefull. I think (haven''t checked it out yet on my computer) it will count the triangles I use in my scene.
Thanx.
Me....!? What more can I say?

This topic is closed to new replies.

Advertisement