Skip to main content

Dolly Zoom

CAMERA MATCHING
📖5 min read

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. This capability is instrumental in manual camera matching, allowing perspective adjustment without undoing prior positional alignments.


Key Features

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:

  1. Download: Obtain the add-on ZIP file from the repository linked in the video description (https://gitlab.com/VupliDerts/dolly-zoom).
  2. Preferences: In Blender, navigate to Edit then Preferences.
  3. Install: Select the Add-ons tab, then click the Install... button. Select the downloaded ZIP file.
  4. Enable: Locate the installed add-on and ensure the checkbox is marked to enable "Camera: Dolly Zoom".

Usage

The Dolly Zoom function acts on the Active Camera.

Step-by-step Operation:

  1. Select Camera: Ensure the camera object intended for modification is selected, making it the Active Camera.
  2. Set Pivot: Place the 3D Cursor (Shift + Right-click) on the location or object in the 3D scene that must maintain its size and position during the effect. This point acts as the pivot for the dolly zoom.
  3. Access Tool:
    • Press F3 to open the search menu, then search for and select "Dolly Zoom".
    • Alternative: Right-click the tool in the F3 menu and select Add to Quick Favorites. Access the tool quickly by pressing Q.
  4. Execute and Adjust: Activate the tool via F3 or Q. Move the mouse to perform the simultaneous camera dolly and focal length change.
    • Hold Shift for finer, more controlled adjustments.
  5. Camera Matching Application: In the context of aligning a 3D model to a background photograph, use the Dolly Zoom to fine-tune the camera's perspective until objects at varying depths in the 3D scene align with the reference image.

Dolly Zoom

The "Dolly Zoom" is a powerful tool in photomatching because it allows you to 'scale' the geometry in the backgroudn of your composition without losing the framing of your subject.

  1. The Problem: The "Scale Ambiguity"

When you start matching a photo, you usually place your virtual camera so the main subject (like the red mannequin in our screenshot) is the correct size on the screen.

But you can achieve that "correct size" in two ways:

Option A: Camera close + Wide Lens.

Option B: Camera far away + Telephoto Lens.

Both make the figure the same height on your screen. But only one of them will make the background match the photo.

  1. The Solution: The Dolly Zoom as a "Slider"

The Dolly Zoom allows you to treat "Perspective Distortion" like a volume knob.

Imagine you have matched the red figure, but the gray wall behind him looks too small compared to your reference photo.

If you just move closer: The figure gets too big.

If you just zoom in: The figure gets too big.

The Dolly Zoom maneuver: You move the camera BACK (to make the wall look bigger relative to the man) while simultaneously ZOOMING IN (to keep the man the same size on screen).

You are essentially "pinning" the subject (or any other object for that matter) in place on your 2D screen, while sliding the 3D world behind them to match the reference.

Summary

The Dolly Zoom add-on handles the synchronized adjustment of camera distance and focal length, making it an effective tool for achieving a dramatic cinematic effect. Its primary value in 3D reconstruction is the ability to iteratively adjust the camera's perspective, pivoting around the 3D Cursor, to achieve precise manual camera matching with reference imagery.


Documentation for Methodology

To ensure your work aligns with the Berkeley Protocol and the Guide for Judges, use the following points to document your use of the Dolly Zoom tool.

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 & Mitigation

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.

Common Limitations

  • Cannot correct for lens distortion or principal point offset; assumes a rectilinear lens model.
  • Extreme focal length adjustments may introduce rendering artifacts or unrealistic perspective if the initial guess is far off.

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."