06 Space, camera and depth
Camera: who is looking at the scene
The top right shows the camera’s view volume; nearby objects look bigger.
2580
39
Exercise
Drag the underlined numbers left and rightDrag numbers, or edit the code
camera.position.z = ;camera.fov = ;camera.updateProjectionMatrix();renderer.render(scene, camera);
CameraFOV is the viewing angle, not a scale on the object.JS side
FOV is a viewing angle, not a zoom; both camera distance and FOV change the projection matrix.
Try it
- Set FOV to 25, then 80
- Watch how the camera volume changes in the small view at the top right