POV-Ray : Newsgroups : povray.newusers : Defining colors from an image : Re: Defining colors from an image Server Time
28 Jul 2024 22:20:06 EDT (-0400)
  Re: Defining colors from an image  
From: Warp
Date: 3 Jul 2007 19:44:52
Message: <468adf74@news.povray.org>
Samuel Benge <stb### [at] thishotmailcom> wrote:
> As an alternative to Warp's suggestion, you may want to try using
> eval_pigment.

  Internally eval_pigment does exactly what my example, but it does it
every time you call it, and thus it's much slower. If you define a
pigment function yourself you only have to do it once and call the
same function repeatedly, which is much faster.

-- 
                                                          - Warp


Post a reply to this message

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