Jump to content
  • Advertisement
Sign in to follow this  
MAPster7

Fixed timestep interpolation

This topic is 561 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hey,
I'm currently on writing my own Engine implementing rather low Level stuff. When trying to implement my physics í stumbled upon The timestep problem. For this i read
http://gafferongames.com/game-physics/fix-your-timestep/
Í like The idea of decoupling The physics rate from The framerate resulting in reproducable physics Engine calculations. However in The End of The article The author talks about Interpolation to avoid aliasing. This Puzzles me:
When you Interpolate you Take Back into Account The framerate which would again Destroy The exact reproducibility of The physics as The framerate May vary from several factors nôt related to physics.
Is this á drawback from The Interpolation method or do Í understand something wrong ?
Greetings
Moritz

(Sorry for random misspellings or accents as my mobile somehow expects me to write german or Icelandic (dont ask :D )

Share this post


Link to post
Share on other sites
Advertisement
The interpolation is done only for rendering purposes. It does not affect the Physics. Does that make things clear?

Share this post


Link to post
Share on other sites

When you Interpolate you Take Back into Account The framerate which would again Destroy The exact reproducibility of The physics as The framerate May vary from several factors nôt related to physics. Is this á drawback from The Interpolation method or do Í understand something wrong ?
When interpolating, you don't modify any of the variables used by the physics/gameplay. You interpolate between the two most recent physics game states in order to produce a temporary graphics game state. 

In a multi-threaded game engine, you often want to have a strong separation between physics/gameplay data and renderer data anyway, so this isn't really a problem. You want to copy data out of the physics system and into the rendering system.

Share this post


Link to post
Share on other sites
Ah ok so you Use á temporary physics state. It see !
Thank you very much for The quick answers ! That Made Things Clear for me

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!