Dolly Zoom
Introductionโ
The Dolly Zoom add-on implements the classic cinematic technique in Blender. This function simultaneously alters the camera's position (dolly) and its focal length (zoom). The effect preserves the composition of the scene's subject while manipulating perspective. That makes it a useful aid in manual camera matching: you adjust perspective without undoing prior positional alignments.
Key Takeawaysโ
Proportional Perspective
Executes synchronized camera movement (dolly) and focal length adjustment (zoom), resulting in the characteristic dolly zoom effect.
3D Cursor Pivot
The entire transformation pivots around the 3D Cursor. Positioning the cursor on a target object anchors that object's composition.
Camera Matching
Allows precise control of the scene's perspective, useful for aligning 3D geometry with photographic references.
Installationโ
The add-on is free and needs to be manually installed.
Step-by-step installation:
- Download: Obtain the add-on ZIP file from the repository linked in the video description (
https://gitlab.com/VupliDerts/dolly-zoom). - Preferences: In Blender, navigate to Edit then Preferences.
- Install: Select the Add-ons tab, then click the Install... button. Select the downloaded ZIP file.
- Enable: Locate the installed add-on and ensure the checkbox is marked to enable "Camera: Dolly Zoom".
Version 1.3.0; declared minimum Blender 4.1.
Usageโ
The Dolly Zoom function acts on the Active Camera.
Select Cameraยท active camera
Ensure the camera object is selected, making it the Active Camera.
Set Pivotยท 3D cursor
Place the 3D Cursor (Shift + Right-click) on the location or object that must maintain its size during the effect. This point is the pivot.
Access the Toolยท F3
Press F3, search for Dolly Zoom, and select it. Alternative: right-click the tool and Add to Quick Favorites to reach it with Q.
Execute and Adjustยท move
Activate the tool and move the mouse to perform the simultaneous camera dolly and focal length change. Hold Shift for finer, more controlled adjustments.
Camera Matching Applicationยท verify
Fine-tune the camera's perspective until objects at varying depths in the 3D scene align with the reference image.
How It Worksโ
The Dolly Zoom is useful in photomatching because it lets you "scale" the geometry in the background of your composition without losing the framing of your subject.
The Scale Ambiguityโ
When you start matching a photo, you usually place your virtual camera so the main subject is the correct size on screen. But you can achieve that "correct size" two ways: camera close + wide lens, or camera far away + telephoto lens. Both make the figure the same height, but only one makes the background match the photo.
The Dolly Zoom as a Sliderโ
The Dolly Zoom treats perspective distortion like a volume knob: you move the camera back (to make the background look bigger relative to the subject) while zooming in (to keep the subject the same size on screen). You pin the subject in place on the 2D screen while sliding the 3D world behind it to match the reference.
In an Investigationโ
Dolly zoom changes how the scene reads, so document what it corrected and how you verified the match.
Methodology: How to document Dolly Zoom
In Your Method Sectionโ
Guidance: Describe the purpose, the tool version, and the input data.
- Investigative Objective: To iteratively adjust camera perspective (focal length and distance) to match the spatial relationships in [Reference Image].
- Software Version: Dolly Zoom Add-on [Version] in Blender [Version].
- Input Data: Derived from [Reference Image Name] (Source Hash: [First 6 digits]) and initial camera calibration.
In Your Decision Logโ
Guidance: Record the specific procedural parameters and integrity checks.
- Specific Settings: Pivot Point ([Object/Location]), Start Focal Length ([X] mm), End Focal Length ([Y] mm).
- Assumptions: Assumed the pivot object ([Name]) was static and correctly identified in the reference image.
- Integrity Check: Verified that the pivot object remained screen-stationary while perspective shifted around it.
- Date Performed: [YYYY-MM-DD].
Verificationโ
Guidance: How did you mitigate bias or verify accuracy?
- Verification: Overlaid geometric primitives at near, mid, and far depths to confirm simultaneous alignment with the reference image.
- Bias Mitigation: Used a grid or multiple distinct reference points at different depths to avoid "eyeballing" the match based on a single feature.
Example Methodology Statementโ
"To refine the camera match, the Dolly Zoom add-on was used to adjust perspective relative to the [Pivot Object]. The camera's focal length was adjusted from [X] mm to [Y] mm while maintaining the subject's screen size. Alignment was verified by checking the registration of background features [Feature A] and foreground features [Feature B] simultaneously."
Limitationsโ
- Cannot correct for lens distortion or principal point offset. It assumes a rectilinear lens model.
- Extreme focal length adjustments can introduce rendering artifacts or unrealistic perspective if the starting guess is far off.
- The tool works on the active camera only. Other cameras are unaffected.
Resourcesโ
- Camera and Perspective, the perspective technique this addon serves
- Camera Matching, the matching workflow it refines
Sourcesโ
- Dolly Zoom, GitLab, source and download