How Can I: See the framerate, num polygons, etc, in any OpenGL application

I am integrating another company’s OpenGL based component into one of our products. (they use Macromedia Director with 3D plugins of some kind).

Their application is incredibly CPU intensive and I need to find out why.

I am looking for a debugging tool which hooks into the OpenGL API and outputs some run-time data.

I would like to be able to see:

  • FPS
  • Total Polygons
  • if possible, how much is being rendered on the CPU (and not GPU)

I have no prior knowledge of OpenGL.

Thanks for any suggestions you may have.

I know there is a program called FRAPS but I never used it. I’ve seen hardware sites use it to benchmark games that don’t show the fps.

If you don’t have hw acceleration, then it’s normal that it runs slow.

>>>I have no prior knowledge of OpenGL.<<<

Install your video drivers. They should come with OpenGL drivers.
If you have integrated video, then install the chipset drivers.

Thanks for the tip, I’ll check it out.

I have the latest nvidia drivers installed for the GeForce 6800GT we are testing. The card does not seem to be the limitation. That is, if I swap it for an nvidia quadro 4 or other, I still get the same CPU load.

I think its application related.

-Nick

PS. I’ve disable the antialiasing via the driver.