> ## Documentation Index
> Fetch the complete documentation index at: https://dripart-docs-custom-nodes-sdk-v2-frontend.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Preview3DAdvanced - ComfyUI Built-in Node Documentation

> This node displays a 3D model preview in the UI without saving the file to the ComfyUI output directory.

This node displays a 3D model preview in the UI without saving the file to the ComfyUI output directory. It saves the model to a temporary file and passes through the model data, model information, camera information, and preview dimensions for further processing downstream.

## Inputs

| Parameter        | Description                                                         | Data Type       | Required | Range                                                      |
| ---------------- | ------------------------------------------------------------------- | --------------- | -------- | ---------------------------------------------------------- |
| `model_3d`       | 3D model file from an upstream 3D node.                             | FILE3D          | Yes      | GLB, GLTF, FBX, OBJ, STL, USDZ, or any supported 3D format |
| `model_3d_info`  | Optional model information metadata. Advanced option.               | LOAD3DMODELINFO | No       | -                                                          |
| `viewport_state` | The current viewport state containing camera and model information. | LOAD3D          | Yes      | -                                                          |
| `camera_info`    | Optional camera configuration for the 3D view. Advanced option.     | LOAD3DCAMERA    | No       | -                                                          |
| `width`          | The width of the preview in pixels. Default: 1024.                  | INT             | Yes      | 1 to 4096                                                  |
| `height`         | The height of the preview in pixels. Default: 1024.                 | INT             | Yes      | 1 to 4096                                                  |

Note: When `camera_info` or `model_3d_info` are not connected, their values are taken from `viewport_state` when available. If `viewport_state` has no model information, `model_3d_info` defaults to an empty list. If `viewport_state` is not a dictionary, it is treated as empty.

## Outputs

| Output Name     | Description                                                                   | Data Type       |
| --------------- | ----------------------------------------------------------------------------- | --------------- |
| `model_3d`      | The 3D model file passed through from the input.                              | FILE3D          |
| `model_3d_info` | Model information metadata, either from the input or from the viewport state. | LOAD3DMODELINFO |
| `camera_info`   | Camera configuration, either from the input or from the viewport state.       | LOAD3DCAMERA    |
| `width`         | The width of the preview in pixels.                                           | INT             |
| `height`        | The height of the preview in pixels.                                          | 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/Preview3DAdvanced/en.md)

***

**Source fingerprint (SHA-256):** `eda8c8fdd6ce7c39caf00c3054fc58e6dcab124fc3774d17af2deae651fbbf2e`
