   A problem with countdown timer
  Hi there!,I am a beginner in Graphics and currently devloping a space ship racing game in openGL using VC++ 8.0 express edition.....I want to show a count  down timer on the game screen ..But I am at a loss How to implement a timer in openGL furthermore timer should be visible all the time at the Right hand side corner of the screen should be constantly updated even if I move the camera according to user key movements...Please help....   
  What is your exact problem? Is it a) the drawing of the counter, or b) how to implement the counter?For a) as the counter probably is just a 2d element I would suggest to switch at the end of your drawing routine to a orthographic projection with glOrtho and do the drawing. For rendering fonts there are a few libraries that let you draw strings as truetype fonts on the screen (such as OGLFT).Another method would be to use the glutBitmapCharacter() function or you'll find plenty of tutorials for that (e.g. NeHe's lesson 13).b) You would have a counter variable that gets reduced by each frame by the time it took for the last frame. For each frame you print its value. You would either use an int that represents the timer as milliseconds or a float variable as a frame might only a few milliseconds to draw.Good luck!   ;  Thanks for the info as my problem included both....(a) solved...but I am still having doubt about (b) I want a timer which should count seconds...Can I implement it using gluttimer...or there is any other option??....   