The collection

Every essay — page 4

Page 4 of 6, continuing through the fields in the same order.

What survives Constructing a view Where to stand Surfaces that are not flat The other systems Light and mirrors Measuring from one picture Through water and glass The real instrument The second eye What a pair is for Many pictures at once The eye that moves Systems that kept the measure What each system gave up What a machine computes The rectangle behind the lens The second projection Drawn confidently

The other systems

Isometric, oblique, elevation. Not perspective done badly by people who had not worked it out yet, but a different answer to a different question — and the difference is measurable.

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.

8 figures
2 — every orthographic projectionisometric · axonometric 0.816 · 0.816 · 0.8162.0000dimetric · axonometric 0.943 · 0.943 · 0.4712.0000trimetric · axonometric 0.876 · 0.966 · 0.5482.0000cavalier · oblique 1.000 · 1.000 · 1.0003.0000cabinet · oblique 1.000 · 1.000 · 0.5002.2500elevation · orthographic 1.000 · 1.000 · 0.0002.0000military · planometric 1.000 · 1.000 · 1.0003.0000isometric's three equal scales are forced to √(2/3) = 0.816497not chosen — the identity leaves no other value

Which axis scales are possible

An orthographic projection's three foreshortening ratios always satisfy one identity — their squares sum to two. Isometric's famous 0.8165 is forced by it rather than chosen, and cavalier's 1, 1, 1 sums to three, which is the arithmetic saying cavalier is not the ORTHOGRAPHIC projection of anything. A later rung shows what the departure is a measurement of.

9 figures
what was drawnthe solid it depicts — reading 1 of 2xyzlooked at 45.00° off the normalcube edge 1.0000 of the drawn unitresidual 5e-16

Any three lines you draw are a cube

This site has said, for four rungs, that cavalier projection is not the projection of anything — because its axis scales sum to three where every orthographic projection sums to two. That is true of orthographic projection and false of projection. Three lines from a point, drawn by hand, are a picture of an actual cube seen from an actual direction, and the cube and the direction come out of the drawing in closed form.

14 figures
elevation1.0000a circleisometric0.57741 : 1.732cabinet1.0000a circlecavalier1.0000a circlethe xy plane's drawn ellipseratio of the ellipse's axes, sampled

Oblique is a shear, and the shear is the whole system

Cavalier and cabinet are usually introduced as easy perspective for people with a set square. They are not a simplification of anything — they are the answer to a demand no orthographic projection can meet, which is a front face at true size and a depth axis at full length at the same time. The two are locked on a unit circle, and buying both costs exactly 45° of obliquity.

14 figures
isometric0.57741 : 1.732dimetric0.88191 : 1.134cavalier1.0000a circlemilitary0.57741 : 1.732the xy plane's drawn ellipseratio of the ellipse's axes, sampled

A ruler on an isometric drawing

Isometric drawing has one scale — 0.8165 — and every account of it stops there. But that number is about three directions and a drawing has infinitely many, so a length measured off the paper and divided by 0.8165 comes back anywhere between √(1/2) and √(3/2) of the truth: 29.3% short to 22.5% long, with nothing in the picture to say which.

13 figures
010200.1000.2000.3000.4001 / distance from the eye to the box (per metre)worst angle between edges the box has parallel (°)parallel projection: 0.000°55° at the near endthe line through the origin is the inverse law

The drawing does not say which corner is nearer

The Necker cube is filed under optical illusion, as though the flipping were something the eye does. It is not: a parallel drawing of a cube is a drawing of exactly two cubes, mirror images of each other, and they project to the identical picture to the last bit. Perspective rules the second one out at a rate exactly inverse in the eye's distance, and never entirely.

12 figures
true ellipse — axis ratio 0.5774four arcs — 5.72% short along the major axisthe four tangent points are exactworst departure 5.72% of the semi-major axis

The ellipse the drawing office draws

Every isometric ellipse template is cut to a construction of four circular arcs, and every account of it calls the result an ellipse. It is not one and cannot be: a circular arc has constant curvature and a conic's varies, so the two can agree at four points and nowhere between. The four-centre curve reaches 2√2/3 of the true semi-major axis — 5.72% short — and its minor axis is 3.53% too long.

10 figures

What a machine computes

A renderer does not divide by depth and stop. It multiplies by a matrix and postpones the divide, clips while the points behind the eye are still finite, quantises what it kept, and lands on a grid of samples half a pixel from where the arithmetic put them. Each of those is a decision about what the picture is a projection of, and each has a number attached.

x/z, y/z — the pinholeM·p, then divide by wworst disagreement 4.0e-14 px over 8 verticescorrect from 21 cm, at 160 mm wide42° across · near 0.1 m, far 1000 m

The divide is postponed, not avoided

A renderer does not divide by depth. It multiplies by a four-by-four matrix that carries the depth in a fourth coordinate and divides later, and the postponement is not an optimisation — it is what makes clipping and texture interpolation possible at all. The matrix and this site's pinhole put every point on the same pixel to five parts in a hundred trillion.

10 figures
clipped at the near planedivided without clippingdirection cosine -1.0000 — the far end is drawn 2142 px away20 grid segments, 2.4 m of them behind the eyea reversed line is not a large error, it is a different picture

What happens behind the eye

A point behind the camera has a perfectly plausible image. Dividing by a negative fourth coordinate flips both signs, so the point lands through the principal point on the far side of the frame, and a segment crossing the eye plane is drawn straight, inside the frame, and running in exactly the opposite direction — a direction cosine of −1.0000.

9 figures
00.2500.5000.7501-10123distance from the eye — log₁₀ metresfraction of the buffer's codes used uphalf the codes by 0.20 ma linear map, for comparisonnear 0.1 m, far 1000 mharmonic mean 0.20 m against arithmetic 500 m

The precision a depth buffer has left

Depth is stored as an affine function of one over the distance, so half of a buffer's codes are spent before the harmonic mean of the near and far planes — twenty centimetres out of a kilometre. The resolution goes as the square of the distance, and the fix that works is not more bits.

9 figures
one pixel is an areacentrescornersprincipal point moves0.707 pxfocal length changes by4.5e-13 pxan edge-versus-centre viewport1.303 pxa half-pixel convention is a principal-point error; an off-by-one viewport is a focal-length error8 vertices, all shifted by the same 0.7071 pxspread across marks 0.0e+0 px

A pixel is not a point

Where the sample sits inside a pixel is a convention, and getting it wrong shifts every mark by half a pixel in each axis. This site can say what that costs, because it recovers cameras from pictures — the answer is a principal point exactly 0.707 px from the truth with the focal length untouched, and the other half-pixel mistake does precisely the reverse.

9 figures
-0.400-0.200000.2000.4000.6000.8001position across the drawn surfacehow far along the real surface, minus how far along the drawn one(√k−1)/(√k+1) = 0.5195at the page's midpoint, 40.9%depth ratio 10 : 1peak 0.5195 at s = 0.760

A texture does not interpolate on the page

Walking across a drawn surface at a constant rate walks across the real one at a rate that changes, and the worst gap is a closed form in the depth ratio alone — 0.52 at ten to one, more than half the whole range. It is exactly the error a person makes dividing depth by eye, made by a machine, and the fix is the fourth coordinate the pipeline kept.

10 figures

Through water and glass

A refracted picture is not a projection at all — its rays, continued into the water, miss each other by millimetres rather than meeting at a point. Everything the rest of this site rests on is measured here against the case where it fails, from the cross-ratio to Snell's window to a dome port that turns out to be an exact pinhole.

water, n = 1.333eyetruly 1.50 m downappears 0.818 m downh/n would be 1.125 mno single viewpoint — the rays miss by 17.1° of bend at the surfaceapparent depth 54.5% of the true one, not 75.0%

What a ray does at a surface

A pool looks three-quarters as deep as it is — but only if you look straight down. At sixty degrees the same bottom appears at half its depth, and at eighty at a fifth, which is why the far end of a pool looks shallow enough to walk in.

7 figures
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.

10 figures
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.

7 figures
15°30°45°60°85°the rim: 48.61° from straight upbeyond it: the bottom, reflected45° of sky0.469460° of sky0.370275° of sky0.211485° of sky0.0738area scalen = 1.333, so the rim is at asin(1/n) = 48.61°area scale 0.563 at the centre, 0.0738 at 85°

The sky inside a cone

From under water the whole sky — every direction out to the horizon — arrives inside a cone of 48.61°. Outside it the surface is a mirror. That cone is a picture surface, and it has a distortion no surface in the curved field has — an area scale that runs to zero.

7 figures
00.50011.50205101520the dome's centre, off the entrance pupil (mm)worst departure from the pinhole it would be in air (degrees)centred: exactly zero6 mm → 0.635°a 100 mm dome in acrylic, n = 1.4910.106° per mm of centring error

The port that is not there

A flat window into water costs a lens a third of its field. A sphere centred on the entrance pupil costs nothing at all — not nearly nothing, exactly nothing — and six millimetres off centre costs 0.635°.

7 figures

The second projection

A picture that has been made still has to be shown, and the display is a projection with a correct point of its own. Here the assumed figure width every earlier essay quoted is replaced by an actual chain — sensor, focal length, screen — and the answer is that almost nobody is standing where the picture says to.

50 mm on full frame · 39.6° acrossphone3.71×94 mm correctlaptop1.28×431 mm correct27-inch monitor0.78×829 mm correcttelevision1.52×1.7 m correctcinema0.84×16.7 m correct×1 — standing at the station pointhow many times further away the reader is than the picture's own station pointworst is the phone at 3.71×

The screen sets the distance

Every viewing distance this site has quoted was conditional on an assumed figure width. Replace the assumption with an actual chain — focal length, sensor width, display width — and the same 50 mm frame is correct from 9 cm on a phone, 83 cm on a monitor and 16.7 m in a cinema. Nobody is standing at any of them.

9 figures
051050100150field of view the picture was rendered at — degreeshow many times the depicted depth is stretchedthe screen subtends 49.3°100° → depth ×2.6027-inch monitor at 650 mmsubtends 49.3°

A wide field on a small screen

A picture rendered at a hundred degrees and shown on a screen that subtends forty-nine is being read from two and a half times its own station distance, so the depicted space is two and a half times too deep. The stretch at the edges everybody complains about is correct; the complaint is really that nobody is sitting where it would be invisible.

9 figures
010203040-2502550disparity on the screen — millimetreswhere the point is depicted — metres from the eyesd = 63 mm — the eyes' separationon the glassscreen at 2.0 m · eyes 63 mm apartthe ceiling is the head, and it does not move when the screen does

Two pictures on one screen

A stereoscopic display puts a point where two sightlines cross, so the depicted depth is b·D/(b−d) and the disparity that reaches infinity is exactly the separation of the reader's eyes — 63 mm, at any screen distance whatever. The depth budget is set by the width of a head and by nothing about the scene.

8 figures
k₁ = -0.28 · the round trip closes to 8.0e-13 pxpale: what the eye receives · dark: what the renderer drawsthe inner 86% of a 72° frame, where the inverse is exact

The render is distorted on purpose

A headset renders a bent picture so its lens can straighten it, which is the lens field's polynomial run backwards and the one place on this site where distortion is introduced deliberately. The round trip closes to a thousandth of a millionth of a pixel, and the price is that one rendered pixel becomes 0.646 delivered pixels at the edge of the field and one at the centre.

9 figures
15° of yaw, 6° of pitch, 1.50 throw ratio81.3% of the panel reaches the corrected rectangleouter: the thrown quadrilateral · inner: what correction can keep18.7% of the panel discarded

A projector is a camera run backwards

Turn a projector fifteen degrees from square and it throws a trapezium; keystone correction cannot add light outside it, so it shrinks the picture until it fits and discards a sixth of the panel. And the instrument itself comes back out of the picture it threw — 2880 panel pixels recovered against 2880, by the function the wrong field wrote for hand-drawn cubes.

10 figures

The eye that moves

A handscroll is drawn by an eye that travels, imaging one line at a time — orthographic along the roll and perspective across it, so a mile of river holds its scale while a single pavilion still recedes. Its rays miss their own best centre by metres, and the miss is exactly the length of track you unroll.