|
 |
"rastertastic" <nomail@nomail> wrote:
> For example could I use a color map like
>
> color_map {
> [0 color Red]
> [10 color Green]
> [20 color Blue]
> [30 color Pink]
> }
>
> But rendering the following doesn't produce what I might expect if that is
> supposed to work:
>
> plane { <0, 1, 0>, 0
> texture {
> pigment { function { Foo(x, y, z) }
>
> color_map {
> [0 color Red]
> [10 color Green]
> [20 color Blue]
> [30 color Pink]
> }
> }
> }
>
> }
>
> So basically I'm asking clarification on how to use such self-defined functions
> like x + y + z as patterns with, say, color maps.
Why don't you use a valid color map with range 0 to 1? - Then you will very
quickly see what happens and find the answer yourself.
Post a reply to this message
|
 |