gamma correction

New Message Reply Date view Thread view Subject view Author view

Eric Heft (eheft++at++dnaco.net)
Thu, 22 Aug 1996 10:53:40 -0400 (EDT)


Hi,

   This may not be exactly a performer question but ... :)

   I'm using performer 2.0. Irix 5.3 on an onyx RE.

   I'd like to calibrate a monitor so we can run a contrast
sensitivity task. It would be nice to be able to linearize
the output of the monitor.

   I've looked at the man pages for gamma correction and
there seem to be 2 ways to setup the gamma correction.

 #1 : gamma <value> - sets the system gamma to <value>.
      This is a system call and doesn't give exact control
      of each output value.

 #2 : gammaramp(...) - give the r,g,b values to display
      when a given indexed color is requesed. This is a
      GL call and only works in indirect mode.

I've currently have the display part of the program done by
making some modifications to the perfly program, all thats
left is gamma correction and being able to get the exact
color output of the target. So my questions are :

Whats the best way to gamma correct under performer?

How do I get the exact color displayed for a given point?
Object? etc.

Thanks in advance.
-- Eric
=======================================================================
List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
            Submissions: info-performer++at++sgi.com
        Admin. requests: info-performer-request++at++sgi.com


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:53:24 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.