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

(twitter.com)

126 points | by mfiguiere 9 hours ago ago

34 comments

  • herodoturtle 29 minutes ago ago

    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.

    • parasti 12 minutes ago ago

      Fabien Sanglard isn't just someone.

  • tannhaeuser 3 hours ago ago

    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

    • rob74 2 hours ago ago

      Yeah, 3dfx were the pioneers in the 3D graphics space, but because of various mistakes on their side (relying on their proprietary API and on add-on 3D cards for too long, alienating board partners by starting to build their own cards) and faster development by the competitors, Nvidia (and ATI) ate their lunch.

      • po1nt an hour ago ago

        Funny. Nvidia does the same thing today.

      • rasz an hour ago ago

        Didnt the board specifically push for vertical integration to chase those sweet downstream margins?

    • tverbeure 2 hours ago ago

      It was founded by 2 former Sun engineers and 1 LSI logic engineer.

    • trq01758 2 hours ago ago

      3dfx founders were ex Silicon Graphics, for Nvidia - Jensen worked at LSI and AMD, others were from Sun.

  • Dwedit 4 hours ago ago

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

  • Cloudef 2 hours ago ago

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

  • dcrazy 4 hours ago 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.

  • Luke2642 2 hours ago ago

    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!

    • barrkel an hour ago ago

      Oklab/oklch is good for consistent luminance across hue, but the real world gamut is so limited - our display / print tech is always able to make green/yellow far brighter than red/blue, for any given tech - it can be a little frustrating to use.

    • fps-hero an hour ago ago

      Humans are too flawed with colour perception. I wish color were 2D, but much like music, it depends on what notes you play.

      It’s bad enough that monitors do not produce colour accuracy, or to the full gamut.

      Honestly, it’s the one thing Apple got right. Everyone in the creative industry runs Apple, and Apple had a consistency with color. Good luck getting your stuff approved if you produced it on Windows.

      • barrkel an hour ago ago

        Expecting a full gamut is unreasonable when you consider what it would mean: huge brightness for blue and red, artificial limiting of green.

        Our eyes are simply more sensitive to yellowish green. Any reasonable tech will have a gamut that is tented towards green.

  • vessenes 5 hours ago ago

    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?

  • nullc 3 hours ago ago

    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.

    • thrdbndndn an hour ago ago

      Human contrast sensitivity doesn't change the physics of light mixing/blending, which should always happen in linear space.

      I do agree with you on the quantisation issues when working in linear space without taking proper care, though.

  • anal_reactor an hour ago ago

    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.

    • Cloudef 20 minutes ago ago

      HDR are extra brightness on your display. In practice it's kind of a mess, as both the hardware and software implementation has to be good. If you have cheap display, you'll get something marketed as HDR even though it would look better with it turned off, as they likely use very big extra brightness zones, so it won't end up looking right. On software side, unless it's a console, the PC stack was not designed for HDR and it really takes co-operation of the whole stack to make it look correct on the display. For a while, for best result you had to basically bypass most of your display stack to get correct results. Valve's been working on it for their own platform, and wayland has some experimental support.

      EDIT: For TV, HDR works well assuming you don't have cheap TV.

    • cowlevel an hour ago ago

      mainly it confuses the heck out of everyone because some display industry association tried to tie it to absolute luminosity and then made HDR content way too bright or dark relative to everything around it

  • rasz 4 hours ago ago

    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.

    • superjan 4 hours ago ago

      Where was this applied in the 3dfx? In the analog output?

      • ack_complete 2 hours ago ago

        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!

  • cyberax 4 hours ago ago

    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?

    • Panzerschrek an hour ago ago

      Quake II uses old 8-bit approach in its software rasterizer, which isn't capable of applying colored lighting. It's a shame, that no progress was made since original Quake. Half-Life (also derived from Quake) did better job and supports colored lighting in software mode.

      In OpenGL mode colored lighting is there. But map designers overused it too much, especially in outdoor locations having yellow sky lighting, which looks somewhat depressive.

    • nopurpose 2 hours ago ago

      I explained to myself at the time that it is because skybox light start to tint everything underneath it.

    • fredoralive 2 hours ago ago

      IIRC the software renderer in Quake 2 doesn't do coloured lighting.

  • contingencies 4 hours ago ago

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