POV-Ray : Newsgroups : povray.beta-test : Photons not working as expected? : Re: Photons not working as expected? Server Time
1 Jun 2024 10:23:34 EDT (-0400)
  Re: Photons not working as expected?  
From: David Bluecame
Date: 28 May 2012 17:00:01
Message: <web.4fc3e6ae35177162cbd609230@news.povray.org>
Yes, I agree, something seems to be wrong with photons reflections in Beta
3.7RC5.

For example, the next scene renders fine in 3.7RC3 but wrong in 3.7RC5 (missing
reflection in the left wall). I didn't try 3.7RC4

wall.pov --------------------------------------------

 global_settings
 {
                assumed_gamma 1.0
 photons {
                count 100000
                autostop 0
                media 10
                adc_bailout 0
                max_trace_level 15

                }
 }
 camera { location <14.9, 1, -8> look_at -z angle 70 }
 light_source { <10,100,150>, 1
//     media_attenuation on
 photons {   refraction on   reflection on  }
  }

 // Room
 union
 { difference
   { box { <-11, -7, -11>, <16, 7, 10.5> }
     box { <-10, -6, -10>, <15, 6, 10> }
     box { <-4, -2, 9.9>, <2, 3, 10.6> }
   }
   box { <-1.25, -2, 10>, <-0.75, 3, 10.5> }
   box { <-4, 0.25, 10>, <2, 0.75, 10.5> }
   pigment { rgb 1 }
 }

 // Scattering media box:
 box
 { <-5, -6.5, -10.5>, <3, 6.5, 10.25>
   pigment { rgbt 1 } hollow
   interior
   { media
     {
     scattering { 1, 0.07 extinction 0.01 }
       samples 30,100
     }
   }
          photons { pass_through }
 }

  box
 { <-10, -5.99, -10>, <15, -6, 10>
   pigment { rgb 1 }
   finish { reflection <0.5, 0.4, 0.2> }
   photons { target reflection on }
 }


Post a reply to this message

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