## Overview

This node converts a MoGe point map into a 3D mesh. It takes the geometry data produced by a MoGe depth estimation node and triangulates it into a mesh with UV coordinates and an optional texture.

## Inputs

| Parameter | Description | Data Type | Required | Range |
| --- | --- | --- | --- | --- |
| `moge_geometry` | The MoGe geometry data containing point maps, depth, and optionally the source image. | MOGE_GEOMETRY | Yes | N/A |
| `batch_index` | Which image of a batched MoGe geometry to mesh. Per-image vertex counts differ, so batches can't be stacked into a single MESH (default: 0). | INT | Yes | 0 to 4096 |
| `decimation` | Vertex stride; 1 = full resolution (default: 1). | INT | Yes | 1 to 8 |
| `discontinuity_threshold` | Drop pixels whose 3x3 depth span exceeds this fraction. 0 = off (default: 0.04). | FLOAT | Yes | 0.0 to 1.0 |
| `texture` | Carry the source image through as the baseColor texture (default: True). | BOOLEAN | Yes | True/False |

## Outputs

| Output Name | Description | Data Type |
| --- | --- | --- |
| `MESH` | A 3D mesh with vertices, faces, UV coordinates, and an optional texture from the source image. | 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/MoGePointMapToMesh/en.md)

---
**Source fingerprint (SHA-256):** `65c43d64050d1c63d9efbb6c2bb96123f94c6d356d6341f2975537ac24ace29f`
