POV-Ray : Newsgroups : povray.general : using eval_pigment--some questions before starting : using eval_pigment--some questions before starting Server Time
30 Jul 2024 02:22:29 EDT (-0400)
  using eval_pigment--some questions before starting  
From: Kenneth
Date: 1 Feb 2010 17:50:01
Message: <web.4b6759de4df8fdce65f302820@news.povray.org>
OK, my curiosity has finally reached the point where I want to start playing
around with eval_pigment.  But a few questions first (perhaps naive ones) so
that I don't end up guessing at the results:

1) Does it return specifically a COLOR vector (i.e., does POV-ray treat the
result as such internally, as another pigment); or just a 'generic' vector, with
no color information implied? (The manner in which it is returned has
consequences if I want to pull just one component out of the vector later, using
dot notation--see 3.2.1.5.5 "common color pitfalls" in the docs.)
2) How many components are in the returned vector--3 or 5?

Thanks!

Ken


Post a reply to this message

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