this post was submitted on 01 Dec 2025
586 points (98.3% liked)

memes

18251 readers
2566 users here now

Community rules

1. Be civilNo trolling, bigotry or other insulting / annoying behaviour

2. No politicsThis is non-politics community. For political memes please go to !politicalmemes@lemmy.world

3. No recent repostsCheck for reposts when posting a meme, you can only repost after 1 month

4. No botsNo bots without the express approval of the mods or the admins

5. No Spam/Ads/AI SlopNo advertisements or spam. This is an instance rule and the only way to live. We also consider AI slop to be spam in this community and is subject to removal.

A collection of some classic Lemmy memes for your enjoyment

Sister communities

founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] SkunkWorkz@lemmy.world 7 points 2 days ago (2 children)

Y-up sorta makes sense in games. Imagine a 2D platformer, Y is up and X is horizontal. Now add depth. Instead of flipping axis just use Z for depth.

[–] boonhet@sopuli.xyz 5 points 2 days ago (1 children)

But in top down 2D games you also use X and Y but now neither is up

[–] SkunkWorkz@lemmy.world 1 points 2 days ago

True but I think it’s also because of screen coordinates, Y is always the vertical axis in screen coordinates. So programmers translated that to 3D coordinates because in real world space the screen doesn’t lie flat but is up right. It’s probably why Y is up in OpenGL and calls the depth buffer the Z-Buffer.

[–] JigglySackles@lemmy.world 1 points 2 days ago (1 children)

That's the core of my point though. Once you add depth it's not 2d space anymore (even though the screen is 2d, the represented field is 3D) and y becomes depth.

[–] SkunkWorkz@lemmy.world 2 points 2 days ago

It all depends how you perceive the XY plane. Like if your job involves blueprints than XY plane lies flat and horizontal then it makes sense that Z axis is height. Hence why engineering software is all Z-Up. If the XY plane is upright, like screen coordinates, then Z is depth. Hence why many software that is used to create content for the screen is Y-Up. Like Maya, Houdini, Unity, OpenGL etc.