This is an Elm library for importing simple Wavefront .obj files into your WebGL application.
It is currently Elm 0.19, though the previous incarnation works for 0.18.
* Model viewer * Suzanne from Blender
See the demo source.
.obj file.Completely supported face types are those with vertex position, normals and optionally vertex texture coordinates. (v, vn, vt)
Only a small subset of the specification is supported though - specifically:
Your model needs vertex normals (vn).
Smooth groups are ignored (s n).
Only tris and quads are supported. (Tris might load slightly faster)
No free-form curves / surfaces.
No material library (mtllib) support.
No negative indexing.