Concept

Vanishing point — where it appears

25 essays name this object, across 9 fields. What follows is each of them, and the objects they name alongside it.
horizon — the eye's own heightbase — 0 mhorizon crossing — 1.62 mtop — 3.40 m recoveredthe vertical vanishing point is 8586 px above this framerecovered 3.400 m · true 3.400 m1.8 cm per pixel of click error

A height, out of one photograph

Four points on a vertical, one cross-ratio, and the height of something nobody measured. The only metric input is the photographer's own eye height, because the horizon is at eye level and that is the one piece of perspective folklore that is exactly true.

metrology · height
correct from 26 cm, at 160 mm wide34° across

A shadow is a second projection

The construction that puts a shadow on the ground is the construction that puts the scene on the picture plane, with the lamp where the eye was. Shadow drawing is taught as a separate set of recipes and it is one operation with the centre moved, which is why the same code draws both.

light · shadow
horizon3 vanishing points at a finite distance2564 px · 8129 px · 531 px

One, two and three point are one construction

The names count how many vanishing points sit at a finite place in the picture, and the count is a fact about how the object is turned and the camera is aimed. Nothing about the method changes between them, and a vanishing point does not appear — it arrives from infinity.

construction · pointcount
the picture, 160 mm wide22 cm40°the eyefocal length 948 px22 cm at 160 mm wide

The point you have to stand at

A perspective picture is a projection through a centre, and scaling that centre's distance to the width the picture is actually shown at gives a distance in centimetres. Shown 160 mm wide, a 40° picture is correct from 22 cm and a 90° one from 8 cm. Nobody stands there, and that single fact explains most of what gets called distortion.

viewing · station
horizonABCDon the groundin the picturelength AB1.00011.3930ratio AB:CD0.56670.6837cross-ratio1.31681.3168correct from 26 cm, at 160 mm wide34° across

What a projection destroys

A projection loses length, angle, area and the ratio in which a point divides a segment. Exactly one quantity comes through untouched, and almost everything that can be checked about a picture is checked with it — including, as it turns out, some things it cannot check at all.

foundations · crossratio
horizoncorner angles90.000° — forced by the methoddepicted side ratio0.7195lens this drawing implies60° acrossdrawn exactly as the method prescribesthe free step is where the far edges go

The cube that is a box

The two-point cube every book teaches has a step it supplies no construction for. Place the two far edges symmetrically and the drawing depicts a cube for free; place them eight points apart — a difference invisible on the page — and it depicts a box 1.4 times shallower than it is wide.

wrong · cubebyeye
the picturethe same plane, rectifieddoor — 0.5068 widths (true 0.5068)sill — 0.3026 widths (true 0.3026)diagonal — 1.1766 widths (true 1.1766)worst error 4e-16 relativethe probes were not used to build the map

Flattening a façade out of the photograph

Four corners of a rectangle whose proportions are known are enough to undo the projection of one plane. After that the plane can be measured with a ruler — lengths, angles, areas, all of it — in units of the rectangle's own width, and lengths the map was never given come back to fifteen digits.

metrology · rectify
horizon — the image of the line at infinityvanishing point at x = 1464 — off the framecorrect from 26 cm, at 160 mm wide34° across

Where parallel lines meet

They meet at a point that is not in the plane, and the horizon is the line made of all such points. Treating that as bookkeeping misses what it buys — a vanishing point becomes an ordinary point of the picture, findable from the drawn lines, checkable, and enterable into any calculation the others are.

foundations · vanishing
horizonshadows meet at x = -58, off the frameon the horizon, as it must be

Where shadows vanish

The shadows of parallel posts under the sun meet at a point, and that point must lie on the horizon. Under a lamp they meet at the lamp's foot instead. Both are checkable in any photograph, and a picture whose shadows fail the check was not lit by anything.

light · shadowvp
horizonequal stepshalve thetaper byworst error, in metres of depthequal steps to the horizon11.72 mhalve the remaining gap225.13 mtaper by eye347.80 mcorrect from 26 cm, at 160 mm wide34° across

Dividing depth by eye

Three methods for spacing a receding row, all of them taught, all of them wrong. Read back as distances, the best misplaces a post by 3.5 metres in a row that is supposed to be spaced 1.4. And the obvious way of checking them gives one of the three a perfect score.

wrong · deptheye
246VPcorrect from 26 cm, at 160 mm wide34° across

The measuring point, and the step the method leaves out

Laying out equal depths correctly needs a second vanishing point that most treatments never introduce — the one belonging to the diagonals. With it the construction lands on the projected divisions to eighty femtopixels. Without it, depth is placed by judgement and the drawing depicts something nobody chose.

construction · measuring
00.50011.502-0.400-0.20000.200k₁departure of the cross-ratio from the world's value (%)pinhole1.29%the pinhole's own error, on the same four points2e-16 — the control

A lens destroys the invariant

The cross-ratio is the one thing a projection preserves, and everything checkable on this site is checked with it. A lens returns it one and a third per cent out where the pinhole is exact to fifteen digits — and the height error that follows tracks a quantity nobody would guess.

lens · distortion
the water surfacethe pinholethe rays miss by 9.9 mmno single viewpoint — the rays miss by 9.9 mmdry control: 0e+0 m

A picture through water has no viewpoint

Continue the rays of a refracted picture into the water and fit them to a common point. They miss it by ten millimetres. The same fit with the water taken away misses by zero, which is what makes ten millimetres a measurement rather than a number.

refraction · nocentre
grey: the reflectiontwo routes, agreeing to 0e+0 px after one flip

A mirror is a second camera

Reflect the scene and photograph it, or reflect the camera and photograph the scene. The two routes disagree by 315 px and agree to the last bit once one axis of the image is reversed — which is the whole of why a mirror is said to swap left and right, written down.

light · mirror
isometric — the limit2.5 m6 m20 m200 msame box, same drawn sizethe eye recedes

The eye taken to infinity

A parallel projection is a photograph from infinitely far away with the lens lengthened to match. That is not an analogy — it is the limit, it can be watched happening, and it explains why a long lens flattens a scene and why an isometric drawing has no viewing distance to state.

parallel · limit
horizon = eye level, 1.62 m91.01%correct from 26 cm, at 160 mm widespread 0

The horizon is at eye level — if the picture plane is vertical

The horizon cuts every standing figure at the same fraction of its height however far away it is, which is the most immediately usable fact in the subject. It holds when the camera is level, and a twelve-degree tilt is enough to spread the fractions by more than a percentage point.

construction · eyelevel
the picturethe same plane, rectifiedacross — 0.6000 widths (true 0.6000)along — 0.7667 widths (true 0.7667)diagonal — 1.2023 widths (true 1.2023)worst error 1e-15 relativethe probes were not used to build the map

The plan hidden in the photograph

Rectifying the ground is the same operation as rectifying a wall, and it turns a photograph into a site plan. The horizon is not an input to it and comes out as a consequence — the plan's points at infinity land on it, at first order, which is the check that the plan is a plan and not a plausible warp.

metrology · rectify
recovered principal pointused to drawrecoveredgapfocal length853.90853.904e-15principal x345.0345.02e-12angle44.0°44.0°correct from 20 cm, at 160 mm wide44° across

Recovering the camera from the picture it drew

Draw a box from a known camera, forget the camera, and get it back from the twelve drawn edges alone. Agreement to one part in 10¹⁵ is a statement about the geometry, because the only thing that crossed between the two halves was a list of line segments.

foundations · recovery
no single viewpoint — the rays miss by 4.5 px, depth-dependentf recovered from it: 396.88 px

What survives a pane of glass

A slab of glass moves every point of a picture and moves no direction at all. So the camera recovered from a photograph taken through a display case is exactly the camera that took it — out of a picture in which nothing is where it was.

refraction · slab
flat picture plane — straight lines stay straightcylindrical picture surface — even stretch, bowed linesone scene, two picture surfacesneither is the distorted one

When the picture surface is not flat

A flat picture plane keeps straight lines straight and stretches the edges without bound. A cylindrical one spreads the stretch evenly and bends every straight line that is not through the axis. Neither is the distorted one — they are answers to different questions, and the choice decides what a wide view can be.

viewing · surface
source, 35 cmthe occluder's edgefraction of the source visiblepenumbra 17.5 cmprojection: 17.50 cmsampled: 17.41 cm

The penumbra is the lamp's image

The soft edge of a shadow is a picture of the light, projected through the occluder's edge as through a pinhole. That gives its width without any integration — and it is why the dapples under a tree go crescent-shaped during an eclipse.

light · penumbra
level — the top is cut off0.00° of spreadtilted 13°4.55° of spreadshifted 95 px0.00° of spreada shift moves every point by exactly the shift95.0 px, and no direction at all

The principal point is not the centre

Every textbook that computes a focal length from two vanishing points supplies the middle of the frame as the principal point. On a shifted or cropped picture that is wrong, and it costs one and a half per cent of the answer at a fifth of a frame's shift.

lens · shift
05101550100150200distance from the camera (metres)error in the recovered height, per pixel of click error (%)6 m — 0.55%25 m — 2.27%60 m — 5.43%120 m — 10.84%one pixel, on a 690 px picturelinear in distance

How wrong a measurement from one picture can be

The formula divides by a difference of two nearly equal numbers when the object is tall, which looked like the instability and is not. Measured, a taller object is recovered better and a more distant one worse — half a per cent per pixel at six metres and eleven per cent at a hundred and twenty. The argument that was wrong is as much the finding as the curve that replaced it.

metrology · height
centric pointdistance point, 12 px off the sheet →430 pxcorrect from 10 cm at 160 mm wide47° across

The distance point is the viewing distance, drawn

There is exactly one place in the whole classical apparatus where the distance from the eye to the picture appears as a length on the page, and it is the offset from the centric point to the distance point. Everything this site exists to compute was drawn in the fifteenth century, on the horizon, and nobody said what it was.

construction · alberti
an anchorcorrect from 19 cm, at 160 mm wideflat 1e-13 px · rolled 30.5 px

A projection of a projection

Photograph a photograph and the composite map is a homography — four marks determine it and every other lands where they say, to 1e-13 px. Roll the print and the same four mispredict the rest by 30.5 px, which is why straightening a page of a thick book never quite works.

foundations · composition

Named alongside it

The objects these essays reach for when they reach for this one.

HorizonPicture planeFocal lengthResidualCross ratiosingle-view metrologyHomographyMeasuring pointPrincipal pointStation pointViewing distancePinhole

All concepts