DA3 to Mesh

DA3_ToMesh

DepthAnythingV3output node

Convert DA3 depth map to textured 3D mesh (GLB format). Uses grid-based triangulation to create a clean mesh from the depth map. Automatically filters invalid regions (sky, low confidence, depth discontinuities). Inputs: - depth_raw: Metric depth map (from DepthAnything_V3 with normalization_mode="Raw") - confidence: Confidence map - intrinsics: Camera intrinsics (REQUIRED - connect from DepthAnything_V3) - sky_mask: Sky segmentation (recommended - excludes sky from mesh) - source_image: Source image for mesh texture Parameters: - confidence_threshold: Filter vertices below this confidence - depth_edge_threshold: Skip triangles across large depth jumps (prevents artifacts) - downsample: Reduce mesh density (higher = fewer triangles, faster) - filename_prefix: Output filename prefix Output: GLB file path

Pack: ComfyUI-DepthAnythingV3

custom_nodes.ComfyUI-DepthAnythingV3

Inputs (11)

NameTypeRequired
depth_rawIMAGErequired
confidenceIMAGErequired
intrinsicsSTRINGoptional
sky_maskMASKoptional
source_imageIMAGEoptional
confidence_thresholdFLOAToptional
depth_edge_thresholdFLOAToptional
downsampleINToptional
filename_prefixSTRINGoptional
allow_around_1BOOLEANoptional
use_draco_compressionBOOLEANoptional

Outputs (1)

NameType
file_pathSTRING