Where parallel lines meet
Take a 3D line through the point with direction . Its points project to
As the point moves away (), the second term dominates, and the image point approaches the vanishing point
Neither nor appears in it, so all lines with the same direction share the same vanishing point, and moving the camera without turning it does not move it. In the 3D view, the dashed ray from the camera center parallel to the lines hits the image plane exactly at : the vanishing point is the image of the point at infinity in direction . As in homogeneous coordinates, it can be computed as the intersection of two image lines .
If is parallel to the image plane, the third coordinate of is . Then the vanishing point is itself at infinity, and the image lines stay parallel. This is why vertical walls stay vertical in a photo taken with a level camera.
Vanishing lines and the horizon
All directions within a plane have their vanishing points on one line, the vanishing line of the plane (and of all planes parallel to it). It passes through any two of these vanishing points. For the ground plane, spanned by and , this is the horizon:
The horizon is the image of the plane through the camera center parallel to the ground, so everything at the height of the camera lies on it. The ramp in the scene is tilted: its edges vanish above the horizon, on the vanishing line of the ramp's own surface (dashed purple).
One-, two- and three-point perspective
- One-point: the camera looks straight along . Only the depth lines converge, to the principal point; and lines stay parallel.
- Two-point: the camera turns (yaw) but stays level. and lines converge to two points on the horizon, vertical lines stay parallel.
- Three-point: the camera also tilts (pitch). Vertical lines converge as well, above the image when looking up, below it when looking down.
Try this
- Set pitch to 0. The vertical lines become parallel: has and moves to infinity.
- Press “One-point perspective”. sits at the principal point, and is at infinity as well.
- Change the camera height. The horizon and all vanishing points stay where they are, since does not depend on the position.
- Set the height to 3 m: the top of the left building is at camera height and lies exactly on the horizon. Try 2 m for the right one.
- Turn the yaw. and slide along the horizon in opposite directions. Zoom out to follow them.
- Roll the camera. The horizon tilts, but it still passes through and .
- Pitch the camera up and down. The horizon moves down and up, and jumps from far above the image to far below it when it passes through infinity.
- Pick a family under “check family” and compare with in the panel.