Original Post
I''m currently making a 3D engine in OpenGL (and GLUT) using C (it''s a uni project so that''s the way it has to be). It has to include animation, collisions and simlations (like particle effects).
While my frame rate is running quite well at the moment, I foresee problems with it as I''m working with a TNT2 card at the moment (due to me having to wait 4-6 weeks to get my GeForce4 back from dabs.com). This means as soon as a particle effect appears on screen the whole thing is going to chug along horribly.
I was just wondering if anyone knew how I could make a constant frame rate (say 60fps...but I can adjust it with a #define), rather than just having the screen redraw when it can. While I''m at it, does anyone know how to get the frames per second so I could display it?
thanks