POV-Ray : Newsgroups : povray.general : Physics - collision detection etc : Re: Physics - collision detection etc Server Time
8 Aug 2024 14:18:51 EDT (-0400)
  Re: Physics - collision detection etc  
From: John VanSickle
Date: 29 Jan 2001 01:57:51
Message: <3A7529F7.6F99D04F@hotmail.com>
David Buck wrote:
> 
> Never implement undampened springs.  They will explode with small
> accumulating errors.

I posted an anim to p.b.animations many moons ago, which demonstrates this.
A falling tetrahedron behaves wonderfully until about a half second after
the rebound.  There was dampening, just not enough.

Modifying the motions equations to include third-order motion (ie, d3x/dt3)
greatly reduced the error, so that less dampening as needed.  It's
possible that calculating the dampened sinusoid which best matches the
current velocity, acceleration, and higher derivatives will yield a closer
approximation of real motion, but I haven't looked into it very far.

And since all real-world springs are very slightly dampened anyway,
a slight dampening is needful for realism.

Regards,
John


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.