Match a Blender camera to a reference photo

img2cube is a Blender add-on for setting a camera to match the perspective in a photo. Draw lines over the reference and run a 2-VP or 3-VP solve. Using vanishing points, it recovers the camera’s focal length and rotation. This can help when building a scene from architectural or other real-world reference imagery, where matching the view is an early modeling step.

The official listing describes drawing a few lines and clicking Solve, so you can work with the reference without switching to an external camera-matching application.

Set scale and place 3D reference points

Once the camera is matched, img2cube can scale the scene from one known real-world measurement. For example, enter a known door height and the scene scales to match it. This provides a measured reference for modeling dimensions from the photo.

You can click a drawn line or its extension to place a Blender Empty at the corresponding 3D position. Intersection snapping helps origin picks and snap points land on computed line intersections. These points give you locations to refer to while laying out geometry in the scene.

Track depth and estimated dimensions

Version 1.0.6 includes a depth graph with T-junction support. Metric depths propagate through the line network, so measurements can carry across connected segments. An estimated-dimensions overlay can show computed segment lengths in real time.

Together, the camera solve, scale input, line network, and snap points connect the photograph to measurable positions in Blender. They are useful when you need a camera and spatial references for a modeling task, rather than a camera view alone.

Compatibility and installation

The official Blender Extensions listing identifies version 1.0.6, published July 1, 2026, and lists Blender 4.2 LTS and newer as compatible. The extension is licensed under GNU GPL v3.0 or later and does not require special permissions.

Get img2cube from the official Blender Extensions listing. It offers a drag-and-drop option and a downloadable archive for installation from disk. Visit the developer’s issue tracker to report problems.