POV-Ray : Newsgroups : povray.general : Possibility to assign photons to certain material? : Re: Possibility to assign photons to certain material? Server Time
3 Aug 2024 14:13:00 EDT (-0400)
  Re: Possibility to assign photons to certain material?  
From: Warp
Date: 9 Feb 2004 18:41:30
Message: <40281aaa@news.povray.org>
Rafal 'Raf256' Maj <spa### [at] raf256com> wrote:
> #macro matGlass()
>   material { _matGlass }
>   photons { ... }
> #end

> object { xxx matGlass() }

  That's a good idea, but I wonder if the 'photons' block should
be a part of the 'material' block...

  How would this look like?

material
{ texture { ... }
  interior { ... }
  photons { ... }
}

  OTOH this would introduce the problem of a material which always is
a target for photons even when you don't want to. There should perhaps
be a way of turning it off for specific objects...

-- 
plane{-x+y,-1pigment{bozo color_map{[0rgb x][1rgb x+y]}turbulence 1}}
sphere{0,2pigment{rgbt 1}interior{media{emission 1density{spherical
density_map{[0rgb 0][.5rgb<1,.5>][1rgb 1]}turbulence.9}}}scale
<1,1,3>hollow}text{ttf"timrom""Warp".1,0translate<-1,-.1,2>}//  - Warp -


Post a reply to this message

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