Compute the normalised sky factor for a cell, given how many of
its n cosine-weighted hemisphere samples were visible (escaped
the scene without hitting an occluder) and the cosine of the
zenith angle of each visible sample.
Result is in [0, 1] — 1.0 means the cell sees the full
unobstructed sky under the chosen model, 0.0 means the cell
is entirely roofed over.
Compute the normalised sky factor for a cell, given how many of its
ncosine-weighted hemisphere samples were visible (escaped the scene without hitting an occluder) and the cosine of the zenith angle of each visible sample.Result is in
[0, 1]—1.0means the cell sees the full unobstructed sky under the chosen model,0.0means the cell is entirely roofed over.The Monte Carlo estimator is derived from
The
E_horiz_unobstructedanalytic for each model is:π · L→ factor reduces tovisible / n(7π/9) · L_z→ factor is3 · Σ(1 + 2·cosθ) / (7n)Both are azimuth-symmetric so
cosThetais all the information needed per sample.