Skip to content

Commit

Permalink
Fix seams/gaps when exporting mesh using marching cubes Fixes #2721 (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
Dawars authored Feb 24, 2025
1 parent f604fd9 commit 73fe54d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nerfstudio/exporter/marching_cubes.py
Original file line number Diff line number Diff line change
Expand Up @@ -251,4 +251,5 @@ def evaluate(points: torch.Tensor) -> torch.Tensor:
meshes.append(meshcrop)

combined_mesh: trimesh.Trimesh = trimesh.util.concatenate(meshes) # type: ignore
combined_mesh.merge_vertices(merge_tex=True, merge_norm=True)
return combined_mesh

0 comments on commit 73fe54d

Please sign in to comment.