POV-Ray : Newsgroups : povray.newusers : Defined a pigment; what's the color at <vect>? : Re: Defined a pigment; what's the color at <vect>? Server Time
28 Jul 2024 14:33:30 EDT (-0400)
  Re: Defined a pigment; what's the color at <vect>?  
From: Warp
Date: 22 Aug 2008 04:01:06
Message: <48ae7242@news.povray.org>
Leroy Whetstone <lrw### [at] joplincom> wrote:
> #include"functions.inc"
> then use: eval_pigment(Pigment, Vect)

  If you are going to evaluate the pigment a lot of times in a loop,
it's must faster if you create a pigment function just once, and then
just call that. Look at the implementation of eval_pigment() to see
how it's done.

-- 
                                                          - Warp


Post a reply to this message

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