Thema: Delphi Gamma - Control

Einzelnen Beitrag anzeigen

THE MATRIX

Registriert seit: 26. Jul 2003
62 Beiträge
 
#11

Re: Gamma - Control

  Alt 31. Mai 2004, 10:23
Delphi-Quellcode:
function IsGammaRampSupported : Boolean;
var
TmpRamp : TGammaRamp;
DC : HDC;
begin
DC := GetDC(0);
Result := GetDeviceGammaRamp(DC, TmpRamp);
ReleaseDC(0, DC);
end;
Diese Funktion liefert den erwartet True oder False zurück, also eine Unterstützung von Gammarampen seitens der Hardware oder nicht.

für Radeon hat ATI hier was zu geschrieben
http://www.ati.com/developer/sdk/RAD...DEONGamma.html
Zitat:
RADEON™ Support


From the RAGE 128 PRO™ onward, ATI chips have supported 8.2 fixed-point gamma table entries, which is higher precision than their predecessors (8.0). By providing meaningful 8.8 fixed-point data to the API entrypoint(s) above, you take advantage of this added precision.


Links

* Charles Poynton's Gamma FAQ and the Gamma Chapter in his book.
* Figure out your monitor's gamma at the RADIANCE site
Leider funktionieren die Links bei ATI nicht mehr
Aber gehen muss doch ! Da ATI doch im Treiber selbst ein Gamma Control drin hat ?!
§¤*~`~*¤§¤*~`~*¤§[* ((( THE MATRIX - Reloaded ))) ]§¤*~`~*¤§¤*~`~*¤§
  Mit Zitat antworten Zitat