Support N-gons in an OBJ model
frenchtoast747 opened this issue · 2 comments
frenchtoast747 commented
Currently, if a model has more than 4 vertices in a face, the model will not load correctly and will have gaps. To prevent this from happening, the model first needs to be pre-processed and triangulated to make it WebGL happy.
This is somewhat of a pain for people wanting to learn WebGL, but not care about how model files are laid out (or how to use some third party program to pre-process the file).
Instead, the model should be converted to triangles on the fly.
qtip commented
We should have the library emit a warning message with a description of the problem and suggestions for fixing it at the very least.
frenchtoast747 commented
Support for N-gons has been added in v2.0.3