What Is Rack Focus? Definition + Examples
Rack focus is a camera technique where the lens shifts focus from one subject to another within a single continuous shot. Plus how it works, examples, and where to use it in AI workflows.
What Is Rack Focus?
Rack focus is a cinematography technique where the camera shifts focus from one subject to another mid-shot, pulling the viewer's attention across the frame without a cut.
The name comes from the physical rack-and-pinion gear on a cinema lens that a focus puller turns to glide focus from one depth plane to another. One subject goes sharp while the other goes soft, and the transition between them is deliberate and visible. It's one of the most recognized moves in film grammar precisely because it works on the viewer's attention so directly. When the background blurs into the foreground, you follow it. You can't not.
How rack focus works
Focus in a camera lens is tied to depth of field. A shallow depth of field means only objects at a specific distance from the camera appear sharp. Everything closer or farther falls into blur. Rack focus exploits this. Two subjects exist in the same frame but at different distances from the lens. The camera holds one in focus while the other sits as a soft shape in the background or foreground. Then the focus shifts, the soft shape sharpens, and the previously sharp subject dissolves into blur.
The speed of the shift matters as much as the shift itself. A slow rack feels contemplative, building suspense. A fast snap rack feels urgent or comedic. The direction matters too: pulling from foreground to background opens the world up; pulling from background to foreground closes it down and gets intimate.
In AI video generation, the model doesn't operate a physical lens, but it synthesizes the same optical behavior. Depth-of-field rendering and focus transitions are part of how modern video diffusion models simulate real cinematography. You describe the move in your prompt and the model applies it.
When you use rack focus
Reveal. A character in the foreground is blurred while an object or second character sits sharp in the background. The rack brings the foreground subject into focus, revealing their reaction to what's behind them. The audience registers both pieces of information in sequence, not simultaneously.
Transition. Instead of cutting between two scenes or subjects, a rack focus bridges them within a single shot. The focus move tells the viewer that their attention should move without the edit making that explicit.
Emphasis. Mid-conversation, the focus shifts from the speaker to the listener. It's a visual comma. The dialogue keeps going but the camera is now reading the reaction, not the delivery.
Spatial storytelling. Two subjects in the same frame get different emotional weight depending on which one is sharp. A rack focus can shift who "owns" the scene without changing the composition at all.
Examples with Veo 3.1
Veo 3.1 responds well to explicit focus instructions. Adding the phrase "rack focus" to a prompt triggers the optical behavior reliably. A few prompt structures that work:
"Medium shot of a woman reading a letter in the foreground, blurred city street behind her, rack focus pulls from her face to a figure approaching on the street behind, golden hour."
"Close-up of a coffee cup in sharp focus, busy cafe interior softly blurred in the background, slow rack focus pulls back to reveal a couple arguing at a table behind it."
"Two chess pieces, one in sharp focus in the foreground, opponent's piece softly blurred behind it, fast snap rack focus to the background piece as a hand reaches into frame."
The "rack focus" cue in Veo 3.1 prompts tends to produce a smooth, natural-looking depth transition rather than a digital zoom or crop. Pairing it with a shallow depth-of-field instruction ("shot on 85mm f/1.4" or "shallow depth of field") sharpens the effect because the model has more contrast between the in-focus and out-of-focus planes to work with.
Related concepts
- Veo 3 Prompt Guide covers the full vocabulary of Veo 3.1 camera instructions, including focus control, lens simulation, and motion pacing.
- Veo 3 Prompts for Cinematic Shots has ready-to-use prompt templates for common film moves, with rack focus examples alongside dolly shots, handheld tracking, and shallow-focus close-ups.
Want to run a rack focus prompt right now? Open 8frame and drop a Veo 3.1 clip into the canvas.