POV-Ray : Newsgroups : povray.binaries.animations : Cyclical cloud movement : Re: Cyclical cloud movement Server Time
19 Jul 2024 21:30:39 EDT (-0400)
  Re: Cyclical cloud movement  
From: Dave Blandston
Date: 27 Aug 2002 20:17:40
Message: <3d6c16a4@news.povray.org>
Thanks, Thies! That looks great! I was using a sine function applied to the
turbulence (lambda) of a pigment, and had a little success. The problem was
that the clouds would change really quickly between 0 and about 60 degrees,
then not change much at all between 60 and 120 degrees, then start moving
really fast again. It looked awkward. I tried to compensate by using four
different pigments each offset by a few degrees so some were changing
quickly while others weren't, and that helped some. But your solution (and
Greg Johnson must have been suggesting a similar solution) is much better.
And it's a heck of a lot simpler, too.

Regards,
Dave

"Thies Heidecke" <h3i### [at] gmxnet> wrote in message
news:3d6bde35@news.povray.org...
> Hi again,
>
> I made an example-scene which shows the basic use of it.
> Sorry for the pseudo-code in my last post, was a bit lazy..
>
> To get the formula to work within POV one has to use
> a pattern-function. The cyclic-animation Trick works
> by making a Linear-Interpolation between two instances
> of the cloud-pattern. The Trick is to translate the second
> pattern in such a way that it is identical to the first
> pattern when the loop is finished. Thats actually what the
> formula does.
> feel free to ask if something's still unclear.
>
> Greetings,
> Thies


Post a reply to this message

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