← Ziding Zhang

Lighting a wine glass with one lamp: the outline comes from the black flags

Geoff Boyle's slow-motion white-wine shot uses one redhead, a trace frame and two black flags. Rebuilt in Blender with a simulated pour: the lamp makes the background, and the flags draw the glass.

November 8, 2026 · Project · What is not yet established


Watch the side of the bowl. When does its dark outline appear?
Lighting setup
Build the light
Add black flags

Set from above

Lamp Diffusion Flags Glass Camera

Through the lens

Bare lamp. A small white flare sits inside the bowl.
Diffusion alone. The glass almost vanishes against the luminous sheet.
20 cm gap. A thin black contour follows the bowl.
12 cm gap. The dark bands thicken around the wine.
7 cm gap. The sides are almost black around a slim bright centre.

The bare bulb makes a bright spot in the bowl.

The glowing sheet fills the backdrop. The bowl almost disappears.

At 20 cm, the curved glass picks up a thin black edge.

At 12 cm, the edge thickens around the wine.

At 7 cm, only a narrow bright core remains.

This is the second setup from Geoff Boyle’s Cooke Optics interview, Don’t complicate lighting. The first was a beauty shot. Here his students asked for something hard: white wine pouring into a glass in slow motion. His kit is the same small box: one redhead (an 800 W tungsten lamp), one trace frame (diffusion fabric on a frame) and two black flags. In his words, roughly:

I rebuilt that in Blender’s Cycles path tracer, which follows light through glass and liquid physically, and simulated the pour with Blender’s Mantaflow liquid solver.

The set

The virtual set: camera in front, the glass on black perspex, a trace frame behind it with two black flags leaving a bright slot, and the redhead behind the trace aimed at the camera

On setIn the scene
Redhead, 800 W tungsten3200 K spot light 1.8 m behind the glass, on the lens axis, aimed at the camera
Trace frame1.0 × 0.8 m sheet that lets light through diffusely, 30 cm behind the glass
Black flagsTwo boards that reflect 2% of the light, just in front of the trace, leaving a 12 cm slot
GlassA white-wine glass with 1.2 mm walls, glass refractive index 1.52
WineRefractive index 1.34, pale straw colour absorbed through its depth
TableBlack perspex
Camera100 mm lens on full frame, 95 cm from the glass, white-balanced to tungsten

How wide a gap?

The gap between the flags sets the line weight. With a 20 cm gap, the outlines are thin and the glass looks delicate. Close the gap to 7 cm and most of the bowl turns black, leaving a bright core. On set this is the adjustment you would make by eye while watching the monitor, and it is the reason the flags are on stands, not fixed.

A wine glass outlined in black against a bright vertical strip, white wine swirling inside

120 frames of a simulated pour at quarter speed, rendered with the setup above.

Credits

The setup is Geoff Boyle’s, as he describes it in the Cooke Optics video linked above. The glass, simulation and renders are mine, made with Blender (GPL).

The first setup in this series: one redhead, a beauty light.

Agent context: sources, method and working notes

Building it up

The lighting bench pairs a compressed plan of the set with five original Cycles stills, resized to the same display dimensions. The bare lamp, diffusion alone and 12 cm gap were rendered at 800 × 1200. The 20 cm and 7 cm gaps were rendered at 600 × 900. All five have the same framing. Each control selects a finished render. The schematic shows equipment positions. The 12 cm image is the full setup in the three-pass comparison below.

Three passes: the bare redhead flaring through the glass; with the trace frame, a grey glass on a bright field; with the flags, a glass drawn in black lines on a white strip

1. The redhead alone (left). Against a black room the glass is almost invisible. You see it only where it bends or reflects the bare bulb: a hot flare in the bowl, rings at the rim, and a pool of light on the table.

2. Add the trace frame (middle). The lamp now lights a large sheet of fabric, and the camera looks at the glass against that glowing sheet. You can see the wine, but clear glass in front of a clear, bright field nearly disappears. Its edges are only faint grey lines.

3. Bring in the flags (right). This is the step that makes the shot. Near its edges, a curved glass bends light so strongly that the camera, looking through the edge, sees whatever is well off to the side. With the flags there, that is black. So the dark outline of the glass is an image of the black flags, not of any light, and the wine’s edge inside the bowl draws itself the same way.

The pour

Four frames from the simulated pour: stream entering, wine swirling, the stream stopped, the wine settling

The pour is a liquid simulation: an 8 mm stream entering from above the frame, slightly off centre and angled, so the wine swirls as it fills. It runs at quarter speed, like Boyle’s high-frame-rate shot. Two simulation problems needed fixing, and both are worth knowing if you try this:

  • The glass leaked. The real wall is 1.2 mm thick, thinner than one 2 mm simulation cell, so liquid passed through it. The fix is a hidden collision shell, 12 mm thick, on the outside of the glass, which the camera never sees.
  • There was an air gap. The solver keeps the liquid about one cell away from any obstacle, so the rendered wine floated a millimetre inside the glass, and through that gap the black flags showed as dark blotches. Moving the shell’s inner face 1.5 mm outward lets the wine meet the glass.

I first guessed that this shot would need a special renderer for caustics, the bright patterns that glass focuses onto nearby surfaces. It doesn’t. What the camera sees is the backdrop bent through the glass, which an ordinary path tracer handles. The caustics fall on the black table, where nobody sees them.

Changing the setup yourself

The scene is one Python script for Blender 4.5, wine_glass.py. Choose a pass with --pass bare|trace|full|overview, set the flag gap with --slot (half-width in metres) and the still wine level with --fill. --bake <dir> runs the pour simulation and saves a .blend to render frames from. On a 16-thread CPU with no GPU, each still took about two and a half minutes, the simulation under two minutes, and the 120 animation frames about an hour (half a minute each at lower resolution).

Changes
  • November 26, 2026: Added a lighting bench for comparing the original five stills against the position of the flags.
  • November 17, 2026: Shortened to the result and what it means; method, verification and limits moved under Agent context.
  • November 8, 2026: First version. Three lighting passes, a flag-gap comparison and a 120-frame simulated pour.

Have an answer, a counterexample, or a story? See Talk to me for open questions and live trials.

Credits: Ziding Zhang. Claude agents built the scene, simulation, renders and original write-up under my direction. OpenAI Codex built the interactive comparison from those renders.