3D Basics for AR/VR Developers
3D basics are the mathematics and graphics concepts every XR developer needs: vectors, matrices, quaternions and coordinate spaces for positioning and rotating objects, plus meshes, materials, textures and lighting for drawing them. They explain why objects move and appear the way they do in an engine.
Stage: Foundations · Part of the AR/VR Developer roadmap · Last reviewed 19 November 2026
What to learn in 3D Basics
- Use vector addition, dot product and cross product to compute direction and angles
- Explain local, world and camera space and convert a point between them
- Describe why quaternions are used for rotation and what gimbal lock is
- Distinguish mesh, material, shader and texture in a rendering pipeline
- Set up basic lighting and explain baked versus real-time light
3D Basics interview questions
Why do game engines use quaternions for rotation?
Quaternions represent a rotation with four numbers, avoid gimbal lock that affects Euler angles, interpolate smoothly with slerp and compose cheaply. Engines still show Euler angles in the editor for readability, but store and combine rotations internally as quaternions.
What does the dot product tell you in 3D graphics?
The dot product of two unit vectors gives the cosine of the angle between them. A value of 1 means same direction, 0 means perpendicular and -1 means opposite. It is used for lighting calculations, checking whether something is in front of the viewer, and field-of-view tests.
Where 3D Basics fits in the AR/VR Developer roadmap
3D Basics belongs to the Foundations stage (beginner level). 3D and Unity.
Other units in this stage
Back to the full AR/VR Developer roadmap