Triangle Count

Started by aZen, December 11, 2013, 11:38:47 PM

Previous topic - Next topic

aZen

Is there an easy way to access how many triangles were rendered in the previous frame (software renderer)?

I'd like to use it for my dynamic optimization algorithm (it's actually only an idea right now).

Thanks!

AGP

#1
You can get the visibility list with World.getVisibilityList(). Then, the polygon count of the last frame would be visList.getSize().

aZen

That works, thanks for the reply!