• arandomthought
    link
    fedilink
    arrow-up
    27
    ·
    4 months ago

    Can you explain what vertex coloring does? Like does it create a color gradient between vertecies? And how does this help with making… “things” round?

    • blargerer@kbin.melroy.org
      link
      fedilink
      arrow-up
      37
      ·
      4 months ago

      They aren’t actually round. Look at the edges on her right breast against the dark background compared to how round her left breast looks. The mesh itself is quite angular still (though perhaps not as bad as Lora Croft), but the shader is using the colour’s attached to each vertex to create a gradient that gives the impression of a smooth surface.

      • frezik@midwest.social
        link
        fedilink
        arrow-up
        11
        ·
        4 months ago

        There’s a maxim in computer graphics: if it looks right, it is right. This is a pretty good example. Lots more angles here than initially appears, but the overall effect looks rounded.

        • mindbleach
          link
          fedilink
          arrow-up
          3
          ·
          4 months ago

          As Nvidia wrote at GDC 2015, “If you’re not cheating, you’re just not trying.”

      • arandomthought
        link
        fedilink
        arrow-up
        3
        ·
        4 months ago

        I see what you mean. If it werent for the edge with the dark background it would be hard to tell where the edges are at all.

    • Prunebutt@slrpnk.net
      link
      fedilink
      arrow-up
      22
      ·
      4 months ago

      It just overlays a color on a vertex. This results in…

      Like does it create a color gradient between vertecies?

      bingo.

      They used clever coloring to create the shadow/light effects which where way too advanced for the N64 if you did it the “conventional” way.

      • arandomthought
        link
        fedilink
        arrow-up
        2
        ·
        4 months ago

        Thanks for the answer. My searches on the internet just brought up mathematical graph theory.

        It’s so cool to see what simple yet clever tricks they used to use. The tricks used today are probably still very clever but definitely no longer simple.