Game Development Community

Real Time Poly Count

by Spencer Strombotne · in General Discussion · 08/07/2008 (10:37 am) · 2 replies

I have all of my artwork imported into my game and I'm getting major frame rate issues. Is there any way to monitor the poly/face/quad/tri count inside of the game like you can with metrics(fps)?

#1
08/12/2008 (12:00 pm)
GLEnableMetrics(true);
metrics(video);
Look here for an explanation of each value: tdn.garagegames.com/wiki/TorqueScript_Console_Functions_2#metrics.28_metric_.29

Very useful, but I only found it by myself while reading through the common folder scripts.
Nobody ever told me about it, which is weird...
#2
08/12/2008 (1:08 pm)
Another handy one is metrics(fps), which pops an FPS counter up on your top left corner.