Max Kaufmann

Results 5 comments of Max Kaufmann

No malformed-data warnings importing into maya or anything.

Yeah, I'm accounting for those. BTW, `(-idx - 1)` is just bitwise complement, so you can use `~idx` and save some instructions. [mecha.zip](https://github.com/nem0/OpenFBX/files/4816112/mecha.zip)

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 ![image](https://user-images.githubusercontent.com/798685/85320798-834a9600-b478-11ea-9e54-0a8e7786d522.png)

Yeah, that's what I've already implemented. Just putting it on your radar :)

For the curious: https://github.com/maxattack/Trinket/blob/master/Source/Triangulate.cpp