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

Add option for model normals on ply export #1965

Conversation

CameronFraser
Copy link
Contributor

This PR makes the arguments related to normals for point cloud export consistent with the arguments related to normals for Poisson export. Doing this adds support for the use case where a user may want to export just a point cloud with predicted normals instead of o3d estimated normals to use in their own Poisson meshing pipeline.

Additionally, the viewer is updated to reflect the changes.

@CameronFraser CameronFraser force-pushed the add-option-for-model-normals-on-ply-export branch from e7a3cc8 to 4f43918 Compare May 21, 2023 21:38
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.

Thanks for adding. Sorry for the delayed review.

nerfstudio/scripts/exporter.py Outdated Show resolved Hide resolved
@ethanweber
Copy link
Collaborator

LGTM. Can you merge main now and then we can merge into main?

@CameronFraser CameronFraser force-pushed the add-option-for-model-normals-on-ply-export branch from 56b6cdb to a5e97e9 Compare May 30, 2023 00:13
@CameronFraser
Copy link
Contributor Author

@ethanweber updated branch with main

Copy link
Collaborator

@ethanweber ethanweber left a comment

Choose a reason for hiding this comment

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

Great thanks! LGTM, and I tried out the viewer changes too.

@CameronFraser
Copy link
Contributor Author

CameronFraser commented May 30, 2023

worth noting that in my case when using nerfstudio with aerial imagery the nerfacto predicted normals and the resulting mesh were significantly better looking than using open3d for estimating normals

@tancik tancik enabled auto-merge (squash) June 5, 2023 02:33
@tancik tancik merged commit 42081b7 into nerfstudio-project:main Jun 5, 2023
4 checks passed
@CameronFraser CameronFraser deleted the add-option-for-model-normals-on-ply-export branch June 5, 2023 15:38
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

3 participants