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

Improve default semantics of write_mesh #103

Merged
merged 3 commits into from
Nov 28, 2023

Conversation

abhimadan
Copy link
Contributor

Fixes #102. If UV coordinates or normals are provided, but the corresponding indices are not, and there are as many UV coords/normals as vertices, the vertex indices will be used as a default.

@abhimadan abhimadan changed the title Write mesh semantics Improve default semantics of write_mesh Nov 24, 2023
@sgsellan sgsellan requested a review from odedstein November 24, 2023 01:34
@sgsellan
Copy link
Owner

@odedstein , do you mind reviewing and approving this if necessary since you wrote the original function?

@odedstein
Copy link
Collaborator

@abhimadan
I added a unit test for this behavior, as well as some docs (and an acknowledgement for you in the README.md).
If you're ok with the changes, and they pass the tests, I will approve this PR.

@abhimadan
Copy link
Contributor Author

The changes look great, thank you! I'll try to add documentation and unit tests next time I make a change.

@odedstein odedstein merged commit 3570ae3 into sgsellan:main Nov 28, 2023
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.

Default values for Ft and Fn if UV and N are provided
3 participants