|
![](/i/fill.gif) |
I have a problem: I want to use sky_sphere to make a sky, but for some reason it
does not change color smoothly, you can cleary see lines that separate different
"regions". I played with Antialias_Threshold, thinking that is the key, but
whatever I do I keep having this ploblem.
Here is my code.
#version 3.5;
// ************************ Camera ***********************
#local Cam = <-5, 6, 12>;
camera {
#local to = <2, 0.9, 6>;
#local rat = 1;
location rat*Cam + (1-rat)*to
look_at to
angle 38
}
// ************************ Lights ***********************
light_source {
Cam
color 0.4*<1,1,1>
shadowless
}
sky_sphere {
pigment {
gradient y
color_map {
[ 0.0 color rgb <0.8,0.2,0.2> ]
[ 0.4 color rgb <0.8,0.8,0.4> ]
[ 0.8 color rgb <0.3,0.0,0.5> ]
[ 1.0 color rgb <0.0,0.0,0.0> ]
}
scale 2
translate -1
rotate 70.2763614*z
rotate -105.46554492*y
}
}
The resulting image: http://dl.dropbox.com/u/1655276/esfera.png
Can anyone give me a clue?
Post a reply to this message
|
![](/i/fill.gif) |