Re: Tesselating complex figures with Render

Keith Packard <[email protected]>
Newsgroups gmane.comp.xfree86.render
Message-ID <E1775CY-0000cL-00@localhost>
Around 21 o'clock on May 12, [email protected] wrote:

> That could work.  I assume that you mean to convert from RGB to CIE's
> XYZ, then add the Y components.  How do you intend to combine the X and
> Z components?  One simple approach is to compute x and y values then
> interpolate with a alpha weighting.  In theory this should work.  Then
> you reconvert back to X and Z, and then back to RGB.

I wasn't planning on doing any colorspace conversion, just leaving the 
operands in RGB space and using that.  Given that RGB<->XYZ is a linear 
transformation, additive results in one space are equivalent to additive 
results in the other.

Keith Packard        XFree86 Core Team        HP Cambridge Research Lab
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.