DA3 to Mesh
DA3_ToMesh
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)
| Name | Type | Required |
|---|---|---|
| depth_raw | IMAGE | required |
| confidence | IMAGE | required |
| intrinsics | STRING | optional |
| sky_mask | MASK | optional |
| source_image | IMAGE | optional |
| confidence_threshold | FLOAT | optional |
| depth_edge_threshold | FLOAT | optional |
| downsample | INT | optional |
| filename_prefix | STRING | optional |
| allow_around_1 | BOOLEAN | optional |
| use_draco_compression | BOOLEAN | optional |
Outputs (1)
| Name | Type |
|---|---|
| file_path | STRING |