Hard to believe, but Nvidia, founded by former SGI engineers, was considered an entrepreneur and challenger of 3dfx, the dominant pioneer in PC 3D hardware 30 years ago.
I remember watching John document his education about linear color blending on Twitter. I believe it was when he was adding HDR to Rage. It was amazing to me that he had had such a blind spot for so long.
You might have heard about sRGB (the commonly used colorspace) not being linear, and that to get halfway between black and white (linear RGB of 50%), you get an sRGB value of around 74%.
But there is one place where sRGB is truly linear, and that is signal voltage for a CRT display. 50% of sRGB truly means 50% of signal voltage (between the minimum and maximum voltages).
I'm so curious what John's AI startup is doing. I got to talk to him briefly right when he was launching, and I was excited to hear about what he's building. John, any recent updates?
A lot of people today trying to 'be correct' and resample in linear space end up getting worse results either because of introducing banding from quarantining back to 8-bits or because the non-linear space resampling often happens to do something closer to the right thing thanks to human contrast-sensitivity function.
You might, like I did, think wtf is he talking about, default is linear and 3dfx bends it. But CRT monitors y = 2.2! When added up (multiply exponents) 3dfx is closer to linear output than ordinary VGA. You would still have to set 3dfx to 2.2 to get perfect linear output.
TLDR: Carmack is partially right. As he says even game developers were clueless. Nobody had to change their workflows. You could call glide grGammaCorrectionValue or even easier set DOS environment variable SST_GAMMA to 1 to get Exact same color mapping as ordinary VGA.
Why did 3dfx boost that? deffo not to get linear output, if they wanted linear they would set 2.2. Probably a Color twist on loudness war, brighter better, or maybe felt bad half the bits would get wasted (crushed into near blacks) in 16bit rendering.
grGammaCorrectionValue() sounds like the DAC -- so during scanout.
Which by itself isn't the worst, if you have a 24-bit framebuffer and sRGB read conversion. Without read conversion and going from 565 textures to 565 framebuffer with a 1.5 gamma... blecch. Checking the curves, the banding on the low end is worse than an Atari 2600!
Another interesting question: I remember getting a 3D accelerator (some Riva card?) and getting surprised how everything started looking reddish in Quake 2, compared to software rendering.
Hard to believe, but Nvidia, founded by former SGI engineers, was considered an entrepreneur and challenger of 3dfx, the dominant pioneer in PC 3D hardware 30 years ago.
I remember watching John document his education about linear color blending on Twitter. I believe it was when he was adding HDR to Rage. It was amazing to me that he had had such a blind spot for so long.
You might have heard about sRGB (the commonly used colorspace) not being linear, and that to get halfway between black and white (linear RGB of 50%), you get an sRGB value of around 74%.
But there is one place where sRGB is truly linear, and that is signal voltage for a CRT display. 50% of sRGB truly means 50% of signal voltage (between the minimum and maximum voltages).
I'm so curious what John's AI startup is doing. I got to talk to him briefly right when he was launching, and I was excited to hear about what he's building. John, any recent updates?
Seems that this is startup https://keenagi.com/
A lot of people today trying to 'be correct' and resample in linear space end up getting worse results either because of introducing banding from quarantining back to 8-bits or because the non-linear space resampling often happens to do something closer to the right thing thanks to human contrast-sensitivity function.
In numbers:
VGA default gamma y = 1 aka linear
3DFX default gamma y = 1.5
You might, like I did, think wtf is he talking about, default is linear and 3dfx bends it. But CRT monitors y = 2.2! When added up (multiply exponents) 3dfx is closer to linear output than ordinary VGA. You would still have to set 3dfx to 2.2 to get perfect linear output.
TLDR: Carmack is partially right. As he says even game developers were clueless. Nobody had to change their workflows. You could call glide grGammaCorrectionValue or even easier set DOS environment variable SST_GAMMA to 1 to get Exact same color mapping as ordinary VGA.
Why did 3dfx boost that? deffo not to get linear output, if they wanted linear they would set 2.2. Probably a Color twist on loudness war, brighter better, or maybe felt bad half the bits would get wasted (crushed into near blacks) in 16bit rendering.
Where was this applied in the 3dfx? In the analog output?
grGammaCorrectionValue() sounds like the DAC -- so during scanout.
Which by itself isn't the worst, if you have a 24-bit framebuffer and sRGB read conversion. Without read conversion and going from 565 textures to 565 framebuffer with a 1.5 gamma... blecch. Checking the curves, the banding on the low end is worse than an Atari 2600!
Another interesting question: I remember getting a 3D accelerator (some Riva card?) and getting surprised how everything started looking reddish in Quake 2, compared to software rendering.
Does anyone know the reason for that?
IIRC the software renderer in Quake 2 doesn't do coloured lighting.
I explained to myself at the time that it is because skybox light start to tint everything underneath it.
It's time to kick ass and render color. And I'm all outta color.
Entirely different studio and codebases, I’m afraid.