ComfyUI Node
🔷 Gaussian Splat to Mesh
Convert PLY_DATA (Gaussian Splat point cloud from HY-World 2.0) to TRIMESH mesh. The output can be connected to Hy3DExportMesh for GLB/OBJ/PLY/STL export. v2.1: Fixed color extraction for pts3d_filtered, added normal computation.
🔷 Gaussian Splat to Mesh
- ply_data
- trimesh
◄methodmarching_cubes►
◄alpha2.0►
◄resolution256►
◄radius_factor2.0►
◄max_points200000►
◄remove_outlierstrue►
◄outlier_std_ratio2.0►
◄density_filtertrue►
◄density_percentile5►
◄color_knn5►
◄smooth_sigma1.5►
Category3D/mesh
Inputs (12)
| Name | Type | Default | Description |
|---|---|---|---|
| ply_data | PLY_DATA | — | |
| methodopt | COMBO | marching_cubes | Surface reconstruction method: - marching_cubes: Volumetric reconstruction (recommended, smooth) - poisson_like: Normal-based surface reconstruction (best quality, slower) - alpha_shape: Delaunay-based alpha shape (fast) - ball_pivoting: Approximate ball pivoting (good edge filtering) |
| alphaopt | FLOAT | 2.00–100 | Alpha for alpha_shape (0=convex hull, larger=more detail). Typical: 1.0-5.0 |
| resolutionopt | INT | 25664–512 | Voxel grid resolution for marching_cubes/poisson_like |
| radius_factoropt | FLOAT | 2.00.5–10 | Radius multiplier for ball_pivoting method |
| max_pointsopt | INT | 20000010000–1000000 | Maximum number of points (voxel-downsampled if exceeded) |
| remove_outliersopt | BOOLEAN | true | Remove statistical outlier points before reconstruction |
| outlier_std_ratioopt | FLOAT | 2.00.5–5 | Std dev ratio for outlier removal (lower = more aggressive) |
| density_filteropt | BOOLEAN | true | Remove sparse/isolated points based on local density |
| density_percentileopt | FLOAT | 50–30 | Percentile threshold for density filter (higher = more aggressive) |
| color_knnopt | INT | 51–20 | Number of nearest neighbors for vertex color interpolation |
| smooth_sigmaopt | FLOAT | 1.50.5–5 | Gaussian smoothing sigma for marching_cubes density field |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| trimesh | TRIMESH | — |