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.

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.

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:

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.

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:

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.

Image

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.