my app uses vertical synchronization (programmatically by NSOpenGLContext), per frame animation; it means camera’s eye and eulers angles are changed every frame by mouse or key events, but even small value moving is very slow but jerk (for every key push).
How can I get smooth animation when camera moves?
Xcode 3.1.3 Mac OS X 10.5.8
Animation states should be updated by an external clock not with a fixed step at each frame since the rendering speed may depend on the platform. The idea is, at each call to the update (animation) routine, get the delta time from the last call and update the animation state according to this delta.
This is the basics of any decent animation engine and it is not related to Opengl anyway.
thank you for your answer! Can you put a bit of pseudocode? I will be glad
PS: I use NSTimer (fire 1000 time per second) for update view;