|
|
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
|
|
|
|
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
|
|
|
|
> 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
|
|