Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

This question already has an answer here:

The way cartesian coordinations are presented and used is kinda confusing.

When working with 2D the vertical axis is Y, though when working with 3D the vertical axis is Z and Y becomes the "depth" axis.

Basically I'm thinking the correct way, and best way would be to use the layout of axis.

Image

Though Blender (3D modelling program) and other program, a lot games, present the axis in the "weird order" (my opinion)

Image

Also if you read on Wikipedia about cartesian coordinates, your are presented with that layout of axis.

Wikipedia Cartesian Coordinates

Is there any specific or logical reason for this "flip" of axis?

share|improve this question

marked as duplicate by bummzack, msell, Anko, Byte56 Aug 28 '13 at 13:02

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

1 Answer 1

There is no 'flip' here; both coordinate systems are exactly the same. Instead, the two images have been created using two differently oriented cameras. Which direction is 'up' is not defined by the coordinate system, but by an arbitrary mental note you make.

share|improve this answer
    
"Flipped" is what I say, I mean, is there any reason why when it's 3D, Z becomes the vertical axis and Y the depth (which I think should be flipped), and as I said what I mean about that is because the majority of programs and games you Z as the vertical axis. Where I would say Z is the depth axis. –  Vallentin Aug 28 '13 at 14:39

Not the answer you're looking for? Browse other questions tagged or ask your own question.