|
|
In article <Xns### [at] 204213191226>,
"Rafal 'Raf256' Maj" <raf### [at] raf256com> wrote:
> IMHO I think that this syntax is wierd [1], better would be to extend
> color_map by new keywords.
Well, yes, it does look wierd at first. The point is that it is far more
flexible...a pigment is just a function that returns an RGB color
vector, a color map is just a vector spline, which is also a function.
If you want interpolation in a different color space, just convert back
to RGB for the final value. If you want your own custom function instead
of a color map, no problem. It can express any existing POV texture, and
much more, without being much longer if at all.
Adding a special color map feature just adds bulk to an already
redundant feature.
--
Christopher James Huff <cja### [at] earthlinknet>
http://home.earthlink.net/~cjameshuff/
POV-Ray TAG: chr### [at] tagpovrayorg
http://tag.povray.org/
Post a reply to this message
|
|