-
Notifications
You must be signed in to change notification settings - Fork 47
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
Add support for n-gons #22
Comments
I quickly made a file in Wings3D – this is an all quad model. Feel free to use however you want. |
Hey @virtualritz , yeah this can be added as an option telling |
Yes, this would be super useful. |
Very cool! I'll ping you on this issue when I've added support and released and updated crate |
Cheers! |
Should be done in 1ae79e6 , I'll cut a release shortly. This is a breaking change for the API since I'm just adding a bool option to The number of indices used by each face are now stored in |
Let me know if you run into any issues! |
Yeah, cool. I am trying this in a few hours. Will let you know. |
A two line change. Nice one. The commit only looks big because of Rustfmt stuff. |
You should update the README since your crate is actually the only one in the whole Rust universe that doesn't triangulate on import (if not asked to). |
That's a good point! I'll update it |
Many geometries found in OBJs are not made out of triangles and this is a feature. If I load an OBJ to send to an high end offline renderer, the last thing I want is probably triangles (as such I also do not want the reader to convert the OBJ to triangles, on-the-fly, as tobj does).
Basically the mesh returned would then consist of:
The text was updated successfully, but these errors were encountered: