logoalt Hacker News

Why 3dfx 1 cards had such a washed out color output?

262 points • by mfiguiere • today at 12:16 AM • 94 comments • view on HN

Comments

AkBKukU • today at 1:31 PM

I have two alternate observations, because VGA is an analog signal there are standards for what the voltages should be. But they were not always followed. Keep in mind that the first two Voodoo cards were also video switchers with a chip to output either the 2D passthrough or the internally generated 3D chip signal created by its own GENDAC.

1. I have a Voodoo 2 paired with an S3 Virge/DX, the Voodoo 2 output level is lower. On a CRT I always have to make the image brighter when running a 3DFX game. Additionally, the V-Sync pulse is not the same as the Virge/DX and the Voodoo 2 image is shifted up.

2. I have a Voodoo Rush which is the maligned hybrid model of 2D and 3D chipsets on a single card. It still uses the internal switching though. On this card the voltage issues are the opposite, the 2D output is significantly dimmer than the 3D which makes the 3D game clip badly when running something until the image is adjusted again.

These problems are voltage level issues with the signal, not gamma. Adjusting gamma will not change the black or white voltage level of the signal. But a lower voltage signal may seem brighter as gamma is raised and the dynamic range is compressed.

> we were so enthralled by the absolute performance of 3DFX that the color fidelity didn’t get as much attention as it should have.

I would say it's more likely that they just didn't notice and the varying outputs from different 3DFX cards, with different GENDAC's, on differently calibrated CRTs just made it a total mess to try and and dial in something as imperceptible as a gamma level. Also keep in mind that around 1995-1996 adjusting the brightness of a CRT was as easy as twisting a few knobs on the front of it.

➕ show 1 reply
herodoturtle • today at 9:16 AM

It's pretty cool that someone can ask an interesting graphics-related question, and John Carmack of all people steps in to answer it. And then even Eric S. Raymond adds a comment further below.

➕ show 4 replies
Dwedit • today at 5:25 AM

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).

➕ show 1 reply
tannhaeuser • today at 6:58 AM

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.

Edit: see comments re founders

➕ show 6 replies
gwbas1c • today at 2:35 PM

> If you only have a small number of discrete pixel values, you definitely don’t want to spread them evenly from 0 to 1! If you do, you will have good precision in the brights, but very stark “intensity bands” in the dark colors.

That's probably why streaming video has so much banding in dark streams too.

➕ show 2 replies
Spalau • today at 1:59 PM

Although I never saw Quake on a 3dfx card, it has a recognizable "style." I like that style in modern user-made maps, some of which are entire games with multiple levels.

I always thought the style was an artistic choice rather than a technical limitation.

Now I understand that a lot of old graphics "styles" were restricted by the existing hardware.

doe88 • today at 5:37 PM

Carmack answering a question of Sanglard, you might as well train a model just on their chats :)

dcrazy • today at 6:13 AM

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.

➕ show 1 reply
cmovq • today at 3:31 PM

These days you just author your textures in sRGB, convert them to linear when they’re read, do all the filtering and lighting in linear space and convert the final render target to sRGB (or HDR). Of course this was much more difficult back then with fixed function hardware

Cloudef • today at 7:58 AM

Is there repost that's not on that garbage site?

➕ show 2 replies
vessenes • today at 4:55 AM

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?

➕ show 1 reply
stateoff • today at 11:02 AM

Good read on the topic is Charles Poynton site and books, e.g. https://www.poynton.ca/pdf/GammaFAQ.pdf

basilgohar • today at 3:22 PM

I thought this was going to be about how 3dfx cards rendered only 16 bit color, but I was surprised that this was actually about a hardware issue. Interesting!

bni • today at 9:58 AM

I had a Nvidia RIVA 128 card before I bought a Voodoo 2 instead.

The Riva came with the OEM PC I got. I remember HL2 looked very washed out on it and being quite unhappy with that. Funny that the 3dfx "solved" it for me.

➕ show 1 reply
threeeeed • today at 3:38 PM

One compounding issue that the article is missing is that alpha blending was not performed in the correct color space on voodoo cards, was not gamma correct. This also contributed to the washed out effect.

nullc • today at 6:46 AM

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.

➕ show 1 reply
rasz • today at 5:46 AM

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.

➕ show 1 reply
anal_reactor • today at 8:19 AM

A bit tangential, but in modern games with HDR I still get the fucking banding of dark colors.

Someone enlighten me what HDR actually does then.

➕ show 3 replies
cyberax • today at 5:27 AM

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?

➕ show 4 replies
contingencies • today at 5:24 AM

It's time to kick ass and render color. And I'm all outta color.

➕ show 1 reply
arthur_steel • today at 1:51 PM

[flagged]

benchnotes • today at 5:49 AM

[dead]

indubioproIO • today at 6:32 AM

[dead]

Luke2642 • today at 7:55 AM

I dream of a parallel timeline when OKLAB became the standard colourspace in 1980! It's a very colourful dream, the lightness stays consistent as the hues change, and colour interpolation just works!

➕ show 3 replies