PDA

View Full Version : number of polys



zukko
12-30-2004, 07:41 PM
how can i know the number of polygons being rendered each frame ??

CrazyButcher
12-31-2004, 01:56 AM
well you render them ? so you should know how many

if you use vertex arrays, count would be
for triangles: indices count / 3
for triangle strip: indices count - 2
for quads: indices count / 2

if it's not your code rendering it, you would need some tool that intercepts gl calls, GLintercept is such a tool.