triangle count?
i wanna make sure my octree is working, how can i obtain the number of triangles being drawn each frame?
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.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement