|
![](/i/fill.gif) |
David Wallace <dar### [at] earthlink net> wrote:
> #declare REBUILD = pigment { function(rd,gr,bl,ft,tr) {FNPIG}}
Have you actually tried that?
--
#macro M(A,N,D,L)plane{-z,-9pigment{mandel L*9translate N color_map{[0rgb x]
[1rgb 9]}scale<D,D*3D>*1e3}rotate y*A*8}#end M(-3<1.206434.28623>70,7)M(
-1<.7438.1795>1,20)M(1<.77595.13699>30,20)M(3<.75923.07145>80,99)// - Warp -
Post a reply to this message
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
"Michael Andrews" <m.c### [at] reading ac uk> wrote in message
news:3CB45A4F.413CA07F@reading.ac.uk...
>
>
> > [1 function { FNPIG(x,y,z).filter } colour_map {[0 rgb 0][1 filter
5]} ]
>
> Sorry, no, this is always black :-/
>
> I hadn't thought of trying this way though ...
>
> Bye for now,
> Mike Andrews.
I tried a 5-parameter function thinking that the results would be truncated
otherwise... POV rejected it as an error:
"Function parameters for pigment functions are not allowed."
I suspect that your problem is that any 5D color vector that is interpreted
in a function block is truncated to 3D RGB form. If that's so then you're
SOL.
Post a reply to this message
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
In article <3cb797fa@news.povray.org> , "David Wallace"
<dar### [at] earthlink net> wrote:
> I tried a 5-parameter function thinking that the results would be truncated
> otherwise... POV rejected it as an error:
> "Function parameters for pigment functions are not allowed."
>
> I suspect that your problem is that any 5D color vector that is interpreted
> in a function block is truncated to 3D RGB form. If that's so then you're
> SOL.
No, this is not the case. The error message simply says you may not specify
function parameters for functions with a fixed parameter list, which is
explained in the documentation.
Thorsten
Post a reply to this message
|
![](/i/fill.gif) |