After this unit you can
- Describe a recessed opening by its mouth, offset and depth
- Turn a ray direction into a sideways shift measured in mouth edges
- Compute the visible fraction V by hand for a rectangle or a sheared mouth
- Say which assumptions make this a pure visibility problem
The channel
Picture a hole cut straight through a thick plate. It has two identical flat mouths, an inner one and an outer one, joined by four flat walls. In the paper the mouth is a parallelogram with full edge vectors a and b. A rectangle is the special case in which they are perpendicular.
The outer mouth is the inner mouth moved by a vector v. If v points straight along the normal the channel is a normal extrusion. If it leans, the channel is oblique and the two mouths are offset sideways as well. The depth d is always measured along the normal, so it can be shorter than the length of v.
The complete geometry is the pair g = (B, v), where B = [a b] collects the two edges.
Orientation is not shape
The paper separates two things that are easy to run together. The frame Q = [x y n] says which way the opening faces and how its first edge is turned. The shape coordinates say how long the edges are and how much they are skewed:
Hold the area fixed. Changing a0 changes the aspect ratio. Changing c0 shears the mouth. Neither has to change Q. That freedom is exactly what Unit 3 exploits: two openings can share a frame, an area and a depth and still be different shapes.
The assumptions
- Rays are straight.
- Walls are opaque and absorb everything that touches them.
- There is no glazing, reflection, refraction, diffraction or scattering medium.
- For each direction, the incoming light is uniform across the mouth.
Under these assumptions a ray either reaches the other mouth or is lost on a wall. Nothing else can happen, so the whole problem is one of visibility. Scaling every length by the same factor leaves the transmitted fraction unchanged.
Do not read past the model. A real reveal has paint, glass and a sensor of finite size. The paper’s numbers describe the ideal channel. Section 6.5 relaxes one assumption (diffuse walls of bounded reflectance) for one beam; nothing else is relaxed.
From a direction to a shift
Let s be the unit vector pointing from the inner mouth toward the source and μ = n·s its cosine to the normal. To cross a depth d the ray travels a distance d/μ. Seen from the outer mouth it has moved sideways by
δ is a physical length. q is the same displacement counted in edges of the mouth: q1 = 0.25 means the ray has slid a quarter of the first edge. (B+ is the pseudoinverse; for a rectangle it simply divides each component by the matching edge length.)
For a rectangle of width w and height h extruded straight back, with ray slopes px and py (sideways travel per unit depth), this is just
The visible fraction
A point of the inner mouth lets the ray through exactly when the shifted point still lies inside the mouth. Along each edge that is the overlap of two unit intervals, one shifted by qi. The overlap length is 1 − |qi|, or zero once the shift reaches a full edge. Multiply the two:
The absolute values are there because a shift to the left blocks as much as a shift to the right. The clipping at zero is there because overlap cannot be negative. Because the channel is convex, if both ends of a ray’s path are inside the mouths then the whole segment between them is clear.
Try it
Ideal model. A straight rectangular channel; change the numbers and read the two overlap factors.
q1 = q2 = V =
Without JavaScript the starting values are the paper’s rectangle: width 2, height ½, depth 1, slope ½ across the width, giving V = 0.75.
Worked examples
1. The paper’s square and rectangle
A unit square and a 2 × ½ rectangle, both of depth 1, lit from s* = (1, 0, 2)/√5. The slopes are px = ½, py = 0, so every ray slides half a length unit sideways.
Square: q = (½, 0), V = ½ × 1 = 0.50.
Rectangle: q = (¼, 0), V = ¾ × 1 = 0.75.
Same area, same depth, same light, different answer. The shift removes half the square’s usable width but only a quarter of the rectangle’s.
2. The bench dimensions
The F1 cassettes are a 25 × 25 mm square and a 50 × 12.5 mm slot, both 25 mm deep (625 mm² each). Tilt the beam so that p = ½: a ray moves 12.5 mm sideways.
Along the slot: square 1 − 12.5/25 = 0.50, slot 1 − 12.5/50 = 0.75.
Across the slot: square 0.50 again, slot 1 − 12.5/12.5 = 0.
These are the four numbers in the table at the top of the research page. Direction matters as much as shape.
3. A sheared mouth
Take Bk with edges (1, 0) and (k, 1), depth 1, and a direction proportional to (0.8, 0.4, 1). The physical shift is δ = (0.8, 0.4). Solving Bq = δ gives q2 = 0.4 and q1 = 0.8 − 0.4k.
k = 0: q = (0.8, 0.4), V = 0.20 × 0.60 = 0.120.
k = 0.3: q = (0.68, 0.4), V = 0.32 × 0.60 = 0.192.
4. Rolling a fixed shape
A 1 × 0.5 rectangle of depth 0.5, direction proportional to (0.6, 0.1, 1). The shift is (0.3, 0.05).
Roll 0°: q = (0.3, 0.1), V = 0.7 × 0.9 = 0.63.
Roll 90°: the edges swap, q = (0.6, 0.05), V = 0.4 × 0.95 = 0.38.
Roll 180°: back to 0.63.
Here the frame changes and the shape does not. Keeping Q is enough to tell these apart. It is not enough in examples 1 and 3, where Q stays fixed and the shape changes.
Check yourself
A channel has a 4 × 1 rectangular mouth and depth 2. A ray has slopes px = 0.5, py = 0.25. What is V?
guide exercise Shifts are 2 × 0.5 = 1 and 2 × 0.25 = 0.5. In edges: q = (1/4, 0.5/1) = (0.25, 0.5). V = 0.75 × 0.5 = 0.375.
For the same channel, how steep must a ray be across the height before nothing gets through?
guide exercise q2 reaches 1 when dpy = h, so py = 1/2. That is about 26.6° from the normal. Across the width the cutoff is px = 2, about 63.4°.
Why does the formula multiply the two factors instead of adding them?
Each factor is the fraction of one edge that still overlaps. The surviving region is a parallelogram whose sides are those two fractions of the full edges, so its area fraction is their product.
A flat opening has v = 0. What is V?
One for every front-facing direction. There are no walls to block anything. The paper treats the flat case as a separate exact mode because the positive-depth formulas divide by d.
Two openings have the same area, normal and depth. Must they have the same V for a given direction?
No. Example 1 is a counterexample: 0.50 against 0.75. Unit 3 turns this into a statement about which summaries can ever be sufficient.