POV-Ray : Newsgroups : povray.advanced-users : Media Density Question : Re: Media Density Question Server Time: 3 Dec 2008 04:39:32 GMT
  Re: Media Density Question  
From: Mike Williams
Date: 17 Jan 2008 13:22:59
Wasn't it Woody who wrote:
>Is there anyway to change how a gradient density fades off?
>
>The following scene has a density that's a linear gradient. That is it 
>falls off
>in a linear fashion. Is there any way to change this so the density falls off
>say at a geometric or exponential rate? Maybe instead of a linear decreasing
>density, something where the density is sinosoidal?

You can use a function as the density pattern, like this:

http://www.econym.demon.co.uk/isotut/patterns.htm#density

-- 
Mike Williams
Gentleman of Leisure


Post a reply to this message

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