this post was submitted on 06 Jun 2025
180 points (98.9% liked)

Game Development

4474 readers
1 users here now

Welcome to the game development community! This is a place to talk about and post anything related to the field of game development.

Community Wiki

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

Z is depth. Why should it ever be up? Honest question.

[–] egerlach@lemmy.ca 6 points 1 week ago (1 children)

It depends if you view the X-Y plane as the camera/viewport/screen or the ground. If X-Y is the ground, then Z is either up or down.

[–] nlgranger@lemmy.world 2 points 1 week ago

For cameras, the convention is Z depth but right handed:

  • X rightward / pixel column from the left
  • Y downward / pixel row from the top