FPS (Again)
I know, I know!
Arghhh!
I have my nice new OpenGL scene setup and running :0)
Now I decide to try and place text in the center of my window that show the FPS(my window size is 800x600).
So I came onto here looking for some good code that would tell me how to work out the FPS and how to print the FPS to my window in a font of my choice.
Hmm well I found the FPS code and how to work it out but I am stuck when it comes down to placing it in my original code :/
Take for instance, if I was coding it into the base code from NeHe; where would I add the calculations for working out the FPS; where would I add the code to display the FPS to the screen and where would I specify my text size, font and colour etc...
As you have already guessed I am newbie when it comes to this BUT you have to start somewhere! and this seemed the right place to start; seen as though you all appear to be nice people
Thanks in advance
C G M O N
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement