how to disply the frames per second?

Started by
9 comments, last by dirkduck 20 years, 12 months ago
Ha! I''ve read your post and it seems that you have to learn a lot! The first thing is to learn how to display an "Hallo world" text in OpenGL...
Then simply convert fps-float to an fps-string ( use sprintf() ) and draw the string.
You can use WindowsGDI or use a font-texture with quad-characters...

See the Nehe-Lessons 13,14,15 and 17!!!
at http://nehe.gamedev.net/

There is not a glDrawMyFpsCounter() function (it may be a new extension ???)

This topic is closed to new replies.

Advertisement