POV-Ray : Newsgroups : povray.unofficial.patches : Isosurface Pigment help : Re: Isosurface Pigment help Server Time
2 Nov 2024 07:24:39 EDT (-0400)
  Re: Isosurface Pigment help  
From: Simon de Vet
Date: 30 Dec 1999 22:48:22
Message: <386C27C7.CDC4FA09@istar.ca>
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

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.