Semen Klenov

Home / Journal / 3D & CGI

Space and Coordinates: a practical CGI guide

Work in real units: 1 unit = 1 meter. Gravity (9.81 m/s²), light falloff and depth of field only behave correctly at real scale.

CGIBy Semen Klenov26 November 2026

Space and Coordinates: a practical CGI guide

Every position, direction and size in a 3D scene is a set of numbers measured against some reference. When a model arrives lying on its side, a hundred times too big, or with light that looks wrong, the cause is almost always a coordinate or scale mismatch.

Key points

  • Work in real units: 1 unit = 1 meter. Gravity (9.81 m/s²), light falloff and depth of field only behave correctly at real scale.
  • Programs disagree on up axis and units: Blender is Z-up in meters, Maya and Houdini are Y-up, Unreal Engine is Z-up in centimeters. Set the exporter every time.
  • Keep the subject near the origin and the floor at height 0.
  • A normal is a direction of length 1, perpendicular to the surface. Lighting depends on it.

Axes and Handedness

  • Cartesian coordinate system: Three perpendicular axes X, Y, Z meeting at an origin (0, 0, 0). Any point is a triple of numbers.
  • Handedness: Point the thumb along X and the index finger along Y; the middle finger shows +Z. If this works with the right hand, the system is right-handed; otherwise it is left-handed.
  • Up axis: Which axis points to the sky. This is a convention of each program, not a law of nature.
  • Color convention: Almost every program draws X red, Y green, Z blue (RGB = XYZ).
ProgramUp axisHandednessDefault unit
BlenderZRight1 unit = 1 m
HoudiniYRight1 unit = 1 m (convention)
MayaYRightCentimeter
Cinema 4DYLeftCentimeter
Unreal EngineZLeftCentimeter
UnityYLeft1 unit = 1 m
USD (default)Y (can be set to Z)RightSet by metersPerUnit
  • Consequence: Moving a scene between programs can rotate it by 90° (Y-up ↔ Z-up), mirror it (left ↔ right), or scale it by 100 (m ↔ cm). Exporters correct this only when you set them correctly.

Coordinate Spaces

  • Object (local) space: Coordinates relative to the object’s own origin (pivot). A chair’s leg is “40 cm below the seat” no matter where the chair stands.
  • World space: Coordinates relative to the scene origin. Where the chair is in the room.
  • Parent space: Coordinates relative to the object’s parent in a hierarchy.
  • Camera (view) space: Coordinates relative to the camera: the camera sits at the origin and looks along one axis.
  • Clip and NDC (normalized device coordinates): After perspective projection, the visible volume is squeezed into a standard box (−1…1 or 0…1).
  • Screen (raster) space: Final pixel coordinates in the image.
  • Tangent space: A small local frame on each point of a surface (normal, tangent, bitangent). Normal maps are usually stored in tangent space.
  • UV (texture) space: A 2D space (U, V, from 0 to 1) that maps an image onto a surface.
  • Rule: Before reading or writing any number — a position, a normal, a velocity — ask in which space is it? Most bugs in shaders, scripts and simulations come from mixing spaces.

Units and Real-World Scale

  • Unit: What one number means in the physical world. In this book: 1 unit = 1 meter.
  • Why real scale matters in CGI:
    • Light: Point and area light falloff follows the inverse-square law. A model ten times too big receives a hundred times less light from the same lamp at proportionally the same position.
    • Camera: Depth of field depends on real focal length, sensor size and distance. A product modeled at the wrong size gets the wrong amount of blur — the classic cause of “miniature” or “giant” look.
    • Simulation: Gravity is 9.81 m/s²; fluids, cloth and rigid bodies behave by mass and size. A 2-meter water glass splashes like a swimming pool.
    • Subsurface scattering and volumes: Scattering distances are in scene units; wrong scale makes skin look like wax or soap like stone.
    • Teamwork: Clients send CAD in millimeters; game engines use centimeters; trackers deliver cameras in arbitrary units. Somebody must convert, on purpose.
  • Measuring: Model from real dimensions (product drawings, calipers, a ruler in the reference photo). Keep a 1.8 m human reference figure and a 10 cm cube in your template scene.
  • Grid and snapping: Set the grid to meaningful steps (1 cm, 10 cm, 1 m) for the current task.

Origin, Pivot and Ground

  • Scene origin: Place the main subject near (0, 0, 0). Floating-point precision drops far from the origin: at kilometers away, vertices start to jitter and simulations become unstable.
  • Object origin (pivot): The point the object rotates and scales around. For a product, usually the base center, so it sits on the ground at height 0 and turns naturally on a turntable.
  • Ground plane: Keep the floor at height 0 in the up axis. Shadow catchers, simulations and camera tracking all assume a known ground.

Directions and Normals

  • Direction vector: An arrow without position — “towards the key light”, “the way the surface faces”.
  • Unit (normalized) vector: A direction of length 1. Lighting math expects normalized vectors.
  • Normal: The direction a surface faces at a point. Normals decide shading, backface culling and how simulations collide. Flipped normals render black or invisible in some engines.
  • Winding order: The order of a polygon’s vertices (clockwise or counter-clockwise) that defines its front side.

In the tools

  • Blender: Scene Properties → Units (Metric, Unit Scale 1.0). Check Object → Apply → Scale before export so the object scale reads 1.0. The N-panel shows dimensions in meters.
  • Unreal Engine 5: Z-up, left-handed, 1 unit = 1 cm. On import, check the scale options (Import Uniform Scale, Convert Scene Unit) and the result against a 1.8 m mannequin.
  • Exchange: On FBX export from Blender set Apply Scalings and Forward/Up axes for the target. In USD, set upAxis and metersPerUnit on the stage.

Common mistakes

  • Scaling an object in object mode and never applying the scale — simulations and modifiers then use the wrong size.
  • Importing CAD in millimeters and “fixing” it by eye.
  • Placing the hero object far from the origin.
  • Flipped normals that look fine in the viewport and break in the render.