Various graphics applications use different coordinate system conventions, such as handedness or y-up vs z-up.
Graphics APIs
Different graphics APIs have different convention for their definition of the normalized device coordinate.
- OpenGL
- X, Y, Z ranges:
- Y up
-
- (-1, -1) corresponds to the top-left corner
- X, Y, Z ranges:
- Vulkan 1
- X, Y ranges:
, Z range - Y down
- (-1, -1) corresponds to the bottom-left corner
- X, Y ranges:
- DirectX
- X, Y ranges:
, Z range - Y up
- (-1, -1) corresponds to the bottom-left corner
- X, Y ranges: