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 06:43:52 EDT (-0400)
  Re: How to get preserve color through an intersection call?  
From: Alain
Date: 4 Oct 2010 16:13:17
Message: <4caa355d$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 ;-)
>

You DON'T need photons in this case. The light only goes straight 
through the transparent parts, thus no refraction, and there are no 
reflection.


Alain


Post a reply to this message

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