POV-Ray : Newsgroups : povray.advanced-users : Air resistance : Re: Quick Check... Server Time
29 Jul 2024 12:18:41 EDT (-0400)
  Re: Quick Check...  
From: Slime
Date: 2 Oct 2002 21:59:07
Message: <3d9ba46b$1@news.povray.org>
> #declare Velocity = Velocity * (1 - (k * TimeStep));

This only works on the assumption that

Velocity * .8

is equal to

Velocity * .9 * .9

But that isn't true. Velocity * .9 * .9 is equal to Velocity * .81. This is
close to .8, but when you start cutting off larger amounts (like .4), the
difference becomes significant (Velocity * (1-.4-.4) = Velocity * .2 is very
different than Velocity*.4*.4 = Velocity*.16).

Over a large number of frames, though, even these small differences may
create large changes in the animation. The problem is that, while the
constant is related to the framerate, it's not *linearly* related.

 - Slime
[ http://www.slimeland.com/ ]


Post a reply to this message

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