POV-Ray : Newsgroups : povray.general : Density gradient? : Re: Density gradient? Server Time
10 Aug 2024 05:16:00 EDT (-0400)
  Re: Density gradient?  
From: Chris Huff
Date: 27 Feb 2000 21:03:40
Message: <chrishuff_99-F43B88.21051027022000@news.povray.org>
In article <38B9D0AA.11D6C912@unforgettable.com>, 
inq### [at] unforgettablecom wrote:

> Stupid question here...
> 
> I'm trying to get a "smoky room" effect with some scattering media and a
> Y gradient for the density (ie, the smoke thickens at the top), but I
> can't seem to find the right syntax; either I get errors or it has no
> effect on the scene. Could someone gimme a hand here?

You might get more help if you post in povray.advanced-users and provide 
a short bit of code...
My first idea is that you might not have the media dense enough. If you 
don't see any effects, try increasing the density by larger 
increments(values larger than 1 are often necessary).
Also try using a planar pattern with a density that increases as it gets 
closer to 0. Then scale and translate it so it reaches the ceiling.

-- 
Chris Huff
e-mail: chr### [at] yahoocom
Web page: http://chrishuff.dhs.org/


Post a reply to this message

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