POV-Ray : Newsgroups : povray.general : Density given by a function Server Time
17 Nov 2024 21:19:58 EST (-0500)
  Density given by a function (Message 1 to 3 of 3)  
From: Jellby
Subject: Density given by a function
Date: 26 Dec 2002 13:35:01
Message: <3e0b4bd5@news.povray.org>
Hello,

It seems it's not possible to have media density defined by an arbitrary 
function, it can use a pattern, but not a user-defined function. Having 
this feature would be useful for plotting 3D functions, as an alternative 
to isosurfaces. Is there any practical reason for this limitation? Any 
patch supporting this feature? Any chance of having it implemented in a 
future?

Thanks.

-- 

Linux User #289967 (counter.li.org)
PGP Pub Key ID: 0x01A95F99 (pgp.escomplinux.org)


Post a reply to this message

From: Christopher James Huff
Subject: Re: Density given by a function
Date: 26 Dec 2002 13:55:41
Message: <chrishuff-8A147C.13510126122002@netplex.aussie.org>
In article <3e0b4bd5@news.povray.org>, Jellby <jel### [at] M-yahoocom> 
wrote:

> It seems it's not possible to have media density defined by an arbitrary 
> function, it can use a pattern, but not a user-defined function.

Function patterns work great as media density patterns. What made you 
think otherwise?

-- 
Christopher James Huff <cja### [at] earthlinknet>
http://home.earthlink.net/~cjameshuff/
POV-Ray TAG: chr### [at] tagpovrayorg
http://tag.povray.org/


Post a reply to this message

From: Jellby
Subject: Re: Density given by a function
Date: 26 Dec 2002 14:02:15
Message: <3e0b5236@news.povray.org>
Christopher James Huff wrote:

> In article <3e0b4bd5@news.povray.org>, Jellby <jel### [at] M-yahoocom>
> wrote:
> 
>> It seems it's not possible to have media density defined by an arbitrary
>> function, it can use a pattern, but not a user-defined function.
> 
> Function patterns work great as media density patterns. What made you
> think otherwise?

Damn! I was was just going to say "Forget it, I'm dumb".

I guess I forgot/didn't know about the function pattern, so when I saw media 
density needed a pattern, I thought a function wasn't possible. Anyway, as 
I was going to write at first: Forget it, I'm dumb :)

Now I have to find out a decent scaling...

Thanks again

-- 

Linux User #289967 (counter.li.org)
PGP Pub Key ID: 0x01A95F99 (pgp.escomplinux.org)


Post a reply to this message

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