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

# MoGePointMapToMesh - ComfyUI Built-in Node Documentation

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

> 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)

## 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                 | Data Type      | Required | Range      | Description                                                                                                                                  |
| ------------------------- | -------------- | -------- | ---------- | -------------------------------------------------------------------------------------------------------------------------------------------- |
| `moge_geometry`           | MOGE\_GEOMETRY | Yes      | N/A        | The MoGe geometry data containing point maps, depth, and optionally the source image.                                                        |
| `batch_index`             | INT            | Yes      | 0 to 4096  | 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). |
| `decimation`              | INT            | Yes      | 1 to 8     | Vertex stride; 1 = full resolution (default: 1).                                                                                             |
| `discontinuity_threshold` | FLOAT          | Yes      | 0.0 to 1.0 | Drop pixels whose 3x3 depth span exceeds this fraction. 0 = off (default: 0.04).                                                             |
| `texture`                 | BOOLEAN        | Yes      | True/False | Carry the source image through as the baseColor texture (default: True).                                                                     |

## Outputs

| Output Name | Data Type | Description                                                                                    |
| ----------- | --------- | ---------------------------------------------------------------------------------------------- |
| `MESH`      | MESH      | A 3D mesh with vertices, faces, UV coordinates, and an optional texture from the source image. |

***

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