After this unit you can
- Explain what a Klems incident record keeps and what it averages away
- Reproduce the three-cap collision and its error floor
- Compare the eight predictors in the boundary sweep and say why each passes or fails
- Explain why tree depth has no meaning without source size
- Say when a centre ray is good enough for the sun
The setting
Daylight tools commonly describe a window system by a tabulated scattering function (a BSDF) on a fixed angular grid. The full Klems basis divides the incident hemisphere into 145 patches. A simulation then needs only the incident power in each patch.
The question is the dual one from Unit 3: with the recess known exactly, does the incident power per patch determine how much light gets through? Write ν for projected solid angle (dν = cosθ dΩ), Pj for the incident power in patch j and V̄j for the patch’s mean visibility:
This is exact whenever the radiance is constant on each patch. The sun is not.
Three suns, one record
Take the Klems cell 25° ≤ θ ≤ 35°, |φ| ≤ 9°. Place a uniform disk of half-angle 0.266° (the size of the sun) at φ = 0 and θ = 26°, then 30°, then 34°, each normalised to the same incident flux. Every disk lies wholly inside the cell, so the three 145-entry incident records are identical. Use the same square (1, 1, 1) and rectangle (2, ½, 1).
| Illumination | Square T | Error | Rectangle T | Error |
|---|---|---|---|---|
| Disk at 26° | 0.511144 | −11.08 | 0.752818 | −10.78 |
| Disk at 30° | 0.421688 | −2.14 | 0.708088 | −6.31 |
| Disk at 34° | 0.324718 | +7.56 | 0.659595 | −1.46 |
| Uniform cell | 0.400298 | 0 | 0.645005 | 0 |
The patch method returns one number per shape (the last row) for all three suns. Through the square the true answer moves from 0.51 to 0.32 as the sun crosses the cell.
A floor for every method, not just the average
Bounding the slopes inside each disk gives a lower bound on the 26° transmission and an upper bound on the 34° transmission. Half their difference is a floor for any predictor that receives only the common record and the geometry:
About 8.583 percentage points for the square and 3.967 for the rectangle. The geometry is fixed and exact. What has been lost is where the source sits inside the cell.
Methods that keep the solar direction, or finer incident data, receive different inputs and are not bound by this floor. That is the subject of the sweep below.
Checks: the patch mean is integrated analytically; the disks by composite Simpson quadrature at three resolutions, changing by less than 1.1 × 10⁻¹⁰; an analytic expression for the shape difference agrees within 5 × 10⁻¹². Separately, Radiance 6.0.2 traced 32,768 rays per shape and disk (196,608 in all) and agreed with the quadrature to within 0.00642, and its own bin function placed every direction in the same Klems bin.
Following the sun across a boundary
A simulation can keep more of the angular response, or keep the sun’s direction and evaluate the recess for it. The paper tests both against the same quantity, whole-exit transmission.
Design. Two shapes; disks of half-angle 0.1°, 0.266°, 1° and 2°; centres at 25 positions from −3° to +3° relative to a patch boundary; three tracks (two polar ring edges at 35° and 45°, one azimuth edge at 9°). That is 600 cases, of which 156 disks straddle the boundary. The 45° track reaches the square’s geometric cutoff.
Predictors.
- Full Klems. Integrates the true flux falling in every overlapped cell and multiplies by that cell’s mean visibility.
- Tensor tree, depth m. A variable-resolution Radiance BSDF with up to 2m cells per axis. Parent cells are merged when the range of their finest descendants’ mean visibilities is at most 0.005.
- Solar centre. Evaluates V for the centre ray and gives it all the flux.
- Finite solar disk. Keeps direction and half-angle and integrates the geometric response over the disk.
Reference. An independent verifier encloses each ideal transmission in an interval narrower than 0.010 percentage points. A prediction passes only if the upper bound on its error is within 0.01, and fails only if the lower bound exceeds it. All 600 decisions resolved.
| Predictor | 0.1° | 0.266° | 1° | 2° | All / 600 | Worst bound (pp) |
|---|---|---|---|---|---|---|
| Full Klems | 35 | 36 | 35 | 43 | 149 | 15.358 |
| Tree, depth 4 | 27 | 27 | 32 | 40 | 126 | 10.459 |
| Tree, depth 5 | 61 | 63 | 77 | 98 | 299 | 7.192 |
| Tree, depth 6 | 75 | 85 | 134 | 150 | 444 | 3.446 |
| Tree, depth 7 | 118 | 140 | 150 | 150 | 558 | 1.557 |
| Tree, depth 8 | 150 | 150 | 150 | 150 | 600 | 0.747 |
| Solar centre | 150 | 150 | 103 | 97 | 500 | 2.405 |
| Finite solar disk | 150 | 150 | 150 | 150 | 600 | 0.008 |
Reading the table
- Small sources are harder for tables. A narrow disk exposes variation hidden inside one leaf; a broad disk averages over several. Depth 7 misses ten of the 150 sun-sized cases; depth 8 passes all. For 1° the first all-pass depth tested is 7, for 2° it is 6.
- Small sources are easier for the centre ray. It passes every case at 0.1° and 0.266° and only 103 and 97 of 150 at 1° and 2°.
- Distance from a patch edge does not predict the error. Among the 156 straddling disks, full Klems passes 34, the centre ray 109, depth 7 passes 154, and depth 8 and the finite disk all 156.
A given tree depth has meaning only with the geometry, the source size and the observable specified.
Why the rectangle is more sensitive than the square
On the 35° track, with both overlap factors active, the centre-ray error has a closed form:
The factor 1/b is the reciprocal of the narrow transverse dimension. A disk has sideways extent in py even when its centre has none, and a narrow slot is cut by it sooner. Over the whole continuous sweep the bound for the square stays below 0.795 points at all four radii. For the rectangle it is below 0.130 and 0.346 points at 0.1° and 0.266°, and exceeds 1.039 and 2.028 points at 1° and 2°.
At a cutoff
At the square’s 45° cutoff the centre ray transmits exactly nothing, while the 2° disk transmits a calculated 1.455% of its flux: part of the disk is still on the open side.
Aside: walls that are not black
Section 6.5 relaxes one assumption. If the hemispherical wall reflectance at every hit is at most ρ, then with T0 the absorbing-wall transmission,
because every bit of power that reaches the exit after a reflection had to survive a first wall hit. With ρ ≤ 0.2 the square–rectangle gap for the 2° cone of Unit 3 still exceeds 0.1209, and the source-record floors at 26° and 34° become about 1.905 and 0.628 points. For one collimated beam of slope ½ and Lambertian walls of albedo 0.2 the paper computes the once-reflected contribution exactly (0.020004 for the square, 0.008365 for the rectangle) and bounds the rest: the rectangle still exceeds the square by at least 22.63 points.
Using the bound
guide exercise An absorbing-wall calculation gives T0 = 0.50 and the paint reflects at most 20%. Then 0.50 ≤ T ≤ 0.50 + 0.2 × 0.50 = 0.60. The bound is wide, but it needs nothing beyond the reflectance cap.
Check yourself
Why are the three incident records exactly equal?
Each disk lies wholly inside one Klems cell and carries the same projected incident power, so each puts the same number in that one entry and zero in the other 144.
The patch average has zero error for a uniform cell. Why is that not reassuring for the sun?
Because exactness requires radiance constant across the patch. A 0.266° disk in a cell ten degrees tall is about as far from constant as a source can be.
The square’s floor is about 8.583 pp. What does “floor” mean here, precisely?
Any method that sees only the 145 patch fluxes and the exact geometry must err by at least that much on the 26° sun or the 34° sun. It is a lower bound over all such methods, not the error of one of them.
For a sun-sized disk, which predictors pass all 150 cases?
Tree depth 8, the solar centre ray and the finite solar disk. Depth 7 passes 140, full Klems 36.
The centre ray is perfect for the sun here. When does it stop being safe?
When the source is broad compared with the narrow dimension of the opening, or when it sits on a geometric cutoff. At 2° it passes only 97 of 150, and at the square’s cutoff it returns zero where the true value is about 1.455%.
Does this unit say anything about glare?
No. Every number is total direct power through the whole exit. Outgoing direction is the next unit.