Jump to content

  • Log In with Google      Sign In   
  • Create Account


Whats a reasonable timestep


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
40 replies to this topic

#41 UnshavenBastard   Members   -  Reputation: 323

Like
2Likes
Like

Posted 27 November 2012 - 06:31 AM

Something tells me that the simulation frequency vs. display frequency ratio is an important aspect, as in, sampling theorem, aliasing artifacts and such, which may surely be a 'nice' contributor to perceived jerkiness of movement.

After all, changes in position over time, generated by the physics engine, is a signal, which is output by the physics engine, and sampled again by the graphics engine, at a possibly different frequency. Now if the resampling method used is not good, the end result, i.e. graphics output, will have artifacts.
From my experience I'd say, as others have noted, odd ratios like 67 Hz : 60 Hz, make simple resamplers produce especially bad results.

Upping the simulation rate, i.e. samplerate of the "source" (physics engine), certainly is one approach that works, but it's a low-tech one, imposing high computational cost - such goes the common wisdom in DSP land I think. (I'm no expert, but dabbling in that sort of stuff recently).
There would have to be some sort of filtering / interpolation going on as an alternative.

Edited by UnshavenBastard, 28 November 2012 - 07:30 AM.

Flash ™ - The lightning bolt that hits *your* smooth user experience, too!

 

-----Bel Canto Society
save old not-yet-restored Opera recordings from rotting


Sponsor:



Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS