POV-Ray : Newsgroups : povray.newusers : Photon mapping and media do not work : Re: Photon mapping and media do not work Server Time
29 Jul 2024 16:33:58 EDT (-0400)
  Re: Photon mapping and media do not work  
From: Warp
Date: 25 Jul 2005 08:31:55
Message: <42e4dbbb@news.povray.org>
Christoph Hormann <chr### [at] gmxde> wrote:
> http://www.povray.org/documentation/view/3.6.1/425/

> says photons settings for light sources default to 'off' which conforms 
> with my memory - i have not actually tested recently though.

  Where exactly? What I see is this:

"Sometimes, you want photons to be shot from one light source and not
another. In that case, you can turn photons on for an object, but
specify photons { reflection off refraction off } in the light
source's definition."

  This seems to imply that photons are on by default for light sources
and that they have to be turned off explicitly if you don't want them.

  A quick test confirms this:

#global_settings { photons { count 10000 } }
camera { location <0, 5, -5> look_at 0 angle 35 }
light_source { <-80,50,-10>, 1 }
plane { y, -1 pigment { checker rgb .5, rgb 1 } }
sphere
{ 0,1
  pigment { rgbf 1 }
  finish { specular 1 roughness .01 reflection { .1, .3 } }
  interior { ior 1.5 }
  photons { target reflection on refraction on }
}

-- 

                                                          - Warp


Post a reply to this message

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