POV-Ray : Newsgroups : povray.newusers : some math : Re: some math Server Time
5 Nov 2024 07:20:08 EST (-0500)
  Re: some math  
From: Bob Hughes
Date: 15 Jun 2000 14:27:57
Message: <3949202d@news.povray.org>
If I understand that right then you want acceleration.  Thanks to Chris
Colefax and his  ClockMod.inc  I can show you that as being: pow(mclock, 2 *
clock_strength)  where 'mclock' is 'clock' and 'clock_strength' is simply how
much more or less of a rate change you want (1 being default).
There's also another that might do okay: sin((mclock - .5) * pi) / 2 + .5
which starts slow and goes quickly at midrange then levels off.
Best thing you could do is to get that include file at:
http://www.geocities.com/ccolefax/  or get the macro version of it.

Bob

"Remco Poelstra" <rjp### [at] homenl> wrote in message
news:39496FB1.5E9E5D5A@home.nl...
| I've the animation clock running from 0 to 1.
| For one object, the clock needs te be faster at 1 than al others. Is
| there a formula which can do that?
| I tried clock/((1/x)+clock), but it doesn't work very well.
|
| Remco Poestra


Post a reply to this message

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