POV-Ray : Newsgroups : povray.general : Where does eval_pigment come from? : Re: Where does eval_pigment come from? Server Time
31 Jul 2024 16:31:28 EDT (-0400)
  Re: Where does eval_pigment come from?  
From: gregjohn
Date: 8 Dec 2006 08:00:01
Message: <web.45796195f19f9da643e2d6f50@news.povray.org>
"Charles C" <nomail@nomail> wrote:

> It should be in functions.inc in your include directory....   If not here's
> the cut/paste:
>
>
> #macro eval_pigment(pigm, vec)
>     #local fn = function { pigment { pigm } }
>     #local result = (fn(vec.x, vec.y, vec.z));
>     result
> #end


Thanks.  I saw several descriptions of what it could do but no actual code
or indication of where I could get it.  thanks.


Post a reply to this message

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