POV-Ray : Newsgroups : povray.advanced-users : conical density : Re: conical density Server Time
29 Jul 2024 22:23:47 EDT (-0400)
  Re: conical density  
From: Chris Huff
Date: 6 Oct 2000 12:06:44
Message: <chrishuff-AADD44.11090306102000@news.povray.org>
In article <39DDF5D2.483C56E7@psu.edu>, Paul Daniel Jones 
<pdj### [at] psuedu> wrote:

> anybody know how I could make a conical density for a media statement??
> 
> I want to fill a cone with media and have it thick along the center-axis
> and fade to 0 at the edges. But it should fade proportionally the same
> nomatter what the radius is at any point. Any ideas??

In MegaPOV, you could write a function to do it...it would be more 
difficult to do in the current official version, but not impossible.
A gradient density_map of a lot of different versions of the same 
cylinderical density, but with constantly decreasing scale would 
probably do the job. You would want to use a loop to generate it though.

-- 
Christopher James Huff
Personal: chr### [at] maccom, http://homepage.mac.com/chrishuff/
TAG: chr### [at] tagpovrayorg, http://tag.povray.org/

<><


Post a reply to this message

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