This is an alternative site for discovering Elm packages. You may be looking for the official Elm package site instead.
Load wavefront .obj files in your WebGL scene.
version 1.0.3
license MIT
native-modules False
elm-version 0.18.0 <= v < 0.19.0
Tag 1.0.3
Committed At 2017-08-26 15:22:10 UTC
elm-lang/http 1.0.0 <= v < 2.0.0 1.0.0
elm-lang/core 5.0.0 <= v < 6.0.0 5.1.1
elm-community/webgl 2.0.0 <= v < 3.0.0 2.0.6
elm-community/linear-algebra 3.1.0 <= v < 4.0.0 3.1.2
Skinney/elm-array-exploration 2.0.1 <= v < 3.0.0 2.0.5
Bogdanp/elm-combine 3.1.1 <= v < 4.0.0 3.1.1

Modules

README

elm-obj-loader

This is a small library for importing wavefront .obj files into your WebGL application.

Demo/Examples

Src

Limitations

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. (v, vn, vt)

Smooth groups are ignored (s n).
Your model needs vertex normals (vn).

Only tris and quads are supported. (Tris might load slightly faster)
No free-form curves/surfaces.
No material library (mtllib) support.
No negative indexing.