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

Support ply files with normals #31

Open
weitsang opened this issue Jul 7, 2023 · 3 comments
Open

Support ply files with normals #31

weitsang opened this issue Jul 7, 2023 · 3 comments

Comments

@weitsang
Copy link
Contributor

weitsang commented Jul 7, 2023

Currently, vv can read PLY files without normal as attributes. Sometimes it is useful to precompute the normal of each point and store them in PLY files. The normals can be used by a subsequent subcommand.

@YoHoSo
Copy link
Collaborator

YoHoSo commented Jul 11, 2023

The sample file you gave me previously has the following header:
image

Since the header has

property float x
property float y
property float z

so currently vv/vvplay can read the normal files without problems.

Do you want me to add a subcommand to compute the normals?

@weitsang
Copy link
Contributor Author

I believe the fields nx, ny, and nz are the normals. Currently they are not stored. We do not have a data structure to store them, I believe.

@wweqg is working on normal computations.

@YoHoSo
Copy link
Collaborator

YoHoSo commented Jul 11, 2023

Bo Kuan has mentioned about not having a data structure to store normals before. I think he is working on this. Maybe we should talk with him first so that I can avoid doing the same thing.

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

No branches or pull requests

2 participants