PDA

View Full Version : extracting frame rate



vijaykiran
03-22-2003, 02:07 PM
Hello guys,
I havent experimented anytime before on extracting the frame rate while working in OpenGL. I have a little idea of how to get frame rate in windows environment using Microsoft Visual C++, but no idea of how to get it in unix environment. Can anyone give me a snippet of code and the header files I need to include to get the frame rate. Any help is deeply appreciated.

Thanks,
Vijay.

shinpaughp
03-22-2003, 08:09 PM
I was curious, too. So, I searched the forum and found this. Should help you to calculate fps difference between time function calls, etc.

http://www.opengl.org/discussion_boards/ubb/Forum4/HTML/000087.html