POV-Ray : Newsgroups : povray.general : Where does eval_pigment come from? : Re: Where does eval_pigment come from? Server Time
31 Jul 2024 16:26:37 EDT (-0400)
  Re: Where does eval_pigment come from?  
From: Charles C
Date: 8 Dec 2006 01:10:01
Message: <web.45790081f19f9da6704594a90@news.povray.org>
"Greg M. Johnson" <pte### [at] thecommononethatstartswithYcom> wrote:
> I was transferring some of my files from one linux box to another. I'm using
> 3.6.
>
> It seems that eval_pigment is not defined on one of my boxes, and I cannot
> figure out where I would have gotten it.  Googling doesn't answer the
> question.    Anyone have an idea?  Thanks.

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


Post a reply to this message

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