View Full Version : Frame Rate independent animation

Jaerder " Jae686" Sousa
05-03-2010, 05:48 AM
Good Afternoon.

Whats the usual way to keep my OpenGL aplication animation time dependent instead of frame rate dependent ?
(That is , that the animation speed is that same regardless of the frame rate)

Best Regards

05-03-2010, 07:04 AM
Measure the time-difference from the last frame to this frame and advance your animation by that amount, instead of a fixed step.


Jaerder " Jae686" Sousa
05-10-2010, 04:05 AM
Thanks. I've actually never though of it that way :)