Game Development Community

Metrics - triangle count

by William Todd Scott · in Torque Game Engine · 02/02/2006 (12:09 pm) · 2 replies

Hi,

I am trying to get the triangle count that is being rendered.

I am in a debug buil.
I set TORQUE_GATHER_METRICS = 2.
But, when I use the command metrics(video) the TC and PC metrics are 0 and the rest are blank.

Thanks for the help.
Todd

#1
02/02/2006 (2:15 pm)
I believe you also need to call glEnableMetrics(1) before calling metrics(video).
#2
02/02/2006 (2:36 pm)
That did it.

Thanks Manoel!

Todd