Nodes/ComfyUI libigl/Depth Map to Mesh
ComfyUI Node

Depth Map to Mesh

A ComfyUI node in geompack/texture_remeshing with 11 inputs and 2 outputs.

By PozzettiAndrea·Created 9 months ago·Updated 27 days ago· 209
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)

NameTypeDefaultDescription
height_scaleFLOAT1.00.01–10
backendCOMBOReconstruction backend: grid (fast), poisson (smooth), delaunay
maskoptMASK
depth_imageoptIMAGE
fieldoptMASKOptional field to store as vertex attribute on the mesh (e.g., face IDs, curvature)
field_nameoptSTRINGfieldName for the vertex attribute
invert_heightoptCOMBOfalse2 options: false, true
skip_blackoptCOMBOfalseSkip faces connected to near-black pixels in the depth map
black_thresholdoptFLOAT0.010–1Threshold below which pixels are considered black (only used when skip_black is true)
backend.smooth_normalsoptCOMBOtrue2 options: true, false
backend.poisson_depthoptINT84–12Octree depth for Poisson reconstruction (higher = more detail)

Outputs (2)

NameTypeDescription
meshTRIMESH
infoSTRING