Corridor Numerics العربية
Menu

Study guide · Unit 7 of 10

Where the transmitted light goes

A record can get the total right and still put the light in the wrong place. With a receiver that accepts only a cone of directions, the same depth-eight tables that passed all 600 whole-exit cases pass four of 24 when the receiver matches the sun.

Paper: Sections 6.2, 6.3 and 6.4Revision 11 on Zenodo

After this unit you can

  • Distinguish whole-exit flux from flux into a restricted cone
  • Explain why a tabulated leaf spreads ballistic light
  • Derive the necessary depth bound and show why it is not sufficient
  • Separate the two causes of loss: merged cells and the finite lattice
  • Quote what halving the merge threshold buys and what it costs

Two laws for the outgoing light

In the ideal straight absorbing recess every transmitted ray keeps its direction. Light from a sun-sized disk leaves as a sun-sized disk. Call that the ballistic answer.

In a tabulated BSDF, a leaf’s transmitted power is spread uniformly over a finite outgoing angular cell. A receiver that accepts only a cone can tell these two laws apart even when their totals agree.

BC = 1ν(S) ∫S∩C V dνPC = 1ν(S) Σj Yj ν(S∩Lj) ν(C∩Lj)

S is the solar disk, C the receiver’s cone, Lj a leaf and Yj its stored density. Both are fractions of the whole unblocked incident power, so one point still means 0.01 on a common scale, including when the ballistic answer is zero.

The restricted-view panel

The ten XML records from Unit 6 are reused without rebuilding. Three solar centres, four source sizes, receiver half-angles of half, equal to, and twice the source, plus 4°, each centred and displaced along two tangents: 1,890 source–view–shape configurations and 9,450 depth-specific comparisons.

At depths 4 to 8 the numbers within one point were 580, 647, 761, 1,105 and 1,307 of 1,890.

  • At depth 8, all 24 centred 4° receivers pass.
  • With a centred receiver matching the solar radius, only four of 24 pass, all of them the square at its 45° cutoff, where little power reaches the exit anyway.

One case in numbers

Rectangle, sun at (35°, 0), source half-angle 0.266°, centred matching receiver. Ballistic: 64.68%. Depth-eight XML: 34.99%. Widen only the receiver to 4° and the XML returns 64.47% while the ballistic answer stays where it was.

The spreading also works the other way. At depth 8, 141 of 360 tangent views and 54 of 360 strictly exterior views receive more than one point of incident power although no ballistic ray enters them.

Depth-eight centred views for a sun-sized source: flux at the matched radius and the first receiver half-angle that passes (paper Table 8).
Solar centreRecessBallistic (%)XML (%)First passing β (°)
(35°, 0)Square29.9116.16[0.433, 0.442]
Rectangle64.6834.99[0.594, 0.602]
(30°, 9°)Square39.0913.35[0.565, 0.573]
Rectangle58.5720.01[0.586, 0.595]
(45°, 0)Square0.200.020.266 (matched)
Rectangle49.7224.76[0.426, 0.434]

A receiver roughly twice as wide as the sun recovers the target in these cases. How wide depends on direction, geometry and the stored leaves.

A necessary depth

A tree of maximum depth m gives each outgoing leaf a projected solid angle of at least π4−m. A receiver of projected area π sin²β cosθC can collect at most this share of a leaf’s uniformly spread power:

PC ≤ fm PHfm = min(1, 4m sin²β cosθC)

For a 0.1° source and receiver at 35°, the depth-nine factor is at most 0.654122, while the square and rectangle need more than 0.9353 and 0.9696. So in this particular encoding, maximum depth at least ten is necessary.

Checking the factor

guide exercise sin 0.1° ≈ 0.0017453, squared ≈ 3.0462 × 10⁻⁶. Times 4⁹ = 262,144 gives 0.79854. Times cos 35° ≈ 0.81915 gives 0.6541, matching the paper’s 0.654122. At depth ten the same product is about 2.62, so the cap is 1 and the bound no longer forbids a pass.

Necessary is not sufficient. Depth ten clears the bound. The next section shows it still misses, by 51 points in one case.

Depths nine and ten

New complete records at maximum depths nine and ten, same construction, same 0.005 merge rule; the generator first reproduced the depth-eight files byte for byte. The same 24 matched views were scored.

Both depths pass exactly the same four of 24: the square at its 45° cutoff. Every one of the 48 whole-exit predictions is within 0.19 points of its target.

Absolute matched-view error in percentage points at maximum depth 10 with the original merge rule (paper Table 9). Bold entries meet the target.
Solar centreRecess0.1°0.266°1°2°
(35°, 0°)Square23.5278.3502.4561.096
Rectangle51.03518.0465.2692.291
(30°, 9°)Square27.8957.1932.8211.489
Rectangle41.78910.7794.2252.237
(45°, 0°)Square0.0090.0400.0450.054
Rectangle42.83017.3243.6291.792

Why the deeper tree did not help

A maximum depth is a permission, not a resolution. The merge rule keeps a parent wherever the whole-exit response is locally smooth, and that is exactly where the sun was pointing. In the depth-ten records, 18 of the 24 configurations met only level-nine leaves. Across the whole hemisphere only 3,360 of the square’s 147,820 leaves reached level ten.

The split B − PS = (B − H) + (H − PS) separates whole-exit error from power spread outside the receiver. For the rectangle at (35°, 0) with a 0.1° disk: whole-exit H = 64.79%, matched PS = 13.84%, ballistic B = 64.87%. About 50.95 points of incident power are transmitted by the record and assigned outside the matched receiver.

Merging, the lattice, and storage

Two things spread the light: retained (merged) leaves that are bigger than the finest cell, and the finite size of the finest cell itself. To separate them the paper rebuilt the depth-ten records with the merge threshold lowered from 0.005 to 0.0025 and 0.001, and with merging disabled entirely (4¹⁰ diagonal leaves each).

Two depth-ten XMLs together, and outcomes for the same 24 matched views (paper Table 10).
Merge ruleDiagonal leavesXML (MiB)Gzip (MiB)Within / 24Recovered / 20
0.005348,7649.821.8740
0.0025992,73227.955.0562
0.0011,033,35229.085.2462
Disabled2,097,15250.075.5862
  • All three stricter policies recover the same two cases, both 2° disks through the square: errors fall from 1.096 to 0.530 and from 1.489 to 0.736 points.
  • Halving the threshold costs 2.69 times the compressed storage (1.87 to 5.05 MiB).
  • Going further changes nothing that these 24 views can see: from 0.0025 to no merging the largest change in matched flux is below 0.00014 points.
  • With merging off, the sun-sized rectangle at (35°, 0°) still misses by 8.702 points, and the 0.1° case collects 47.54% inside the view against 64.85% over the whole exit and a ballistic 64.87%.

At a fixed depth, tightening the merge rule cannot concentrate the outgoing power any further. Eighteen of the 24 misses persist on the fully subdivided depth-ten lattice. The remaining loss belongs to the finite cells themselves.

Check yourself

A depth-eight tree passes all 600 whole-exit cases. Why does it pass only four of 24 matched views?

Whole-exit flux sums each leaf’s power over the entire outgoing hemisphere, so spreading inside a leaf does not matter. A matched receiver collects only the part of each outgoing leaf that falls inside a sun-sized cone, and the leaves are much wider than the sun.

Which four pass, and why are they not much comfort?

The square at its 45° cutoff, at all four source sizes. Ballistic signals there range from 0.074% to 1.455% of incident flux, so almost any small prediction is within one point.

The necessary bound says depth ten is required for a 0.1° matched view. The depth-ten record misses by 51 points. Is the bound wrong?

No. It is a necessary condition on the maximum depth. The merge rule kept level-nine leaves where the source pointed, and even level-ten cells are larger than the disk.

What does it cost to recover two more cases, and which ones?

2.69 times the compressed storage, for the two 2° disks through the square at (35°, 0°) and (30°, 9°).

A modeller needs matched-view accuracy for the real sun through the rectangle. What does this unit suggest?

Not a deeper tree of this kind: the sun-sized rectangle cases miss by between 6.437 and 8.702 points even with merging disabled at depth ten. Keep the direct component explicit with its direction and size, as the finite-disk predictor of Unit 6 does, or accept a receiver about twice the solar radius.

Split the 0.1° rectangle error into its two parts using B = 64.87, H = 64.79, PS = 13.84.

Whole-exit discrepancy B − H = 0.08 points. Spread outside the receiver H − PS = 50.95 points. Almost all of the error is light in the wrong place, not light missing.