-
Notifications
You must be signed in to change notification settings - Fork 137
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
Non-Convex Faces Not Triangulated Correctly #56
Comments
The algorithm is not too tricky -- it's called "ear-cutting." A reference: http://www-cgrl.cs.mcgill.ca/~godfried/teaching/cg-projects/97/Ian/algorithm1.html Implementation was only ~200LOC |
Hi, I'm not sure when will I get to this, but if you need this soon you can disable ofbx triangulation and and do correct triangulation on your side. |
Yeah, that's what I've already implemented. Just putting it on your radar :) |
The triangulate() helper function in ofbx.cpp doesn't properly ear-cut non-convex faces, leading to non-internal edges being placed.
The text was updated successfully, but these errors were encountered: