this post was submitted on 17 Jul 2024
602 points (100.0% liked)

196

16546 readers
1775 users here now

Be sure to follow the rule before you head out.

Rule: You must post before you leave.

^other^ ^rules^

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] apprehentice@lemmy.enchanted.social 53 points 4 months ago (2 children)

The trick is vertex colors

[–] Prunebutt@slrpnk.net 45 points 4 months ago* (last edited 4 months ago) (1 children)

Plus: Rare were the absolute masters of vertex colors on the N64. The ground in Banjo Kazooie was AFAIK textured gray with only vertex colors making it green for grass, etc.

[–] arandomthought@sh.itjust.works 27 points 4 months ago (2 children)

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 37 points 4 months ago (2 children)

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 11 points 4 months ago (1 children)

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@sh.itjust.works 3 points 4 months ago

As Nvidia wrote at GDC 2015, "If you're not cheating, you're just not trying."

[–] arandomthought@sh.itjust.works 3 points 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 22 points 4 months ago (1 children)

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@sh.itjust.works 2 points 4 months ago (1 children)

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.

[–] Prunebutt@slrpnk.net 2 points 4 months ago

I got the info from this german youtube channel. https://www.youtube.com/watch?v=EydD_IuSVL0

That guy makes quite interesting stuff. Unfortunately, only in German.

[–] glizzyguzzler@lemmy.blahaj.zone 1 points 4 months ago

I’ve found this claim from a dev that the RAM pack was for “vertex lighting” https://imgur.com/a/dk64-truth-ENjggIj; is that essentially vertex colors? E.g., I am asking if they basically needed the RAM pack for the monkey-tits.