|
|
On Wed, 10 Apr 2002 14:12:15 +0100, Michael Andrews <m.c### [at] readingacuk>
wrote:
>#declare REBUILD = pigment {
> average
> pigment_map {
> [1 function { FNPIG(x,y,z).x } colour_map {[0 rgb 0][1 rgb 3*x]} ]
> [1 function { FNPIG(x,y,z).y } colour_map {[0 rgb 0][1 rgb 3*y]} ]
> [1 function { FNPIG(x,y,z).z } colour_map {[0 rgb 0][1 rgb 3*z]} ]
> }
>}
>
>but with filter, transmit or colours with values greater than one this
>doesn't work.
have you teste below ? I'm not sure but I think it should work
#declare REBUILD = pigment {
average
pigment_map {
[1 function { FNPIG(x,y,z).red } colour_map {[0 rgb 0][1 red 5]} ]
[1 function { FNPIG(x,y,z).green } colour_map {[0 rgb 0][1 green 5]} ]
[1 function { FNPIG(x,y,z).blue } colour_map {[0 rgb 0][1 blue 5]} ]
[1 function { FNPIG(x,y,z).filter } colour_map {[0 rgb 0][1 filter 5]} ]
[1 function { FNPIG(x,y,z).transmit } colour_map {[0 rgb 0][1 transmit 5]} ]
}
}
ABX
Post a reply to this message
|
|