POV-Ray : Newsgroups : povray.advanced-users : Finding Pigment / color of an object : Re: Finding Pigment / color of an object Server Time
3 Jul 2024 05:56:57 EDT (-0400)
  Re: Finding Pigment / color of an object  
From: Chris B
Date: 1 Mar 2009 10:32:30
Message: <49aaaa8e$1@news.povray.org>
"clipka" <nomail@nomail> wrote in message 
news:web.49aa9eec2533534f2ddf2a340@news.povray.org...
>
> you can use a pigment variable in a
> pigment function, allowing you to retrieve the color at a given point...]
>

In fact I think that's how the eval_pigment macro works. If you have a lot 
of points that you need to check it's probably more efficient to define your 
own function once, because calling eval_pigment would redefine the function 
each time.

Regards,
Chris B.


Post a reply to this message

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