|
|
Can someone explain (or point me to an explanation) of why bright lines appear
in the shadows when you move the light off axis? The bright lines are not
present if the boxes are solid, it only happens with attenuation. Is there a way
around this result? Code below.
Thanks,
Stuart
#version 3.7; #include "colors.inc" global_settings {ambient_light <0,0,0>
assumed_gamma 1}
camera {angle 35 location <500, 0 , 0> look_at <0 , 0 , 0>}
# declare boxcolor = texture{pigment{rgbt 1} finish { reflection 0.0 ambient 0.0
diffuse 0.0 phong 0.0 roughness 0.0 irid {0.0}}}
# declare boxinterior = interior{fade_power 10000 fade_distance 9}
//light_source{<1000, 0 , 0> rgb <2,2,2>}
light_source{<1000, -10 , -10> rgb <2,2,2>}
plane { <1,0,0>,0 texture{pigment{rgb 1}}}
box {<700, 0, 0> <717.5, 20, 20> hollow texture{boxcolor} interior{boxinterior}}
box {<700, 0, 0> <735, -20, 20> hollow texture{boxcolor} interior{boxinterior}}
box {<700, 0, 0> <752.5, 20, -20> hollow texture{boxcolor}
interior{boxinterior}}
box {<700, 0, 0> <770, -20, -20> hollow texture{boxcolor} interior{boxinterior}}
Post a reply to this message
|
|