|
![](/i/fill.gif) |
Hello!
This is my patched version of colour.c and colour.h. This patched
version includes conversion routine between RGB, HSL, HSV, XYZ, xyY, YIQ
colour spaces.
Please note, that I changed return value of RGBtoHue to return
"standard" hue value and added function RGBtoSpecter for returning
"spectral value" of colour hue. If someone wants to use colour.c in
MegaPov, then files lighting.c and postproc.c should be changed
accordingly (replace RGBtoHue with RGBtoSpecter).
Another note: these files are in Unix format (includes only newline
character in the end of file).
Post a reply to this message
Attachments:
Download 'cspace.zip' (6 KB)
|
![](/i/fill.gif) |