Extensions
  • Home
  • Add-ons
  • Themes
  • Approval Queue
  • About
  • Upload Extension
  • Sign in
  • BLENDER.ORG

    • Download

      Get the latest Blender, older versions, or experimental builds.

    • What's New

      Stay up-to-date with the new features in the latest Blender releases.

    DEVELOPMENT

    • Roadmap

      See which projects are currently being worked on and what's next.

    • Documentation

      Guidelines, release notes and development docs.

    LEARNING & RESOURCES

    • Blender Studio

      Access production assets and knowledge from the open movies.

    • Manual

      Documentation on the usage and features in Blender.

    • Benchmark

      A platform to collect and share results of the Blender Benchmark.

    • Blender Conference

      The yearly event that brings the community together.

    DONATE

    • Development Fund

      Support core development with a monthly contribution.

    • One-time Donations

      Perform a single donation with more payment options available.

All Add-ons

Add-on Simple Camera Match
Simple Camera Match

Simple Camera Match - Blender插件.
Add-on by MingWitty
About What's New Reviews Version History

Simple Camera Match (简易相机反求插件)

这是一个用于 Blender 的轻量级、高效率相机反求与透视匹配插件。它允许你直接在相机视口中对照着背景参考图,通过手动绘制 X、Y、Z 三个维度的透视消失线,来实时、自动地解算出相机的精准焦距、位置与旋转角度。


🚀 核心特性

  • 直观的交互绘制:完全在相机视口的 2D 空间内操作,实时视觉反馈,所见即所得。
  • 高阶地平线约束 (Horizon Constraint):在地平线系统辅助下,支持直接拖拽地平线把手来灵活微调相机的俯仰视角 (Pitch)。
  • 丝滑的多相机支持:无论是切换相机还是新建相机,插件都能在后台自动实现无缝接管与数据清理。
  • 历史记录安全:内置独立的绘制操作撤销 / 重做栈,避免与 Blender 庞大混乱的全局撤销树冲突。

📖 详细使用说明

第一步:准备好你的相机背景图

第二步:绘制你的透视线

在 CameraMatch 侧边栏中点击最显眼的 Draw Reference Line (绘制参考线) 按钮,此时你会进入沉浸式的交互绘制模式(观察屏幕顶部的操作提示栏会改变):

🎨 基础绘制操作:

  • 画线:在视口空白处 左键点击并拖动,即可拉出一条透视参考线。
  • 改线:把鼠标悬停在已绘制线段的端点上并 左键拖拽 即可重新修改端点位置。(悬停在线段中间圆点上点击则可以激活该线段)
  • 删线:将鼠标悬停到某条线的端点上使其高亮,按下键盘 X 键即可删除这条线。
  • 退出:按下键盘 Esc 或是单击鼠标 右键 随时退出绘制模式。

⌨️ 切换维度轴向 (非常重要):

绘制透视线时,你需要告诉插件你这根线代表什么空间朝向。

  • 按键盘 1 (或小键盘 1):切换进入 X 轴向(红色,通常代表物体的宽度或左右深度)。
  • 按键盘 2 (或小键盘 2):切换进入 Y 轴向(绿色,通常代表物体的另一侧深度)。
  • 按键盘 3 (或小键盘 3):切换进入 Z 轴向(蓝色,通常代表垂直于地面的高度)。

(建议:找准相片中的建筑、盒子等直角参照物,分别顺着它们的边缘画出 X、Y 和 Z 轴) *单点透视*:只绘制一个轴向的透视线段,当你需要物体时正确朝上的的时候,只推荐绘制Y轴(键盘2)绘制

🎯 绘制辅助与微调:

  • 微调减速:在拖拽线条端点时,按住 Shift 键,鼠标的移动速度将被减弱,非常适合用来将线点完美贴合到背景图的像素边缘。
  • 正交锁定线段:在画线拖动时(或者准备画之前),按一次键盘上的 X 键,可强制让线段保持绝对水平;按一次 Y 键,可让线段保持绝对垂直。(再次按下对应按键即可解除锁定)

🧹 清理与重置:

  • 撤销 / 重做:绘制画错时,按 Ctrl + Z (Mac 为 Cmd + Z) 撤销上一步线段编辑。 也可以配合 Shift 进行重做。
  • 终极清理键:按下 Alt + X 将瞬间清空当前相机的所有相关透视线以及全部解算偏移缓存,相当于对当前视角来一张完美的纯净“白纸”,在匹配陷入混乱想要重新开始时极其好用!

🌅 高级功能:地平线把控 (Horizon Constraint)

在绘制面板的下方,你能看到一个 Horizon Constraint(地平线约束)模块。 当地平线被开启后,插件会根据你画出的 X 轴、Y 轴自动推测并展示出一条蓝色的天际线。

👉 拖拽地平线把手:

  1. 观察视口,在地平线的中央你会看到一个稍大一点的 菱形手柄。
  2. 即使你不处于绘制模式,只需将鼠标按住该手柄上下拖动,插件就能强行扭转覆盖相机的俯仰角 (Pitch)。利用这个手柄可以从视觉上最直观地找回照片里的相机镜头倾斜感。
  3. 注意: 拖拽手柄是一种由你主观引入的“强制偏差叠加”。因此,每当你之后再度尝试去改动或绘制核心的透视线段时,之前手动拖拉产生的地平线偏移量将会被立刻重置清零。保证最严谨的数学解算永远是以透视线为尊。

<br><br><br>



Simple Camera Match (English Version)

This is a lightweight and highly efficient plugin for camera reconstruction and perspective matching in Blender. It allows you to automatically and precisely solve the camera's focal length, location, and rotation in real-time by manually drawing X, Y, and Z vanishing lines directly within the camera viewport, using a background image as reference.


🚀 Core Features

  • Intuitive Interactive Drawing: Operate entirely within the 2D space of the camera viewport with real-time visual feedback. What you see is what you get.
  • Advanced Horizon Constraint: Supported by a horizon visual system, it allows you to flexibly tweak the camera's pitch by directly dragging the horizon handle.
  • Seamless Multi-Camera Support: Whether you switch between cameras or create a new one, the plugin automatically handles data cleanup and seamless transitions in the background.
  • Safe History Tracking: Features an independent undo/redo stack for drawing operations to avoid conflicts with Blender’s global undo history.

📖 Detailed Instructions

Step 1: Prepare Your Camera

Make sure you have at least one camera tracking your scene. Navigate to Camera View (Numpad 0) and add your reference images via the Camera Properties -> Background Images panel.

Step 2: Draw Your Perspective Lines

Click the prominent Draw Reference Line button in the CameraMatch sidebar to enter the immersive interactive drawing mode:

🎨 Basic Drawing Operations:

  • Draw Line: Left Click and Drag in an empty area of the viewport to create a perspective reference line.
  • Edit Line: Hover the mouse over an endpoint of a drawn line and Left Click and Drag to modify its position. (Clicking the middle dot of a line makes it active).
  • Delete Line: Hover over an endpoint of a line to highlight it, and press X to delete that line.
  • Exit: Press Esc or Right Click to exit drawing mode at any time.

⌨️ Switch Dimension Axes (Crucial):

When drawing perspective lines, you must tell the plugin which spatial direction the line represents.

  • Press 1 (or Numpad 1): Switch to the X Axis (Red, usually represents width or lateral depth).
  • Press 2 (or Numpad 2): Switch to the Y Axis (Green, usually represents the other side's depth).
  • Press 3 (or Numpad 3): Switch to the Z Axis (Blue, usually represents height perpendicular to the ground).

(Tip: Find orthogonal references like buildings or boxes in the photo, and draw X, Y, and Z axes along their edges respectively.)

*Single-Point Perspective: Draw perspective lines for only one axis. When you need reconstructed objects to orient perfectly upright, it is strictly recommended to only draw the Y Axis (Key 2)*.

🎯 Drawing Aids and Fine-Tuning:

  • Precision Slowdown: Hold Shift while dragging an endpoint to decrease mouse movement speed. This is perfect for perfectly aligning points to pixel edges of the background image.
  • Orthogonal Lock: While dragging to draw a line (or before drawing), press X once to force the line to be absolutely horizontal; press Y once to force it to be absolutely vertical. (Press the key again to unlock).

🧹 Cleanup and Reset:

  • Undo / Redo: If you make a mistake, press Ctrl + Z (Cmd + Z on Mac) to undo the last line edit. Use with Shift to redo.
  • Ultimate Reset Key: Press Alt + X to instantly clear all perspective lines and solve caches for the current camera. This provides a perfectly clean "blank slate" for the current view. It is extremely useful when your match becomes messy and you want to start over!

🌅 Advanced Feature: Horizon Constraint

Below the drawing panel, you will find the Horizon Constraint module. When enabled, the plugin automatically infers and displays a blue horizon line based on your drawn X and Y axes.

👉 Drag the Horizon Handle:

  1. Look at the viewport. You will see a slightly larger diamond-shaped handle in the center of the horizon.
  2. Even when not in drawing mode, you can simply click and drag this handle up or down to forcefully adjust the camera's Pitch. This handle allows you to visually recover the camera tilt from the reference photo.
  3. Note: Dragging the handle introduces an intentional, manual "offset variation". Therefore, whenever you subsequently attempt to modify or draw core perspective lines, any previously dragged manual horizon offset will be immediately reset to zero. This ensures that rigorous mathematical solving is always prioritized based on your perspective lines.

🤖 Automation Details

If you are immersed in matching lines for one camera and suddenly switch to another camera in the Outliner—Don't worry! The plugin instantly detects the viewport change and automatically wipes all the messy history from the previous camera. You can immediately start drawing your new camera with zero errors or interruptions!


What's New

1.1.2 April 30th, 2026

添加Linux支持. Add Linux support.

See all versions


Permissions

This extension does not require special permissions.

Developer
MingWitty
Rating
(5)
Version
1.1.2
Updated
2 mo
Published
March 30th, 2026
Downloads
6123
Size
37.9 KB
Compatibility
Blender 4.2 LTS and newer
Supported Platforms
  • macOS Apple Silicon, Intel
  • Windows , Arm
  • Linux
Website
space.bilibili.com/263206115
Report Issues
github.com/Witty-Ming/Simple-Camera-Reversal
License
GNU General Public License v3.0 or later
3D View Object Scene
...or download and Install from Disk
  • 37.9 KB

Reviews

See all
  • Vyshegor
  • v1.1.2
  • 2 w

A very useful addon with easy controls and a clear interface!

  • 0.e753
  • v1.1.2
  • 1 mo

good addon

  • LoneWOLF
  • v1.0.9
  • 2 mo

Wow awesome addon, thank you very much.

5.0

5 reviews
5
4
3
2
1
Rate this Add-on Report an issue
  • About
  • Privacy Policy
  • Terms of Service
About
  • Blender Foundation
  • Blender Institute
  • Blender Studio
  • License
  • Logo & Trademark
  • Credits
  • Privacy Policy
  • Code of Conduct
Organization
  • People
  • Jobs
Blender Network
Download
  • Latest Blender
  • Blender LTS
  • Previous Versions
  • Experimental Builds
  • Source Code
  • Requirements
  • Benchmark
  • Flamenco
Extensions
  • Add-ons
  • Themes
Developers
  • Get Started
  • Roadmap
  • Projects
  • Docs
  • Blog
  • Forum
  • YouTube
  • Python API
Blender Studio
  • Films
  • Training
  • Tools & Pipeline
Support
  • Manual
  • Community
  • FAQ
Get Involved
  • Documentation
  • Education
News
  • Press Releases
  • User Stories
Blender Conference
Follow Blender
Support Blender
  • Donate
  • One-time Donation
Artistic freedom starts with Blender The Free and Open Source 3D Creation Suite