|
|
See the attached pic below.
The green beam bounces correctly from the reflective box, but what's going
on with the red one?
Am I missing something obvious? The only difference between the two cylinder
lights is their point_at value. Other tests show erratic behaviour:
sometimes the beam doesn't bounce at all, sometimes it bounces from another
part of the surface (higher or lower).
background{rgb z}
global_settings {photons {count 20000 media 100}}
light_source{<5,0.1,0>, rgb y*2 cylinder radius 0.2 falloff 0.4 point_at
<0,5,0>} // OK
light_source{<5,0.1,0>, rgb x*2 cylinder radius 0.2 falloff 0.4 point_at
<2,5,0>} // Not oK
box{<-2,0,-2>,<2,10,2> texture{pigment{rgb 0.1}finish{ambient 0 diffuse 0.4
reflection 0.8}}
photons{target reflection on refraction off collect off}
}
box{<-2,-0.1,-2>,<2,10,2> scale 10
texture{pigment{rgbf 1}} hollow
interior{media{scattering {1,1 extinction 0}}}
}
camera{location <0,6,-20> right 1.33*x angle 50 look_at 4*y
rotate y*-20
}
--
**********************
http://www.oyonale.com
**********************
- Graphic experiments
- POV-Ray and Poser computer images
- Posters
Post a reply to this message
Attachments:
Download 'beam.jpg' (9 KB)
Preview of image 'beam.jpg'
|
|