|
![](/i/fill.gif) |
Chris Huff wrote:
> There are several ways of using pigments as isosurfaces, but probably
> the best would be to declare it as a separate function to use, like this:
>
> #declare MyPigmentFunc =
> function {
> pigment {agate
> color_map {[0 color Black][1 color White]}
> }
> }
That's exactly what I was looking for.. I didn't realise the "function" bit
was necessary, and was just using the "pigment" portion.
I'm not a coder, so I don't know this kind of thing.
Post a reply to this message
|
![](/i/fill.gif) |