render_cull
Hides scene items the camera cannot see from Iray renders to cut geometry and texture load while keeping lights, walls, and visible objects; restores hidden items afterward.
Instructions
Finds what a camera cannot see and leaves it out of the render, so Iray loads less geometry and fewer textures (faster, and less memory on CPU or a small GPU). Out of the picture, behind the camera, or worn under other clothing: those nodes get "Visible in Render" off. The viewport and the saved file do not change, and restore puts everything back. Keeps things that still matter off screen: walls and ceilings that hold light in, things between a light and the subject, things close to it, lamps that glow, and everything when a mirror is in view. render, render_shots and render_animation do this per shot with cull=true.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "render_cull"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| keep | No | Labels never to drop (a figure keeps what it wears). | |
| action | No | check: only report; hide: take out of the render what the camera does not see; restore: put back what an earlier hide took out. | check |
| camera | No | Camera label; default the viewport camera. | |
| detail | No | List every node with its status. | |
| samples | No | Frames of the range to test (spread evenly, ends included). | |
| end_frame | No | ||
| occlusion | No | worn: also drop clothing hidden under other clothing of the same figure (underwear under a long skirt). none: only what is out of the picture. | worn |
| resolution | No | Width of the depth buffer for the covered-clothing test. | |
| start_frame | No | With end_frame: an animation range; what is seen at any sampled frame is kept. | |
| depth_margin | No | cm a worn item must sit behind other clothing to count as covered. | |
| frame_margin | No | Share of the picture added on each side before testing. | |
| shadow_margin | No | cm: keep out-of-picture things this close to the picture (contact shadows, bounce light). | |
| ignore_reflections | No | Drop out-of-picture things even with a mirror in view. |