Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reorient point cloud normals for better surface reconstruction #2220

Merged
merged 2 commits into from
Jul 13, 2023

Conversation

victor-rong
Copy link
Contributor

@victor-rong victor-rong commented Jul 13, 2023

Normal estimation methods generally are ambiguous between a vector and its negation. Currently, the point cloud extraction picks the normal orientations arbitrarily, while Poisson surface reconstruction expects oriented normals. This leads to incorrect back-faces and extraneous seams in the meshes (below)
image
The view directions can be used to reorient the normals, leading to more consistent meshes.
Can be tested with ns-export pointcloud --reorient-normals True --normal-method open3d --output-dir ./exports/reoriented --load-config {...}

@victor-rong victor-rong marked this pull request as ready for review July 13, 2023 21:16
Copy link
Contributor

@tancik tancik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@tancik tancik merged commit 7acaed1 into nerfstudio-project:main Jul 13, 2023
4 checks passed
@victor-rong victor-rong deleted the reorient-normals branch July 14, 2023 12:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants