Vanishing point
A vanishing point is where a set of lines that are parallel in reality seem to meet in the image, like railroad tracks, road edges or hallway corners.
The vanishing point is the place in the image where a set of lines that are parallel in reality seem to meet: the rails of a track, the edges of a road, the edges of a hallway. It is an effect of perspective, not an object in the scene, and its position can be predicted before you shoot.
Two rules fix it completely:
The horizon line of the image is at the height of the camera. The vanishing points of all the horizontal lines in the scene fall on it. If you shoot at 1.6 m, it is there; if you crouch to 40 cm, it drops with the camera.
Lines parallel to the optical axis converge at the exact center of the frame. That is why a hallway photographed head-on comes out symmetrical and one photographed from the side does not.
With the sensor plumb and parallel to the back wall, the lines converge at the center and the verticals stay parallel.
One, two and three vanishing points
Type of perspective: One point; Vanishing points: 1, at the center of the frame; Camera position: Level and parallel to the back wall; How the image reads: Symmetry, tunnel effect, calm
Type of perspective: Two points; Vanishing points: 2, on the horizon line; Camera position: Level, with a corner facing you; How the image reads: Volume and depth
Type of perspective: Three points; Vanishing points: 2 on the horizon plus 1 above or below; Camera position: Tilted up or down; How the image reads: Vertigo, scale, drama
The third point is the one for the verticals, and it only appears when the sensor plane stops being plumb. If you did not mean to tilt, that point is why buildings "fall" backward in your photos.
Strictly speaking, a scene has as many vanishing points as groups of parallel lines it contains. We talk about one, two or three because almost all architecture is built on three perpendicular axes.
What settings it calls for
Short focal length and a stopped-down aperture, because depth is lost if the foreground is blurry: 16-24 mm on full frame (11-16 mm on APS-C), between f/8 and f/11 outdoors, focusing at the hyperfocal distance. At 24 mm and f/11 the hyperfocal distance is 1.8 m and you get sharpness from 0.9 m to infinity; adjust the value for your sensor in the hyperfocal calculator.
Indoors you cannot reach f/11 without a tripod: at 16 mm and f/4 the hyperfocal distance is 2.2 m and you stay sharp from 1.1 m, which is enough for a hallway.
A vanishing point always rests on a set of leading lines that feed it. The scene-by-scene settings, the verticals errors and where to find vanishing points in a city are in vanishing point in photography: how to use it; the architecture case is in the guide to panoramas and architectural photography.
The 44 cards from Enfogram come with the hyperfocal distances by focal length and aperture printed on them, so you can focus properly inside the tunnel without taking out your phone.