daz_render_with_camera
Render a scene from a specific camera without altering the viewport camera, enabling multi-camera batch renders.
Instructions
Render from specific camera without changing active viewport camera.
Renders the scene from the specified camera's viewpoint. The viewport camera remains unchanged, making this ideal for multi-camera renders without disrupting the user's viewport.
Args: camera_label: Display label of the camera to render from. output_path: Optional output file path. If not specified, renders to viewport.
Returns:
success: true on success
camera: camera label used for render
outputPath: output file path (or null if rendered to viewport)
Example: # Render from specific camera daz_render_with_camera("Camera 1", output_path="/path/to/render.png")
# Render from multiple cameras without changing viewport
cameras = ["Front", "Side", "Top", "Perspective"]
for cam in cameras:
daz_render_with_camera(cam, output_path=f"renders/{cam}.png")
# Test render from camera (to viewport, no file)
daz_render_with_camera("Camera 1")Note: - Viewport camera remains unchanged after render - Previous render camera is restored automatically - Use for multi-camera batch renders - Combine with daz_orbit_camera_around() to set up camera first
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| camera_label | Yes | ||
| output_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||