POV-Ray : Newsgroups : povray.animations : Animated turbulence Server Time
28 Mar 2024 11:00:10 EDT (-0400)
  Animated turbulence (Message 1 to 5 of 5)  
From: W0RLDBUILDER
Subject: Animated turbulence
Date: 29 Apr 2011 13:15:00
Message: <web.4dbaf0f0a71052bcb8f6b920@news.povray.org>
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

From: Christian Froeschlin
Subject: Re: Animated turbulence
Date: 29 Apr 2011 19:17:43
Message: <4dbb4717$1@news.povray.org>
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

From: W0RLDBUILDER
Subject: Re: Animated turbulence
Date: 29 Apr 2011 21:20:01
Message: <web.4dbb6307e828daf2b6f0ad930@news.povray.org>
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

From: W0RLDBUILDER
Subject: Re: Animated turbulence
Date: 30 Apr 2011 00:25:01
Message: <web.4dbb8edbe828daf2b6f0ad930@news.povray.org>
> 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

From: Christian Froeschlin
Subject: Re: Animated turbulence
Date: 30 Apr 2011 04:31:18
Message: <4dbbc8d6@news.povray.org>
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

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