orthographic-registration

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Orthographic Registration

正交视图注册

This skill prevents the common failure where the front view looks plausible but the side/back/top views are wrong.
此技能可避免常见问题:正面视图看起来合理,但侧面/背面/顶部视图存在错误。

Coordinate contract

坐标约定

  • Front view defines
    X/Z
    silhouette.
  • Side view defines
    Y/Z
    depth envelope.
  • Top view defines
    X/Y
    spread.
  • Back view defines rear silhouette/material only; it must not rewrite the front silhouette.
  • 正面视图定义
    X/Z
    轮廓。
  • 侧面视图定义
    Y/Z
    深度范围。
  • 顶部视图定义
    X/Y
    延展范围。
  • 背面视图仅定义后部轮廓/材质;不得覆盖正面轮廓。

Workflow

工作流程

  1. Run
    scripts/register_views.py
    on the available view images.
  2. Create orthographic reference planes/image empties with a single shared scale.
  3. Align centerline and bbox centers before modeling.
  4. Lock front X/Z boundary vertices.
  5. Add Y depth from side/top envelopes using modifiers/displacement or vertex groups.
  6. Validate all four cameras before export.
  1. 对可用视图图像运行
    scripts/register_views.py
  2. 创建具有统一缩放比例的正交参考平面/图像空物体。
  3. 在建模前对齐中心线和包围盒中心。
  4. 锁定正面X/Z边界顶点。
  5. 使用修改器/置换或顶点组从侧面/顶部范围添加Y轴深度。
  6. 导出前验证所有四个相机视角。

Failure policy

冲突处理规则

If views disagree, front brand read wins. Document the conflict in
registration_report.json
.
若各视图存在冲突,以正面品牌标识视图为准。将冲突记录在
registration_report.json
中。

Front-plane rotation rule

正面平面旋转规则

In this Blender coordinate convention, the front camera looks along the Y axis and the reference silhouette lives in the X/Z plane. Therefore 2D rotations inside the front view are rotations around the Y axis, not around Z. Use
rotation_euler = (0, angle, 0)
for 2D component orientation in the front projection. Z rotation spins objects into/out of screen-space incorrectly for X/Z-plane meshes.
在此Blender坐标约定中,正面相机沿Y轴方向观察,参考轮廓位于X/Z平面内。因此,正面视图内的2D旋转是绕Y轴的旋转,而非绕Z轴。在正面投影中,使用
rotation_euler = (0, angle, 0)
进行2D组件定位。Z轴旋转会使物体错误地旋入/旋出屏幕空间,不适用于X/Z平面网格。

Sources distilled

参考来源提炼

  • Blender Image Empty/reference image controls for orthographic blueprints.
  • OpenCV homography/alignment and geometric transforms for view registration.
  • 用于正交蓝图的Blender图像空物体/参考图像控件。
  • 用于视图注册的OpenCV单应性/对齐和几何变换。