Intermediate Topic 18 of 49 Graphics, Vision & Media
Camera and Projection
Mapping 3D scenes onto a 2D view.
How it works
A virtual camera defines how a 3D scene is viewed: its position, orientation and lens parameters. The view matrix transforms world coordinates into camera space, and the projection matrix maps camera space to clip space. Perspective projection makes distant objects smaller using a frustum defined by field of view, aspect ratio and near and far planes, mimicking human vision; orthographic projection keeps parallel lines parallel and size independent of distance, used in CAD and 2D games. Dividing by w after projection yields normalized device coordinates and then the viewport transform gives screen positions.
Where it is used
Games, simulations, visualization tools, architectural software and AR/VR rendering configure cameras and projections.
Common pitfall
Setting near and far planes too far apart causes depth precision problems and z-fighting, and a near plane too close to zero wastes precision. Wrong aspect ratio stretches the image. Inconsistent handedness flips the view. Clipping occurs when objects cross the near plane. Use reversed-z or logarithmic depth for large scenes and keep the camera math consistent.
Where it fits in the course
Camera and Projection is topic 18 of 49 in Graphics, Vision & Media, rated Intermediate. It follows 3D Transformations. The next topic is Rendering Pipeline.
Practice and explore
- Open the interactive lesson, with a mini quiz.
- Take the Graphics, Vision & Media quiz.
How to study this topic
- Read the explanation above and restate the definition in your own words.
- Open the interactive lesson and answer its mini quiz.
- Read the common pitfall, then write a short example that avoids it.
- Check your understanding in the Graphics, Vision & Media quiz, and revisit the topic if you miss a question.
Frequently asked questions
What is Camera and Projection?
Where do people use Camera and Projection?
What is the most common mistake with Camera and Projection?
What should I learn before this topic?
How can I practice it?
Is Camera and Projection hard to learn?
How long does it take to learn Camera and Projection?
Which topics are related to Camera and Projection?
What should I study after Camera and Projection?
Related topics
- 3D Transformations (Graphics, Vision & Media)
- Rendering Pipeline (Graphics, Vision & Media)
- Collision Detection (Graphics, Vision & Media)
- Rasterization (Graphics, Vision & Media)