> If I understood it correctly, I think the "average" pattern should help
> there: create 3 separate pigments for each function, then use a
> pigment_map to average them together.
AFAIK the pigment_maps have to be nested:
the outermost pigment is i.e. 'gradient z' and it pigment_map maps from
the "black/red/green/yellow" pigment of the front xy face to the
"blue/magenta/cyan/white" pigment of the back xy face.
The two 4-color pigments are created the same way:
A gradient in y direction to merge from "black/red" at the bottom to
"green/yellow" at the top => Front face pigment.
A second gradient in y direction to merge from "blue/magenta" at the
bottom to "cyan/white" at the top => back face pigment.
And finally, each of the four vertical ramps are "gradient x" from "left
color" to "left color + red".
Do I got it?
Lars R.
Post a reply to this message
|