# OpenGL Coodinates
## Metadata
**Status**:: #x
**Zettel**:: #zettel/fleeting
**Created**:: [[2024-07-04]]
**AI**:: [Perplexity](https://www.perplexity.ai/search/opengl-coordinates-SdUVc2.4RE.vfhxYS8wMzA)
## Synopsis
OpenGL uses a coordinate system that can be customized, but by default:
1. The origin (0,0,0) is at the center of the viewport.
2. The x-axis goes from left (-1) to right (+1).
3. The y-axis goes from bottom (-1) to top (+1).
4. The z-axis goes from near (-1) to far (+1), with negative z going into the screen.
5. This creates a cube-shaped "clip space" from (-1,-1,-1) to (1,1,1).
