|
![](/i/fill.gif) |
Another thought on "blur": some sort of blur_limit would be needed,
otherwise two blurred shiny objects would spawn exponential showers of rays.
(The perturb-and-antialias kludge does not have this problem.)
A demo of the kludge, which renders nicely at +A0.1 +AM2 +R3, and very
smoothly indeed at +A0.05 +AM2 +R4:
#include "colors.inc"
camera {
location <0, 7, -14>
direction <0, 0, 1.8>
look_at <0, 0, 0>
}
light_source { <50, -200, -100> colour Gray70 }
light_source { <-20, 40, -20> colour Gray70 }
light_source { <100, 80, -200> colour Gray70 }
background { color MidnightBlue }
#include "colors.inc"
sphere {<-4,0,0>, 3 /*misty sphere*/
pigment{color rgb 0.9}
finish{reflection 0.3 phong 0.2 phong_size 0.1}
normal{bozo 0.01 scale 0.00001}
}
sphere {<4,0,0>, 3 /*shiny sphere*/
pigment{color rgb 0.9}
finish{reflection 0.3 phong 0.2 phong_size 0.1}
}
plane{<0,1,0>, -3 pigment{checker color Red color White}}
-Robert Dawson
Post a reply to this message
|
![](/i/fill.gif) |