frenchtoast747 / webgl-obj-loader

A simple OBJ model loader to help facilitate the learning of WebGL.
http://frenchtoast747.github.io/webgl-obj-loader/
MIT License
283 stars 59 forks source link

Wrong parsing when faces is quade with uv #69

Closed dimensi closed 4 years ago

dimensi commented 4 years ago

If you export a model with quads and texture coordinates, you will see artifacts. image But if all the quads are converted to triangles when exporting in advance, there are no problems. image You can check it in the sandbox https://codesandbox.io/s/apple-webgl-u4pg7 You can also check model in obj viewer.

dimensi commented 4 years ago

Merge this please https://github.com/frenchtoast747/webgl-obj-loader/pull/66

frenchtoast747 commented 4 years ago

Thanks for reporting! I've merged in those changes. Please let me know if there is anything else.