|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
I'm trying to animate turbulence going from 1 to 0 and back to 1 over the course
of an animation, with clock going from 0 to 1. The reason I need this is because
I'm animating a rotating planet with POV (textured with one of the maps from
TextureGen) and I'd like to have moving clouds. The code for the animated
turbulence shouldn't be too long; I'm going to use it three times, each for
separate cloud layers. I'd also like to make three cloud layers identical to the
first three but with turbulence going from 0 to 1 to 0.
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
W0RLDBUILDER wrote:
> I'm trying to animate turbulence going from 1 to 0 and back to 1 over the course
> of an animation, with clock going from 0 to 1. The reason I need this is because
> I'm animating a rotating planet with POV (textured with one of the maps from
> TextureGen) and I'd like to have moving clouds. The code for the animated
> turbulence shouldn't be too long; I'm going to use it three times, each for
> separate cloud layers. I'd also like to make three cloud layers identical to the
> first three but with turbulence going from 0 to 1 to 0.
Was this indended as a question? If yes, what is the problem?
If you really want turbulence from 0 to 1 to 0 all you have to
do is add "turbulence 1-abs(2*clock-1)". However, that will
probably not look very convincing. You could scale it to move
over a smaller interval.
You can also try to rotate your cloud spheres at different speeds,
and possibly split them into bands the rotate at different speeds
to emulate the wind patterns caused by convection cells, see, e.g.
http://www.mhhe.com/biosci/genbio/tlw3/eBridge/Chp29/animations/ch29/global_wind_circulation.swf
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Christian Froeschlin <chr### [at] chrfrde> wrote:
> W0RLDBUILDER wrote:
>
> > I'm trying to animate turbulence going from 1 to 0 and back to 1 over the course
> > of an animation, with clock going from 0 to 1. The reason I need this is because
> > I'm animating a rotating planet with POV (textured with one of the maps from
> > TextureGen) and I'd like to have moving clouds. The code for the animated
> > turbulence shouldn't be too long; I'm going to use it three times, each for
> > separate cloud layers. I'd also like to make three cloud layers identical to the
> > first three but with turbulence going from 0 to 1 to 0.
>
> Was this indended as a question? If yes, what is the problem?
>
> If you really want turbulence from 0 to 1 to 0 all you have to
> do is add "turbulence 1-abs(2*clock-1)". However, that will
> probably not look very convincing. You could scale it to move
> over a smaller interval.
>
> You can also try to rotate your cloud spheres at different speeds,
> and possibly split them into bands the rotate at different speeds
> to emulate the wind patterns caused by convection cells, see, e.g.
>
>
http://www.mhhe.com/biosci/genbio/tlw3/eBridge/Chp29/animations/ch29/global_wind_circulation.swf
Thanks. That code will work for what I want. Now how do I also get it going the
other way? I have 1-0-1, now I also need 0-1-0.
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
> I have 1-0-1, now I also need 0-1-0.
Scratch that. I have 0-1-0, now I also need 1-0-1.
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
W0RLDBUILDER wrote:
>> I have 1-0-1, now I also need 0-1-0.
> Scratch that. I have 0-1-0, now I also need 1-0-1.
Consider: For each clock, the function gives you a value
between 0 and 1. If you wish to flip it, so that for the
same clock you get 0 where the original value was 1, or
1 where the original value was 0, just do "1-f(x)".
In fact, here you can simply *drop* the "1-" because 1-0-1
already was the original result of the abs operation and I
flipped it to get 0-1-0.
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |