POV-Ray : Newsgroups : povray.advanced-users : Media Density Question : Re: Media Density Question Server Time
5 Jul 2024 14:11:16 EDT (-0400)
  Re: Media Density Question  
From: Mike Williams
Date: 17 Jan 2008 08:22:59
Message: <I2x5fEDNa1jHFwtX@econym.demon.co.uk>
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-2023 Persistence of Vision Raytracer Pty. Ltd.