POV-Ray : Newsgroups : povray.newusers : How to get preserve color through an intersection call? : Re: How to get preserve color through an intersection call? Server Time
7 Jul 2024 07:40:40 EDT (-0400)
  Re: How to get preserve color through an intersection call?  
From: Stephen
Date: 3 Oct 2010 17:47:45
Message: <4ca8fa01$1@news.povray.org>
On 03/10/2010 9:49 PM, Brad wrote:
> Is there a way for me to visualize the light rays that are hitting the wall, as
> if there were dust in the air? Would I just fill the observable area with a
> white box with almost perfect transparency? Or is there a more professional way
> to do this (surely....)?

You will need to use photons and fill the scene with scattering media.
Read 3.6.2.1  Media Types
And for an example look at optics.pov in \POV-Ray\v3.7\scenes\advanced

To make this work the container for the media needs the "hollow" flag set.
3.4.9.5  Hollow.

Fun, fun, fun ;-)

-- 

Best Regards,
	Stephen


Post a reply to this message

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