orthographic-registration
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseOrthographic 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 silhouette.
X/Z - Side view defines depth envelope.
Y/Z - Top view defines spread.
X/Y - Back view defines rear silhouette/material only; it must not rewrite the front silhouette.
- 正面视图定义轮廓。
X/Z - 侧面视图定义深度范围。
Y/Z - 顶部视图定义延展范围。
X/Y - 背面视图仅定义后部轮廓/材质;不得覆盖正面轮廓。
Workflow
工作流程
- Run on the available view images.
scripts/register_views.py - Create orthographic reference planes/image empties with a single shared scale.
- Align centerline and bbox centers before modeling.
- Lock front X/Z boundary vertices.
- Add Y depth from side/top envelopes using modifiers/displacement or vertex groups.
- Validate all four cameras before export.
- 对可用视图图像运行。
scripts/register_views.py - 创建具有统一缩放比例的正交参考平面/图像空物体。
- 在建模前对齐中心线和包围盒中心。
- 锁定正面X/Z边界顶点。
- 使用修改器/置换或顶点组从侧面/顶部范围添加Y轴深度。
- 导出前验证所有四个相机视角。
Failure policy
冲突处理规则
If views disagree, front brand read wins. Document the conflict in .
registration_report.json若各视图存在冲突,以正面品牌标识视图为准。将冲突记录在中。
registration_report.jsonFront-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 for 2D component orientation in the front projection. Z rotation spins objects into/out of screen-space incorrectly for X/Z-plane meshes.
rotation_euler = (0, angle, 0)在此Blender坐标约定中,正面相机沿Y轴方向观察,参考轮廓位于X/Z平面内。因此,正面视图内的2D旋转是绕Y轴的旋转,而非绕Z轴。在正面投影中,使用进行2D组件定位。Z轴旋转会使物体错误地旋入/旋出屏幕空间,不适用于X/Z平面网格。
rotation_euler = (0, angle, 0)Sources distilled
参考来源提炼
- Blender Image Empty/reference image controls for orthographic blueprints.
- OpenCV homography/alignment and geometric transforms for view registration.
- 用于正交蓝图的Blender图像空物体/参考图像控件。
- 用于视图注册的OpenCV单应性/对齐和几何变换。