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

[StanfordImporter] Support vertex_index for face list #94

Merged
merged 1 commit into from
Dec 18, 2020

Conversation

jlaxson
Copy link
Contributor

@jlaxson jlaxson commented Dec 17, 2020

Assimp (at least) exports ply files with faces as property list uchar int vertex_index whereas the code here supports only vertex_indices as a name (assimp parses both). The ostensible PLY reference seems to conflate them, implying to me it was silently changed at some point. This change adds support for both.

Assimp at least exports ply files with faces as `property list uchar int vertex_index` whereas the code here supports only `vertex_indices` as a name (assimp parses both).  The ostensible (PLY reference) http://paulbourke.net/dataformats/ply/ seems to conflate them, implying to me it was silently changed at some point.  This change adds support for both.
@mosra mosra added this to the 2020.0b milestone Dec 17, 2020
@mosra
Copy link
Owner

mosra commented Dec 17, 2020

Oh! Thank you. Didn't run into this when verifying with my own model zoo :)

Will adapt the tests a bit and merge.

@mosra mosra merged commit 1378557 into mosra:master Dec 18, 2020
@mosra
Copy link
Owner

mosra commented Dec 18, 2020

Thank you, merged! Took a while as I had to solve the sudden clang-cl build failure as well, everything should be green on master again.

@jlaxson
Copy link
Contributor Author

jlaxson commented Dec 18, 2020

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

2 participants