This is a small library for importing wavefront .obj files into your WebGL application.
Only a small subset of the .obj file specification is supported.
The easiest is to export/convert your model from Blender or another 3D content creation tool as an .obj file.
The default export options from blender work fine. Make sure you keep 'Write Normals' selected.
Completely supported face types are those with vertex position, normals and optionally vertex texture coordinates. (
Smooth groups are ignored (
Your model needs vertex normals (
Only tris and quads are supported. (Tris might load slightly faster)
No free-form curves/surfaces.
No material library (mtllib) support.
No negative indexing.