Skip to content

Local vs World vs View vs Screen Space

Zack edited this page Feb 14, 2025 · 2 revisions

To explain all these spaces, I'll use a 2D view but the same thing applies in 3D

Everything starts in local space, relative to 0, 0, 0. This is how the mesh was stored in the file.

If you rendered everything in local space they would be stacked on top of each other like this Screenshot 2024-11-02 122111

Next they are transformed to world space. This is what you imagine the world looking like, with everything in place, with rotation and scale. Screenshot 2024-11-02 121713

The world space coordinates need to be converted to screen coordinates, which is much easier to do when everything is relative to the camera

So the next step is view space, where everything is relative to the camera

Screenshot 2024-11-02 122125

Last is screen-space, where everything is flattened and scaled down

image

Clone this wiki locally