Skip to content

[StanfordImporter] Support vertex_index for face list#94

Merged
mosra merged 1 commit into
mosra:masterfrom
jlaxson:patch-2
Dec 18, 2020
Merged

[StanfordImporter] Support vertex_index for face list#94
mosra merged 1 commit into
mosra:masterfrom
jlaxson:patch-2

Conversation

@jlaxson
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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