• Kelly@lemmy.world
    link
    fedilink
    English
    arrow-up
    248
    arrow-down
    1
    ·
    edit-2
    22 days ago

    Stupid article needs a before and after comparison.

    Instead it has way too many ads.

    “It’s a bit technical,” begins Birdwell, "but the simple version is that graphics cards at the time always stored RGB textures and even displayed everything as non linear intensities, meaning that an 8 bit RGB value of 128 encodes a pixel that’s about 22% as bright as a value of 255, but the graphics hardware was doing lighting calculations as though everything was linear.

    “The net result was that lighting always looked off. If you were trying to shade something that was curved, the dimming due to the surface angle aiming away from the light source would get darker way too quickly. Just like the example above, something that was supposed to end up looking 50% as bright as full intensity ended up looking only 22% as bright on the display. It looked very unnatural, instead of a nice curve everything was shaded way too extreme, rounded shapes looked oddly exaggerated and there wasn’t any way to get things to work in the general case.”

    This should have been easy enough to illustrate.

    Edit: Here is a greyscale illustration of a similar phenomenon:
    From https://www.odelama.com/photo/Developing-a-RAW-Photo-by-hand/

    Of course in reality it get a bit more complex when we perceive colors as having different brightness too:


    From https://www.vis4.net/blog/avoid-equidistant-hsv-colors/

  • BlackEco@lemmy.blackeco.com
    link
    fedilink
    English
    arrow-up
    94
    arrow-down
    1
    ·
    22 days ago

    It’s amazing how PC Gamer are able to spin lenghty articles out of a couple of sentences from the Half-Life 2 20th Anniversary documentary. It’s the third one so far according to my own count.

    • 9point6@lemmy.world
      link
      fedilink
      English
      arrow-up
      27
      ·
      22 days ago

      Future publishing is unfortunately circling the drain right now, they recently canned a load of other brands that had been running for decades

    • LiveLM@lemmy.zip
      link
      fedilink
      English
      arrow-up
      22
      ·
      22 days ago

      They will not stop milking it until they’ve retold the entire documentary article by article

  • Braindead@programming.dev
    link
    fedilink
    English
    arrow-up
    69
    ·
    edit-2
    22 days ago

    Regardless of the criticism on this article, you do have to give credits for the writer actually reaching out to Birdwell, and doing at least some investigative journalism.

  • mindbleach@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    12
    ·
    21 days ago

    TLDR: sRGB.

    For more complex errors in rendering assumptions, consider roughness. Lambertian lighting assumes surfaces are isotropic, i.e., the same from all directions. Brightness is the cosine of the angle to the light source. It’s why a lot of old renders look like smooth plastic. To my knowledge, Oren-Nayar was the first model to get diffuse brightness right, by looking more like chalk.

  • Ephera@lemmy.ml
    link
    fedilink
    English
    arrow-up
    7
    ·
    21 days ago

    Reminds me of how frequently folks get color blending wrong (using linear blending results in darker colors). Or also volume sliders (using a linear scale results in much stronger volume changes near supposedly-silent volumes).

    It just looks/sounds vaguely right and then no one ever questions it…