POV-Ray : Newsgroups : povray.binaries.images : Atmospheric Media Example : Re: Atmospheric Media Example Server Time
8 Aug 2024 12:25:41 EDT (-0400)
  Re: Atmospheric Media Example  
From: Alain
Date: 13 Jul 2005 20:01:11
Message: <42d5ab47$1@news.povray.org>
Bryan Valencia nous apporta ses lumieres en ce 2005-07-13 14:13:
> I think I'm finally getting a handle on this scattering media stuff.
> 
> Is there a way to use media to make water raining down from the slots above,
> or do I need to make a raindrop macro and millions of droplets?
> 
> 
> 
If you don't care about reflections and refraction from the water droplets, try a
crackle pattern 
for the media density. Use a pigment_map like [0.5 rgb 0][0.8 rgb 10] and use a
relatively small 
scale, like 0.05 or less (what looks best in your case). This will create a media
whose density is 
zero almost evarywhere, with small blury areas of high density. You can scale unevenly
and use some 
rotation to make "rain" that fall with an angle.
You will need a prety high samples count to get good results, probably more than 500!
and a small 
move of the camera can have large effect. Using jitter in the media can make 2
consecutive renders 
of exactly the same scene apear quite different due to the purely random aspect of the
jitter.

Alain


Post a reply to this message

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