POV-Ray : Newsgroups : povray.advanced-users : caustics and fog (photon mapping with scattering media) : Re: caustics and fog (photon mapping with scattering media) Server Time
1 Jul 2024 05:43:57 EDT (-0400)
  Re: caustics and fog (photon mapping with scattering media)  
From: Christian Froeschlin
Date: 3 Feb 2010 13:42:04
Message: <4b69c37c@news.povray.org>
Warp wrote:

> If you do that, the caustics change drastically. The box is not "invisible"
> to the photons.

hmm ... indeed. You also need to specify "collect off". Then your
box with rgbt 1 and ior 1.0 does not seem to change the caustics,
although it likely causes more internal calculations due to the
invisible ray intersection points. The media also shows up:

--------------------------------------------------------------
global_settings { max_trace_level 10 photons { count 10000 media 100} }
camera { location <0, 1, -5> look_at -y*.5 }
light_source { y*10, 1 }
plane { y, -2 pigment { rgb 1 } }

sphere
{ 0, 1
   pigment { rgb <.9, 1, .9> filter 1 }
   finish { specular .5 roughness .01 reflection { .1, .3 } }
   interior { ior 1.5 }
   photons { target reflection on refraction on }
}

box
{ <-2, -1.9, -2>, <2, -1.5, 2> hollow
   interior
   {
     ior 1.0
     media {scattering {1, 0.5*<1,0,0>}}
   }
   pigment { rgbt 1 }
   photons { collect off refraction on}
}
--------------------------------------------------------------


Post a reply to this message

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