declension / elm-obj-loader

An elm library for importing wavefront .obj files into your WebGL application.
http://package.elm-lang.org/packages/declension/elm-obj-loader/latest
Other
19 stars 3 forks source link
deprecated elm wavefront webgl

⚠️ This repo is now deprecated, in favour of the excellent elm-obj-file which works well with Elm 3D Scene


elm-obj-loader

Node.js CI

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.

Examples

See the demo source.

Usage

Limitations

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: