# Create Camera Info

The Create Camera Info node builds a camera information structure for 3D rendering. It supports three modes for defining the camera: orbit (yaw/pitch/distance around a target), look_at (explicit world position), and quaternion (position plus rotation). The coordinate system is right-handed with Y as the up axis.

## Inputs

| Parameter | Description | Data Type | Required | Range |
|-----------|-------------|-----------|----------|-------|
| `mode` | How to define the camera: orbit angles, an explicit position, or a position + quaternion. | COMBO | Yes | `"orbit"`<br>`"look_at"`<br>`"quaternion"` |
| `target_x` | Look-at point (orbit pivot / aim). In orbit mode, move it to pan/translate the whole camera. Ignored in quaternion mode. Defaults to the origin. (default: 0.0) | FLOAT | No | -1000.0 to 1000.0 |
| `target_y` | Y component of the target point. (default: 0.0) | FLOAT | No | -1000.0 to 1000.0 |
| `target_z` | Z component of the target point. (default: 0.0) | FLOAT | No | -1000.0 to 1000.0 |
| `roll` | Camera roll about the view axis, in degrees. (default: 0.0) | FLOAT | No | -180.0 to 180.0 |
| `fov` | Vertical field of view in degrees. (default: 35.0) | FLOAT | No | 1.0 to 120.0 |
| `zoom` | Digital zoom (focal-length multiplier). Values greater than 1 zoom in without moving the camera. (default: 1.0) | FLOAT | No | 0.01 to 100.0 |
| `camera_type` | Projection used by Render Splat: perspective (foreshortening) or orthographic (parallel). (default: "perspective") | COMBO | No | `"perspective"`<br>`"orthographic"` |

### Mode-Specific Parameters

When `mode` is set to `"orbit"`, the following parameters become available:

| Parameter | Description | Data Type | Required | Range |
|-----------|-------------|-----------|----------|-------|
| `yaw` | Horizontal rotation angle around the target. (default: 35.0) | FLOAT | Yes | -360.0 to 360.0 |
| `pitch` | Vertical rotation angle around the target. (default: 30.0) | FLOAT | Yes | -89.0 to 89.0 |
| `distance` | Camera distance from the target. (default: 4.0) | FLOAT | Yes | 0.01 to 1000.0 |

When `mode` is set to `"look_at"`, the following parameters become available:

| Parameter | Description | Data Type | Required | Range |
|-----------|-------------|-----------|----------|-------|
| `position_x` | Camera position in world space (right-handed, Y-up). (default: 4.0) | FLOAT | Yes | -1000.0 to 1000.0 |
| `position_y` | Y component of the camera position. (default: 4.0) | FLOAT | Yes | -1000.0 to 1000.0 |
| `position_z` | Z component of the camera position. (default: 4.0) | FLOAT | Yes | -1000.0 to 1000.0 |

When `mode` is set to `"quaternion"`, the following parameters become available:

| Parameter | Description | Data Type | Required | Range |
|-----------|-------------|-----------|----------|-------|
| `position_x` | Camera position in world space (right-handed, Y-up). (default: 4.0) | FLOAT | Yes | -1000.0 to 1000.0 |
| `position_y` | Y component of the camera position. (default: 4.0) | FLOAT | Yes | -1000.0 to 1000.0 |
| `position_z` | Z component of the camera position. (default: 4.0) | FLOAT | Yes | -1000.0 to 1000.0 |
| `quat_x` | X component of the camera world-rotation quaternion. (default: 0.0) | FLOAT | Yes | -1.0 to 1.0 |
| `quat_y` | Y component of the camera world-rotation quaternion. (default: 0.0) | FLOAT | Yes | -1.0 to 1.0 |
| `quat_z` | Z component of the camera world-rotation quaternion. (default: 0.0) | FLOAT | Yes | -1.0 to 1.0 |
| `quat_w` | Camera world-rotation quaternion (three.js: looks down local -Z). Normalized for you. (default: 1.0) | FLOAT | Yes | -1.0 to 1.0 |

**Note:** The `target_x`, `target_y`, and `target_z` parameters are ignored when `mode` is set to `"quaternion"`. In `"orbit"` mode, these target parameters define the pivot point around which the camera orbits.

## Outputs

| Output Name | Description | Data Type |
|-------------|-------------|-----------|
| `camera_info` | Camera information structure containing position, rotation, field of view, zoom, and projection type for 3D rendering. | LOAD3DCAMERA |

> This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! [Edit on GitHub](https://github.com/Comfy-Org/embedded-docs/blob/main/comfyui_embedded_docs/docs/CreateCameraInfo/en.md)

---
**Source fingerprint (SHA-256):** `577c114130f72b753d5f15775fe05b3e1e734f5865cca32c576d042583f8e873`
