POV-Ray : Newsgroups : povray.advanced-users : conical density Server Time
29 Jul 2024 20:16:38 EDT (-0400)
  conical density (Message 1 to 4 of 4)  
From: Paul Daniel Jones
Subject: conical density
Date: 6 Oct 2000 11:53:53
Message: <39DDF5D2.483C56E7@psu.edu>
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??

-paul

--
-------------------------------------------#
Paul Daniel Jones
120 Chandlee Laboratory
Penn State University
814-865-2090
pdj### [at] psuedu

http://research.chem.psu.edu/glassgrp/paul
--------------------------------------------#


Post a reply to this message

From: Chris Huff
Subject: Re: conical density
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

From: John VanSickle
Subject: Re: conical density
Date: 8 Oct 2000 16:55:02
Message: <39E0E03A.BDF877EE@erols.com>
Paul Daniel Jones wrote:
> 
> anybody know how I could make a conical density for a media
> statement??

I wrote the C code to generate this pattern, and passed it on to
one of the POV-team programmers, but I have no idea whether it will
be in 3.5.


Post a reply to this message

From: Michael Andrews
Subject: Re: conical density
Date: 9 Oct 2000 06:38:32
Message: <39E1A07B.D37319C9@reading.ac.uk>
Hi Paul,

Paul Daniel Jones 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??
> 
> -paul

If you're using MegaPov then you can use the 'polarical' pattern. See
the MegaPov docs for details.

Bye for now,
	Mike Andrews.


Post a reply to this message

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