photo_path_check
Checks a photo-based scene camera path for safe framing by projecting fold lines into each frame with exact Blender matrices and flagging poses that reveal mirrored content or holes.
Instructions
EXACT camera-path safety check for a photo_to_scene build: projects the photo's edge lines (where the mirror-fold margin begins) into the camera view at the given frames using Blender's own matrices - no frustum approximations. For each frame reports where each fold line falls in the frame (0-1, None if out of frame) and whether the pose is safe: a fold inside the seam_window (default [0.08, 0.9], i.e. anywhere except a sliver at the very frame edge) would show mirrored / doubled content, and a view past any margin-extended plane edge OR CORNER shows a hole. Calibrated on rendered ground truth: a fold 18% in from the edge over detailed content (trees) read as an obvious mirrored blob, so near-edge folds are only tolerated in the outer 8% of the frame. Check move endpoint frames after planning a path; tighten poses that come back unsafe, then confirm with validate_frames probe renders.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"camera": "<camera>",
"frames": "<frames>",
"photo_half_size": "<photo_half_size>"
},
"name": "photo_path_check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| camera | Yes | ||
| frames | Yes | ||
| margin | No | ||
| seam_window | No | ||
| photo_half_size | Yes |