I am trying to combine pigments and functions in different ways. Here is
an example:
#declare pigment_1 = pigment
{
slope {+y}
color_map
{
[0 rgb 0]
[1 rgb 1]
}
}
#declare function_1 = function {pigment {pigment_1}}
#declare pigment_2 = pigment {function {function_1(x,y,z)}
But I am getting a parse error on pigment_2. What is the correct syntax
to get this example to work?
Mike
Post a reply to this message
|