You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem with the windows timers is that the messages do not necessarily come at the specified interval.
To have the 'proper' planets position at the actual time of the timer message, one could use a previous state to interpolate/extrapolate positions/rotations.
A similar issue exists for the camera movements.
This jittering effect is not something very visible in this program case but for correctness it should be handled.
The text was updated successfully, but these errors were encountered:
…ts in a queue, so the results can be retrieved one after another without waiting. Redrawing is done instantly from the timer function (not with Invalidate). Now interpolation #15 should work all right, but there isn't really much visual difference so I guess I won't do something similar for camera or spaceship movements.
The problem with the windows timers is that the messages do not necessarily come at the specified interval.
To have the 'proper' planets position at the actual time of the timer message, one could use a previous state to interpolate/extrapolate positions/rotations.
A similar issue exists for the camera movements.
This jittering effect is not something very visible in this program case but for correctness it should be handled.
The text was updated successfully, but these errors were encountered: