|
![](/i/fill.gif) |
Chris Huff wrote:
>
> In article <39A2221F.B8F2E0D2@aetec.ee>, Vahur Krouverk
> <vah### [at] aetec ee> wrote:
>
> > I've written conversion between RGB and HSV, HSL XYZ, xyY, YIQ color
> > spaces as C function in colour.c. (I've not tested it very much, hope I
> > haven't made too much mistakes in entering marrix constants). If someone
> > wants to add coversion support for POV-Ray language, then I can send
> > source code.
>
> Sounds interesting...could you post the conversion functions to
> povray.programming or povray.binaries.programming?
>
Ok, I'll do it after I complete this message.
povray.binaries.programming will be the group. I've made tests for
ensuring their correctness and I believe, that HSV, HSL and YIQ
conversions are correct (at least BMRT gave same output). Hopefully XYZ
and xyY are correct too, as they involve only matrix multiplication.
Post a reply to this message
|
![](/i/fill.gif) |