ComfyUI Node
Depth Map to Mesh
A ComfyUI node in geompack/texture_remeshing with 11 inputs and 2 outputs.
Depth Map to Mesh
- mask
- depth_image
- field
- mesh
- info
◄height_scale1.0►
◄backend▾►
◄field_namefield►
◄invert_heightfalse►
◄skip_blackfalse►
◄black_threshold0.01►
◄backend.smooth_normalstrue►
◄backend.poisson_depth8►
Categorygeompack/texture_remeshing
Inputs (11)
| Name | Type | Default | Description |
|---|---|---|---|
| height_scale | FLOAT | 1.00.01–10 | — |
| backend | COMBO | Reconstruction backend: grid (fast), poisson (smooth), delaunay | |
| maskopt | MASK | — | |
| depth_imageopt | IMAGE | — | |
| fieldopt | MASK | Optional field to store as vertex attribute on the mesh (e.g., face IDs, curvature) | |
| field_nameopt | STRING | field | Name for the vertex attribute |
| invert_heightopt | COMBO | false | 2 options: false, true |
| skip_blackopt | COMBO | false | Skip faces connected to near-black pixels in the depth map |
| black_thresholdopt | FLOAT | 0.010–1 | Threshold below which pixels are considered black (only used when skip_black is true) |
| backend.smooth_normalsopt | COMBO | true | 2 options: true, false |
| backend.poisson_depthopt | INT | 84–12 | Octree depth for Poisson reconstruction (higher = more detail) |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| mesh | TRIMESH | — |
| info | STRING | — |