Re: Enabling colour management in openGL code



On Sun, Dec 19, 2010 at 1:06 PM, Aravindh M <aravindh 2138 gmail com> wrote:
> Hi,
>
> I am a newbie. I only vaguely understand what you have written. :(
>
> As I understand, for my openGL code to run with the right colours, I
> need to fix videoLUT and the Color Matrix (What's this?). Which of
> these is fixed by using gnome colour manager?

GCM applies the VideoLUT when select a color profile, and will apply
it when you reboot your system, so you don't need to worry about that.

> You had mentioned that videoLUT works for everything on the screen,
> regardless of which application is rendering. What about Color Matrix?

GCM also sets the X atom:
http://www.freedesktop.org/wiki/Specifications/icc_profiles_in_x_spec

Which you can use the see where the select ICC profile exist, and you
can use LCMS to apply the color matrix. Though I don't know how this
applies to OpenGL.

But to make a long story short, do extensively read up on color
management in general, if you don't understand the color management
concept, you'll probably implement it wrong anyhow.

I can recommend the following book as an introduction into color
management in general:
http://www.colorremedies.com/realworldcolor/

Regards,
Pascal de Bruijn


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]