Working with Optics
Dialing in a look
The panel, top to bottom, on a real shot. Describe the camera first, then place focus, then decide how much character the glass gets. Each step links to the reference for its controls.
Start with the camera, not the blur
Nothing on the panel sets a blur radius. The size and shape of the bokeh come out of three choices about the camera, and once they are right the rest of the shot tends to fall into place.
Lens
Every entry in the Lens menu is a real optical design, and the design decides the character: how round the discs are, how hard their rims are, how soon they turn into cat's-eyes toward the corners, whether they swirl. Try three quickly on any shot to see the range: Double-Gauss 50mm is the neutral modern reference, Petzval 100mm is the swirl, Triplet 100mm is the bright-rimmed soap bubble. The lens library has a note on each.
Format
Pick the Format the plate was shot on. It sets two things at once: the sensor size, which decides how big the bokeh reads in pixels, and the field angle at the frame corner, which decides how much of the lens's edge character reaches the corners. The same lens on a smaller sensor shows less swirl and less cat's-eye, exactly as it does on set. Custom unlocks both values if you need to type them.
Iris
Iris Radius is how wide the iris is open, in millimetres. Each lens loads wide open. Smaller values give smaller bokeh and less cat's-eye clipping toward the edges. For a stop-down that you want to animate, use Opening in the Aperture and Filter tab instead: it keeps full quality at any setting and works with or without a custom aperture image.
The same highlight-heavy plate through three lenses: Double-Gauss, Petzval, Triplet.
images/workflow-three-lenses.png
Place focus
There are three ways to say where focus is, and the shot decides which one you want.
- Focus is the everyday control. 0 is in focus, positive racks the focus plane farther from camera, negative brings it nearer. Half a unit either way covers the useful range and the slider keeps going past it.
- Filmback Offset is the physical focus ring, in millimetres of sensor travel. 0 is infinity, positive pulls focus closer. Use it when you are matching a real setup and know the numbers.
- Depth in Meters turns everything metric. The depth map is read as meters from the lens and focus is set with the Focus Distance slider, which racks with the lens's true distance response: a pull from 1 m to 2 m sweeps fast, 80 m to 90 m barely moves. This is the mode for matching a focus pull that was logged on set.
Source Distance tells the lens how far away the subject is for the character calculations. It defaults to infinity. For close work, a portrait or a tabletop, set it to the subject distance; a lens behaves a little differently up close and the discs follow.
Give it depth
Without a depth map the whole frame blurs together. With one, a pixel is sharp where its depth value matches the Focus control and larger values read as farther away. Gain and Bias rescale a map in other units, and the same Channel, Gain and Bias are shared by any layer depth maps.
Two kinds of depth change want two different tools:
- Hard steps, a subject cut out against a background, and ramps, a floor running away from camera. Turn on Depth Slicing in Nuke and After Effects: the shot renders in depth order so every bokeh shape stays complete and correctly sized across the change and no halo forms around the subject. In DaVinci Resolve, use Depth Cut for the subject-versus-background case.
- Soft, continuous depth renders well without slicing, and much faster. Feather the edges of hand-made mattes; a hard edge in the map is a hard edge in the blur.
The controls are in Layers and Depth Map.
Let the highlights bloom
Bokeh is made of highlights. If the plate is scene-linear the speculars already carry the energy to bloom into discs. If they look flat, lift them before the bokeh is rendered with Boost Highlights. Nothing ever darkens, and 0 is off.
- Boost Gamma chooses which brightnesses get lifted: 1 is even, above 1 spreads the lift into the mids, below 1 keeps it to the very brightest speculars.
- Boost Rolloff puts a soft ceiling on the lift at the plate's clip level, so highlights that are already well defined stay where they are while the moderate ones get the bokeh. Set it at the plate's clip value and leave it.
Size and vignetting
General Size multiplies the physically derived bokeh size. 1 is what the glass projects on the sensor. It is the control for "a bit more" or "a bit less" without changing anything about the character.
Vignetting decides what the edge clipping does to exposure. Compensated keeps the exposure flat, so corners never darken and only the disc shapes change. Relative applies the physical falloff with the frame centre pinned to the source exposure. Absolute is the full physical loss: iris masking, stopping down and transmission darken the whole frame like real glass, and tinted aperture maps tint it. Vignette Softness softens the cat's-eye clipping edge.
Quality against speed
Quality sets how finely the bokeh is resolved, from Draft to Extreme. Fast is the working setting. Raise it for the final render, for very large discs, or for very clean bokeh; Extreme is stills territory.
At the lower settings four controls clean up the discs without paying for a higher tier:
- Soften Internal Cutoff renders the bokeh as solid shapes with smooth edges at any Quality. Off is the classic crisp look, which can show faint rows and ragged rims when Quality is low.
- Sample Softness fills in the dotted texture inside the discs at low Quality, trading a little bokeh texture for smoothness. In-focus areas are untouched.
- Iris Size below 1 (Aperture and Filter tab) lets a clean, smooth-edged iris draw the rim instead of the glass, so discs stay round at any Quality.
- Dither breaks up the regular pattern inside the bokeh so it cannot beat against fine texture in the plate. Moire and stripes turn into faint, even grain that does not crawl.
In Nuke, Highlight Detail renders only the bright highlights at a higher quality and the rest of the frame at the working setting. It is much faster than raising Quality for the whole frame when only the highlight bokeh needs the extra detail.
All of these are in the Quality Settings reference.
Add character
Everything in the Creative tab bends the lens itself, so it stays tied to focus: in-focus areas are untouched, the effect grows with the bokeh and flips across focus the way real aberrations do. Values are mostly millimetres of sensor travel, and small numbers are already a lot. 0 is always the bare lens.
A good order to explore in: Impression first, for softer or harder rims, then Coma for swirl toward the corners, Zonal Ripple for onion rings, Lobes for the triangular squeezed-mount look, and the two CA controls for colour fringes on the rims. Creative reference.
One disc under four settings: bare lens, Impression positive, Impression negative, Zonal Ripple.
images/workflow-creative-discs.png
Shape the aperture and dirty the front
Iris Blades and Blade Rotation give a polygonal iris; match the real lens if you know it. An Aperture Map image, drawn white on black, replaces the iris with any shape, and colour differences in the artwork become chromatic fringing. A Front Filter image puts dirt, smudges or a matte box in front of the glass: unlike the aperture map, the artwork drifts across the discs with frame position and dark rims turn into extra cat's-eye. Aperture and Filter reference.