POV-Ray : Newsgroups : povray.advanced-users : Help with eval_pigment : Re: Help with eval_pigment Server Time
29 Jul 2024 12:23:33 EDT (-0400)
  Re: Help with eval_pigment  
From:
Date: 12 Mar 2002 02:23:17
Message: <osar8u4ker5unsukmajr3vgi04i0est69l@4ax.com>
On Mon, 11 Mar 2002 23:42:13 -0000, "Alf Peake" <alf### [at] peake42freeservecouk>
wrote:
> The docs say that eval_pigment() evaluates the color of a pigment. Am
> I wrong in treating this as a vector?

Yes. Look into documentation to compare number of components inside vector and
inside color.

But You can convert rgb color value to xyz vector with simple macro:

#macro RGB2XYZ(Color)
  <Color.red,Color.green,Color.blue>
#end

ABX


Post a reply to this message

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