ckddbs / three-fbx-loader

MIT License
20 stars 14 forks source link

three-fbx-loader

Kyle-Larson and Takahiro's THREE.FBXLoader repackaged as a node module

install

npm i --save three-fbx-loader

usage


var THREE = require('three');
var FBXLoader = require('three-fbx-loader');

var loader = new FBXLoader();

var scene = new THREE.Scene();

loader.load('./path/to/model.fbx', function (object3d) {
  scene.add(object3d);
});