• over_clox@lemmy.world
    link
    fedilink
    English
    arrow-up
    31
    arrow-down
    1
    ·
    edit-2
    29 days ago

    I’ve lightly dabbled into subpixel art, sorta.

    In my experiments, each full pixel still takes 3 subpixels, but…

    If you drop a white pixel at X coordinate, it renders 0xFFFFFF on the RGB subpixels.

    But drop a white pixel on X+0.33, it renders on GBR.

    Drop a white pixel on X+0.67, it renders on BRG.

    All three are valid white full pixels, just offset by thirds.

    I guess that would more appropriately be considered ‘fractional pixels’ or something though. Still neat that if used properly and creatively, it can yield higher resolution graphics, of sorts…

    • gsfraley@lemmy.world
      link
      fedilink
      English
      arrow-up
      25
      ·
      29 days ago

      Those tricks are actually used pretty frequently in modern graphics stacks, especially around things with fine edges like text. In those cases it’s called “subpixel anti-aliasing”.

      • cmnybo@discuss.tchncs.de
        link
        fedilink
        English
        arrow-up
        9
        ·
        28 days ago

        Of course that all falls apart if the display doesn’t use a normal subpixel layout. OLED displays usually have an unsupported subpixel layout. Some of them even have a white subpixel that’s not controllable by the computer, which makes subpixel anti-aliasing impossible.

        • iamanurd@midwest.social
          link
          fedilink
          English
          arrow-up
          4
          ·
          28 days ago

          I returned my first oled because of this. It was maddening reading and writing, and made any graphic design impossible.

          Bought a new one this year and they seem to have solved the problem.

  • BoofStroke@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    18
    ·
    edit-2
    29 days ago

    This was a trick back in the computer hooked to your TV days. There was a higher resolution mode on my Tandy color computer. It was black and white, though. But if you alternated positions properly you could also have solid red and blue fills.