Game dev
Saved & recent

Coordinate spaces

Related terms: local, world, view, clip space

The same point has different coordinates depending on what you measure from. Local space is relative to the object's own origin. World space is relative to the scene. View space is relative to the camera. Clip space is what the screen sees after perspective is applied.

Three matrices move a vertex along that chain. Together they are called MVP: model, view, projection.

Further reading
LearnOpenGL: Coordinate systems
local space world space view space projected image model view clip spacedivide by w
The marked vertex is measured from the object, world and camera origins in turn. Projection produces clip coordinates, which become the displayed image coordinates after dividing by w.

View in the full Game dev collection