POV-Ray : Newsgroups : povray.binaries.images : Photon problem : Photon problem Server Time
15 Nov 2024 18:22:32 EST (-0500)
  Photon problem  
From: Gilles Tran
Date: 13 May 2003 05:06:24
Message: <3ec0b590@news.povray.org>
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'
beam.jpg


 

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.