graxx@xxxxxxxxxxxx wrote:> My starting point is the spectral color corresponding to 430
nanometers, some violet. The problem is that I don't understand how to obtain RGB values
from the CIE 15.2 1931 chromaticities.
Simplest way I can think of of converting a spectral locus to RGB values is to
treat it
as a chromaticity problem. So working in either x,y or u'v' chromaticity space:
Identify your RGB primaries and white point in chromaticity space.
For each wavelength you want to convert, identify its chromaticity coordinate.
Find the intersection of the line between the wavelength coord. and white
with the RGB triangle.
Compute the ratio of the two out of the RGB primaries that results in that
intersection coord.
Cheers,
Graeme Gill.