> ## 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.

# DA3GeometryToMesh - ComfyUI Built-in Node Documentation

> Complete documentation for the DA3GeometryToMesh node in ComfyUI. Learn its inputs, outputs, parameters and usage.

This node converts a DA3\_GEOMETRY packet into a 3D mesh by unprojecting the depth map and triangulating the resulting point cloud. It processes a single image from a batch and produces a textured or untextured mesh suitable for 3D rendering.

## Inputs

| Parameter                 | Description                                                                                                                                                                                                           | Data Type     | Required | Range         |
| ------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------- | -------- | ------------- |
| `da3_geometry`            | The DA3\_GEOMETRY packet containing depth map, optional confidence map, optional sky map, and source image                                                                                                            | DA3\_GEOMETRY | Yes      | -             |
| `batch_index`             | Which image of a batch to convert. Per-image vertex counts differ so batches cannot be stacked (default: 0)                                                                                                           | INT           | Yes      | 0 to 4096     |
| `decimation`              | Vertex stride. 1 = full resolution, 2 = half, etc. (default: 1)                                                                                                                                                       | INT           | Yes      | 1 to 8        |
| `discontinuity_threshold` | Drop triangles whose 3x3 depth span exceeds this fraction. 0 = off (default: 0.04)                                                                                                                                    | FLOAT         | Yes      | 0.0 to 1.0    |
| `confidence_threshold`    | Exclude pixels whose per-image normalised confidence is below this value. 0 = keep all, 1 = keep only the single most confident pixel. Used when the geometry has a confidence map (Small/Base models) (default: 0.1) | FLOAT         | Yes      | 0.0 to 1.0    |
| `use_sky_mask`            | Exclude sky-probability pixels (sky >= 0.5) from the mesh. Used when the geometry has a sky map (Mono/Metric models) (default: True)                                                                                  | BOOLEAN       | Yes      | True or False |
| `texture`                 | Use the source image as a base color texture (default: True)                                                                                                                                                          | BOOLEAN       | Yes      | True or False |

## Outputs

| Output Name | Description                                                                       | Data Type |
| ----------- | --------------------------------------------------------------------------------- | --------- |
| `MESH`      | A triangulated 3D mesh with vertices, faces, UV coordinates, and optional texture | MESH      |

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

***

**Source fingerprint (SHA-256):** `1d311223a8d131030bcd4930d21852a21ac9dd5758e7f8b8d20b1cf68698893b`
