> ## Documentation Index
> Fetch the complete documentation index at: https://docs.comfy.org/llms.txt
> Use this file to discover all available pages before exploring further.

# PreviewGaussianSplat - ComfyUI Built-in Node Documentation

> The PreviewGaussianSplat node displays a 3D gaussian splat file in a preview window without saving it to the ComfyUI output directory.

The PreviewGaussianSplat node displays a 3D gaussian splat file in a preview window without saving it to the ComfyUI output directory. It accepts a 3D model file in various gaussian splat formats, saves a temporary copy for previewing, and passes the model data through for further processing in the workflow. This node is marked as experimental and acts as an output node.

## Inputs

| Parameter | Description | Data Type | Required | Range |
| - | - | - | - | - |
| `model_3d` | A gaussian splat 3D file. | FILE3D | Yes | splat<br />ply<br />spz<br />ksplat |
| `model_3d_info` | Optional metadata information about the 3D model. When not connected, the node uses the model info from `viewport_state`. | LOAD3DMODELINFO | No | - |
| `viewport_state` | The current state of the 3D viewport, including camera and model information. | LOAD3D | Yes | - |
| `camera_info` | Optional camera information for the preview. When not connected, the node uses the camera info from `viewport_state`. | LOAD3DCAMERA | No | - |
| `width` | The width of the preview render in pixels (default: 1024). | INT | Yes | 1 to 4096 |
| `height` | The height of the preview render in pixels (default: 1024). | INT | Yes | 1 to 4096 |

Note: When `camera_info` or `model_3d_info` are not provided, the node falls back to the camera and model information stored in `viewport_state`. If `viewport_state` is not a valid viewport state object, it is treated as empty.

## Outputs

| Output Name | Description | Data Type |
| - | - | - |
| `model_3d` | The input 3D gaussian splat file, passed through unchanged. | FILE3D |
| `model_3d_info` | Metadata information about the 3D model, either from the input or derived from the viewport state. | LOAD3DMODELINFO |
| `camera_info` | Camera information for the preview, either from the input or derived from the viewport state. | LOAD3DCAMERA |
| `width` | The width of the preview render. | INT |
| `height` | The height of the preview render. | INT |

> 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/PreviewGaussianSplat/en.md)

***

**Source fingerprint (SHA-256):** `4fc86c692724ce406f9bba9aa9ebe22a92e72a25d11abf8f55d1b99044bb1acd`


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.