|
|
In article <1fr4a7h.44sdcb1jqm0yuN%kaveh@delete_this.focalimage.com>,
kav### [at] delete_thisfocalimagecom (Kaveh) wrote:
> Is there an .inc file that converts a wavelength to the approximate
> equivalent RGB components? I am looking for perfect accuracy. An
> approximate look-up table will do.
You contradict yourself. Perfection or approximation, pick one...only an
approximation is possible though.
You want to find the RGB values that would mimic monochrome light of a
specific wavelength? There are no includes that do this that I know of.
You could find the sensitivity curves of typical human eyes, and work up
a macro that uses a spline generated from these curves.
Some sites which might be useful:
http://www.adobe.com/support/techguides/color/colortheory/vision.html
http://www.yorku.ca/eye/specsens.htm
BTW, what do you want this for? I can't think of many uses for this,
except as a part of a system for converting spectral data to RGB.
--
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
|
|