|
|
Hi,
thanks for everybody's help, but now I face a different problem.
I'm trying to make an effect of the light coming in through the clouds,
but something in the media is wrong. Here is the source for the light,
media and clouds:
light_source
{
0*x // light's position (translated below)
color red 1.0 green 1.0 blue 1 // light's color
translate <-20000, 30000, 20>
fade_distance 3000
fade_power 2
}
//media
sphere {<0,00,0>, 1 scale <20000, 20000, 20000> translate -9999*y
texture {
pigment {color rgbf <1,1,1,1>}
}
interior {
media {
intervals 1
samples 3, 3
confidence 0.9
variance 1/128
ratio 1
scattering {3, rgb <0.4,0.4,1> extinction 0.0001}
method 3
aa_level 4 aa_threshold 0.1
}
}
hollow on
}
#end
//clouds
sphere {<0,00,0>, 1 scale <10100, 10100, 10100> translate -9999*y
texture {
pigment {
agate
color_map {
[0.3 rgbft <1, 1, 1, 1>]
[1.0 rgbft <1, 1, 1, 0>]
/*[0.3 rgbft <1, 1, 1, 0,1>]
[0.7 rgbft <1, 1, 1, 0,0.1>]
[1.0 rgbft <1, 1, 1, 0,1>]*/
}
turbulence 0.03
ramp_wave
phase clock
scale 270
}
finish {
ambient 1
}
}
hollow on
}
Post a reply to this message
|
|