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

Allow for interleaving the data into a single buffer #5

Closed frenchtoast747 closed 6 years ago

frenchtoast747 commented 10 years ago

Currently, the loader expects the user to bind a grand total of four different buffers before drawing the mesh. There should be an option that allows the Mesh instance to interleave all of the data into a single list.

nickdesaulniers commented 10 years ago

This should be left up to developers to zip the arrays, since they might want to interleave additional data.

frenchtoast747 commented 6 years ago

This will be completed as a part of the new Layout() class in the mtl-support-v2 issues.