POV-Ray : Newsgroups : povray.general : photons + media : Re: photons + media Server Time
5 Aug 2024 00:27:03 EDT (-0400)
  Re: photons + media  
From: hughes, b 
Date: 25 Feb 2003 21:25:03
Message: <3e5c257f@news.povray.org>
"Rafal 'Raf256' Maj" <raf### [at] raf256com> wrote in message
news:Xns### [at] 204213191226...
> "Tom Melly" <tom### [at] tomandlucouk> wrote in news:3e5b7cca@news.povray.org
>
> >> Yep, that's it - adding to media container
> >>   photons { target }
> >> do help.
> > Are you sure? It doesn't/didn't help on my tests here.
>
> uhm... yes, working scene source is :
---snipped---
> // ==  glass +normal + PHOTONS
> #local Tr=+x*0;
> #local P=<0,  2,0>+Tr;   <==<<
> #local T=<0,-10,0>+Tr;
---snipped some more---
> light_source {
>   P rgb 1
---snipped again---
> // --- media ---
> #if (QQ_Media)
>   box {
>     <-11,-11,-11> <+11,+11,+11>  <==<<

Yeah... uh...  :-)  ...only because the light source is no longer outside
the media container, as can be seen of the two lines shown arrowed, so it
doesn't need the pass_through anymore. And, having now tried your script
again I see that leaving the media's photon block out entirely actually
renders faster and is still okay I guess. From what I can tell in a small
rendering anyway.

Bob


Post a reply to this message

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