POV-Ray : Newsgroups : povray.newusers : Media settings : Re: Media settings Server Time
3 Oct 2024 21:22:17 EDT (-0400)
  Re: Media settings  
From: Ken
Date: 17 Dec 1998 17:37:33
Message: <3679876E.2377@pacbell.net>
Andrew Cocker wrote:
> 
> Hi,
>     Can anyone recommend what media settings I should use to get a light
> scattering of dust in the air? All I can get at the moment is the dust
> glowing brilliant white. I want to see subtle shadows cast on the atmosphere
> in an otherwise normally lit room.
> 
> Thanks,
> 
> Andy


Here are a couple of examples of using scattering
media. It would work best if used with spot light
sources but will work with point lites as well.


This first one is fairly weak but effective. It will
depend on how much light there is in the scene as too
how well it will work. If you put it in sunlight don't
expect much but snow blindness. I will also be distance
sensitive.

media{
 intervals 10
  scattering{1,rgb .03}
   samples 1,10
   confidence .9999
  variance 1/1000
 ratio .9
}


This second one will add a little more haze to the
scene than the first but between the two maybe you
can figure our which way to go.

media{
 intervals 40 
  scattering{1, rgb .02}
   samples 1,10 
   confidence .9999
  variance 1/1000
 ratio .9
}


Ken Tyler


Post a reply to this message

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