Skip to content

Conversation

@RaduAlexandru
Copy link

Some packages depend on reading the vertices from the .obj file in the same order as they were written.
Currently the tobj crate reorders the vertices as noted also by Issue #61
In order to not break existing behavior this PR just adds the field mesh.faces_original_index which can be used to reindex the vertices and faces to the order they have defined in the file.

@Twinklebear
Copy link
Owner

Could we make populating the mesh.faces_original_index a LoadOption? That way folks who don't care about the order don't need to keep the extra index buffer

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.

2 participants