POV-Ray : Newsgroups : povray.newusers : some math Server Time
5 Nov 2024 09:25:58 EST (-0500)
  some math (Message 1 to 5 of 5)  
From: Remco Poelstra
Subject: some math
Date: 15 Jun 2000 14:05:10
Message: <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

From: Bob Hughes
Subject: Re: some math
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

From: Marc-Hendrik Bremer
Subject: Re: some math
Date: 16 Jun 2000 04:32:06
Message: <3949e606@news.povray.org>
Hm,

perhaps use min(clock*1.5,1)?

Marc-Hendrik
 
Remco Poelstra schrieb in Nachricht <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

From: Remco Poelstra
Subject: Re: some math
Date: 16 Jun 2000 15:45:31
Message: <394AD8B3.2B293E70@home.nl>
I couldn't get any of the formulas to work well, I think I'm doing
something wrong, but I'm now using AutoClck.mcr from the Clockmod
package. It's wonderfull.

Remco Poestra


Post a reply to this message

From: Phil Clute
Subject: Re: some math
Date: 18 Jun 2000 20:18:13
Message: <394D6767.1F706E1A@tiac.net>
There's a tutorial that will help you learn how to use the
AutoClck.mcr 
http://www.puzzlecraft.com/cm/ClockMod.html
-- 
Phil
...coffee?...yes please! extra sugar,extra cream...Thank you.


Post a reply to this message

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