After this unit you can
- Write the slope map q = Wp + β for a channel
- State the support-corner bound and explain why corners are enough
- Say exactly what the bound does and does not cover
- Read the 2,000-geometry table and explain why fallbacks matter
- Split an error budget into its four terms
A different comparison
Unit 3 compared two different openings that share a summary. This unit holds the opening, its pose and the light fixed and compares two representations of the same opening: the original numbers and the rounded numbers a reader will decode. The aim is a bound the encoder can check in advance.
The slope map
Choose a tangent basis E for the mouth plane, shared by geometry and light. Let G = EᵀB describe the mouth in that plane, t = Eᵀv the sideways offset, and p = Eᵀs/μ the two slopes of a ray. Equation 4 becomes an affine map:
W turns slopes into edge-counted shifts. β accounts for an offset between the mouths. A centred extrusion needs only the four entries of W; an offset adds two more.
Two maps you already know
Unit square, depth 1: W is the identity. The 2 × ½ rectangle, depth 1: W = diag(½, 2). A slope of ½ across the width gives q1 = ¼, as in Unit 1.
With F(q) = [1 − |q1|]+[1 − |q2|]+, transmission is an average of F(Wp + β) against weights that sum to one (Eq. 23). So any uniform bound on the change in visible fraction also bounds the change in T, whatever non-negative light supplies the weights.
Why a few corners bound every direction
Visibility is non-zero only inside a parallelogram in slope space, the support:
Rounding moves that region and changes visibility inside it. Both the original and the decoded region matter, because rounding may admit a direction the original blocked.
Proposition 4.1 (a bound for the decoded record). Let ΔW = W − W̃ and Δβ = β − β̃, and let 𝒱 be the corners of both supports. For the same pose and illumination,
The reasoning in four steps:
- Each clipped overlap factor changes by no more than its coordinate changes, and neither factor exceeds one. So the product changes by at most |Δq1| + |Δq2|, the 1-norm.
- Outside both supports both products are zero.
- Inside either support that 1-norm is a convex function of p, so it is largest at a corner.
- Averaging with weights that sum to one cannot exceed the maximum.
It is not a sampling claim. The bound does not say visibility error is largest at the corners. It bounds a simpler function that sits above the visibility error everywhere, including along the internal creases, and that function peaks at a corner.
A hand calculation
guide exercise Store the rectangle’s W = diag(½, 2) as diag(½, 2.01), with β = 0. Then ΔW = diag(0, −0.01). The original support is |px| ≤ 2, |py| ≤ 0.5; the decoded one is slightly narrower in py. Over all eight corners the largest ‖ΔWp‖1 is 0.01 × 0.5 = 0.005. So C = 0.005: the rounded record changes T by at most half a percentage point for every source.
What the guarantee covers
An encoder can try a compact record, decode it exactly as the reader will, and accept it if C fits the budget. Overflow or loss of rank means rejection. A large C is inconclusive: it does not prove the real error is large. An exact-input record is the fallback when nothing compact qualifies.
The bound compares represented and decoded values in real arithmetic with exact pose and normalisation. It does not bound floating-point evaluation, numerical integration, source error or manufacturing deviation. A full budget has to allocate each separately:
Spending the whole 0.01 on representation leaves nothing guaranteed for the rest.
Tighter tests
The corner test is cheap because it replaces the detailed error by a simple envelope, and that costs sharpness. Near a support corner both overlap factors vanish while the envelope treats them as one.
- Exact maxima. Cut the two supports along every edge and crease of both records. On each piece the visibility difference is a quadratic polynomial, whose maximum must be checked at vertices, along edges and inside. Vertices alone are not enough: a simple half-shear has zero error at every partition vertex and an interior-edge maximum of 1/8.
- Worked on a real record. For the fixture called g66 this gives a worst directional representation error of about 0.00433468, against a corner bound of about 0.01149185. The sharper test certifies that record below 0.01. It does nothing for the integration failure in Unit 5.
- Restricting the light. If allowed sources satisfy a contrast bound L/DL ≤ κ, the error can be weighted by incident flux instead of worst case. A cap on radiance alone is not enough: squeezing bounded light into a shrinking region shrinks the denominator too.
The 2,000-geometry study
Two thousand designed fixtures span moderate, shallow, slender, offset and strongly sheared channels plus flat controls. Some are deliberately ill-conditioned. Their mix is a study choice, not an estimate of what gets manufactured. Candidate codes are 10- and 12-bit fixed point, 16- and 32-bit floating-point slope records, and an exact fallback. For each geometry the adaptive encoder keeps the smallest candidate that meets the bound.
| Record choice | Budget 0.001 | 0.005 | 0.01 |
|---|---|---|---|
| Fixed 10-bit | 17 | 298 | 643 |
| Fixed 12-bit | 211 | 861 | 899 |
| Binary16 slope | 1,122 | 1,428 | 1,485 |
| Binary32 slope | 1,845 | 1,893 | 1,911 |
| Adaptive, with fallbacks | 2,000 | 2,000 | 2,000 |
| Adaptive stream, bytes | 37,733 | 30,661 | 28,951 |
| Exact-input fallbacks | 155 | 107 | 89 |
At 0.01 the adaptive stream is 28,951 bytes against 103,921 bytes for exact-input records in the same format. Those sizes exclude pose, identifiers and indexing.
The fallbacks are a result, not a nuisance. Six binary16 records overflow. In the near-parallel group, 71 binary32 records have a witnessed directional error above 0.01, one reaching unit error. When the accepted region is very long and narrow, tiny coefficient changes cause large optical changes. No fixed precision is uniformly safe on this family.
A later control rounded the physical mouth matrix and depth instead of the slope map. Neither coordinate choice wins everywhere. The result supports error-controlled selection, not a claim that the slope chart is minimal or best.
Check yourself
Write W for a 4 × 1 rectangle of depth 2, centred.
guide exercise G = diag(4, 1), so W = 2 × diag(1/4, 1) = diag(0.5, 2). It happens to equal the map of the 2 × ½ rectangle at depth 1: the two are the same shape scaled by two, and scaling does not change transmission.
Why must the corner set include the decoded support as well as the original?
Because rounding can enlarge the accepted region. A direction blocked by the original but admitted by the decoded record contributes error that only the decoded support’s corners can see.
An encoder computes C = 0.03 for a candidate. Is the candidate inaccurate?
Not proven. C is an upper bound from a loose envelope. The candidate is simply not certified by this test; a sharper test might certify it, as happened for g66.
A record is certified with C = 0.009 against a 0.01 target. Is the final prediction guaranteed within 0.01?
No. The certificate covers representation only. Evaluation, integration and input errors need their own allowances, and only 0.001 remains for all three.
Why does the paper report the 89 exact fallbacks instead of quoting a compression rate over the 1,911 that compress?
Because dropping the hard cases would overstate the method. The fallbacks mark where fixed-precision records are unsafe, which is the scientifically interesting part.