POV-Ray : Newsgroups : povray.beta-test : Re: Color functions? Server Time
5 Nov 2024 05:26:26 EST (-0500)
  Re: Color functions? (Message 1 to 1 of 1)  
From:
Subject: Re: Color functions?
Date: 28 Feb 2002 09:28:29
Message: <icfs7us0ji6ira6gup7lqraapm4dtusddv@4ax.com>
On Thu, 28 Feb 2002 15:24:33 +0100, "Hugo" <hua### [at] post3teledk> wrote:
> I'd like to have a color function,
> and the docs somehow says ...

somehow how ?

anyway try to ask in newusers, advenced-users or general group in the future
followup-to general one

ABX


Post a reply to this message

From:
Subject: Re: Color functions?
Date: 28 Feb 2002 09:34:01
Message: <gkfs7ugsvm3uannr2c91ki9trmifnnr7l0@4ax.com>

wrote:
>On Thu, 28 Feb 2002 15:24:33 +0100, "Hugo" <hua### [at] post3teledk> wrote:
>> I'd like to have a color function,
>> and the docs somehow says ...
>
> try to ask in newusers, advenced-users or general group in the future
> followup-to general one

and here I can answer you:

#local f_pig=function{pigment{agate}}
#local f_red=function{f_pig(x,y,z).red}
#local f_green=function{f_pig(x,y,z).green}
#local f_blue=function{f_pig(x,y,z).blue}
#local Pig=pigment{
average
pigment_map{
[1 function{f_red(x,y,z)} color_map{[0 red 0][1 red 3]}]
[1 function{f_green(x,y,z)} color_map{[0 green 0][1 green 3]}]
[1 function{f_blue(x,y,z)} color_map{[0 blue 0][1 blue 3]}]
}
}

ABX


Post a reply to this message

From: Hugo
Subject: Re: Color functions?
Date: 28 Feb 2002 10:30:59
Message: <3c7e4d33$1@news.povray.org>
> and here I can answer you:

Alright thank you! I thought the beta-test group were for all questions /
comments related to features only found in Pov3.5 beta versions...

Your code seems to be based on the same idea I had for a workaround, but I
couldn't get it to work ... thanks! :o)

Regards,
Hugo


Post a reply to this message

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