Advertisement

Fixed Timestep Rotation Stutter at Specific Timesteps (with interpolation)

Started by June 02, 2019 01:51 AM
9 comments, last by fleabay 5 years, 3 months ago
27 minutes ago, whitwhoa said:

The stutter appears to be gone for all of the values you had suggested:

  • 72tps (you had listed 78 but I believe you meant 72)
  • 48tps
  • 36tps
  • 24tps

I'm still processing your explanation, as I really am trying to understand what's going on here. I appreciate the level of detail you have provided, and the picture! I like pictures :)

I'm glad to hear! As for the explanation - try following the frame transitions in the top row (because that's where you interpolate your rendered values) as if they're following the corresponding step in the bottom row which has already been calculated (since you're doing retroactive interpolation), and see where precisely the information for that frame is taken from. You'll start seeing "holes" in the interpolation soon enough :)

On 6/4/2019 at 9:22 AM, whitwhoa said:


window.vsync()

Is really just calling



glfwSwapInterval(1)

Usually glfwSwapInterval is only called on window creation.  I've never seen it called every loop.

🙂🙂🙂🙂🙂<←The tone posse, ready for action.

This topic is closed to new replies.

Advertisement