Perspcorrect — the series
-
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.
-
Along a line of constant depth the page is affine
Stepping a texture by a constant amount per pixel is wrong across a receding floor and exactly right along any line of it that stays at one depth — and on every plane those lines run parallel to its own vanishing line. Turn a 120 px span 1° away from that direction and it is 0.79 px out; roll the camera a hundredth of a degree and a floor drawn to 30 m is out by 0.69 px on its worst scanline.
-
A tilted span walks a staircase
A span along a banked floor's constant-depth direction is exact, and a renderer visits pixels rather than the span. Snapped to the grid, a 120 px span at a 20° bank costs 0.577 px where the same span along a page row costs 13.26 — twenty-three times better — and it never rises above 1.22 px at any bank. The price is bookkeeping: a band of twenty-four such spans draws 53 of its 1,368 pixels twice.
-
A banked floor drawn in its own frame trades place for sharpness
A renderer that walks a banked floor along its lines of constant depth, snapping each pixel to the nearest one, moves the texture by up to half a pixel across the line. Drawn instead on a lattice turned to those lines, every sample exact, and resampled onto the page once, the texture stays in place and loses contrast. The two errors are different in kind and grow differently: the snapped spans' in proportion to the texture's frequency, the resampled frame's as its square. So the frame is far better on slow textures, twelve times at 0.02 cycles a texel, and worse near the finest a pixel grid carries, with the crossing at 0.28 cycles a texel at every bank; on a checker, whose error lives at its edges, the two stay within a few per cent. Bought with more samples, each improves on its own schedule.