@calvinscofield/three-objloader

Threejs objloader plugin, ES6.

Stats

stars 🌟issues ⚠️updated 🛠created 🐣size 🏋️‍♀️
10Aug 31, 2018Jul 12, 2018Minified + gzip package size for @calvinscofield/three-objloader in KB

Readme

Usage

It is no longer maintained. Please follow git@github.com:calvinscofield/three-objloader.git npm i @calvinscofield/three-loaders -S

npm i @calvinscofield/three-objloader -S
import OBJLoader from '@calvinscofield/three-objloader'
let loader = new OBJLoader()
loader.load(
  'model/penlin.obj',
  (object) => {
  },
  (xhr) => {
    console.log((xhr.loaded / xhr.total * 100) + '% loaded')
  },
  (error) => {
      console.log(error, 'An error happened')
  })

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.