capture_conditioning_pass
Capture RGB, edge, and depth frames along a camera path from the live Rhino document to condition geometry-guided video generation, with per-frame camera data for re-projection.
Instructions
Capture RGB + edge (line drawing) + depth frames along a camera path from the LIVE Rhino document, as conditioning for geometry-guided video generation (Wan VACE / ControlNet). Depth and edges are read from the model itself, not estimated, and every frame's camera is recorded so the generated video can be re-projected against the source geometry.
shot: JSON string describing the camera path (model units, usually mm). One of: {"type":"orbit","center":[x,y,z],"radius":r,"height":z,"frames":81, "start_deg":0,"end_deg":90,"lens":35,"target_height":z} {"type":"track","cam0":[x,y,z],"cam1":[..],"target0":[..],"target1":[..],"frames":81,"lens":35} {"type":"keyframes","keyframes":[{"camera":[..],"target":[..],"lens":35}, ...],"frames":81} Use 4n+1 frames for Wan models (17, 33, 49, 65, 81). 81 frames = 5 s at 16 fps.
Writes to out_dir: rgb/ edge/ depth/ (f0000.png ...), rgb.mp4 / edge.mp4 / depth.mp4 (when ffmpeg is available), camera.json (per-frame camera receipt, schema building0.camera/0.1), zrange.csv (per-frame depth range), doc.json, summary.json. Depth is grayscale with near = bright (Rhino's native convention, what Wan/ControlNet depth expects); set invert_depth for near = dark. The user's viewport camera is restored when the pass finishes. Returns the summary JSON.
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": {
"shot": "<shot>",
"out_dir": "<out_dir>"
},
"name": "capture_conditioning_pass"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fps | No | ||
| shot | Yes | ||
| chunk | No | ||
| width | No | ||
| height | No | ||
| passes | No | rgb,edge,depth | |
| out_dir | Yes | ||
| rgb_mode | No | Rendered | |
| edge_mode | No | Technical | |
| invert_depth | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |