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

此节点通过反投影深度图并对生成的点云进行三角剖分，将 DA3\_GEOMETRY 数据包转换为 3D 网格。它处理批次中的单个图像，并生成适合 3D 渲染的带纹理或不带纹理的网格。

## ## 输入

| 参数                        | 描述                                                                                 | 数据类型          | 是否必需 | 范围           |
| ------------------------- | ---------------------------------------------------------------------------------- | ------------- | ---- | ------------ |
| `da3_geometry`            | 包含深度图、可选置信度图、可选天空图及源图像的 DA3\_GEOMETRY 数据包                                          | DA3\_GEOMETRY | 是    | -            |
| `batch_index`             | 要转换的批次中的图像索引。每张图像的顶点数量不同，因此批次无法堆叠（默认值：0）                                           | INT           | 是    | 0 至 4096     |
| `decimation`              | 顶点步长。1 = 全分辨率，2 = 半分辨率，以此类推（默认值：1）                                                 | INT           | 是    | 1 至 8        |
| `discontinuity_threshold` | 丢弃 3x3 深度跨度超过此比例的三角形。0 = 关闭（默认值：0.04）                                              | FLOAT         | 是    | 0.0 至 1.0    |
| `confidence_threshold`    | 排除归一化置信度低于此值的像素。0 = 保留所有像素，1 = 仅保留置信度最高的单个像素。当几何体包含置信度图时使用（Small/Base 模型）（默认值：0.1） | FLOAT         | 是    | 0.0 至 1.0    |
| `use_sky_mask`            | 从网格中排除天空概率像素（天空 >= 0.5）。当几何体包含天空图时使用（Mono/Metric 模型）（默认值：True）                     | BOOLEAN       | 是    | True 或 False |
| `texture`                 | 使用源图像作为基础颜色纹理（默认值：True）                                                            | BOOLEAN       | 是    | True 或 False |

## ## 输出

| 输出名称   | 描述                           | 数据类型 |
| ------ | ---------------------------- | ---- |
| `MESH` | 包含顶点、面、UV 坐标及可选纹理的三角剖分 3D 网格 | MESH |

> 本文档由 AI 生成。如果您发现任何错误或有改进建议，欢迎贡献！ [在 GitHub 上编辑](https://github.com/Comfy-Org/embedded-docs/blob/main/comfyui_embedded_docs/docs/DA3GeometryToMesh/zh.md)

***

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