|
![](/i/fill.gif) |
Thomas Hille wrote:
> Hi!
> I created a scene with a sphere containing a cloud. This works pretty fine.
> But now I want to do a little animation with this scene. But the cloud ist
> static. That looks a little stupid. How can I make the cloud changing? I
> tried Phase, but that only affects the color_map. Anybody an idea?
Heya! For one, you could try messing with the turbulence and rotation. The
following code works, but isn't stellar:
// All your code the same, except:
density {
spherical
ramp_wave
color_map {
[0.0 color rgb <0, 0, 0>]
[0.3 color rgb <0.5, 0, 0>]
[1.0 color rgb <1, 0.5, 0.5>]
}
octaves 6+2*sin(clock*4.2+31) // The +31,+64,and+82 are just
lambda 2+0.5*sin(clock*2.61828182846+64) // for offset, the clock* are
turbulence 1+0.25*sin(clock*1.61804488875+82) // to confuse the phase, and
rotate <clock*16,clock*32,clock*42> // the rotate just helps.
}
Post a reply to this message
|
![](/i/fill.gif) |