A demo that shows the interactions of SRGB conversions and anti-aliasing
 
 
 
Go to file
Allen Webster 776dfe46d2 sub-pixel rectangles with analytical anti-aliasing 2023-04-27 16:45:25 -07:00
bin setup the srgb anti-aliasing experiments standalone program 2023-04-24 19:12:55 -07:00
src sub-pixel rectangles with analytical anti-aliasing 2023-04-27 16:45:25 -07:00
.gitignore setup the srgb anti-aliasing experiments standalone program 2023-04-24 19:12:55 -07:00
LICENSE-GPL-3.txt setup the srgb anti-aliasing experiments standalone program 2023-04-24 19:12:55 -07:00
README.md setup the srgb anti-aliasing experiments standalone program 2023-04-24 19:12:55 -07:00
project.4coder setup the srgb anti-aliasing experiments standalone program 2023-04-24 19:12:55 -07:00

README.md

Copyright (C) 2023 Allen Webster https://mr4th.com

Distributed with GPL 3 license (full license in LICENSE-GPL-3.txt)

Contact

allenw@mr4th.com

Purpose

This is a standalone Win32 OpenGL application that works as a set of experiments to demonstrate the behavior and effect of SRGB conversions and antialiasing techniques

In the final output program, the left side shows the gamma-naive results where no SRGB conversions are applied to input colors or to output colors. The right side shows the gamma-aware results where input colors are converted from SRGB to Linear RGB, and output colors are converted from Linear RGB to SRGB.

From top to bottom the experiments are:

  1. A gradient which goes white (1,1,1) to black (0,0,0) interpolated linearly by alpha = (x - left)/(right - left) color = (1,1,1)(1 - alpha) + (0,0,0)(alpha)