I am working three.js in a javascript based mobile application. I am using .fbx file for 3D model. But its not supporting the binary format in FBXLoader. I don't know much about 3D models and formats. Any help would be appreciated.
Error in console: FBXLoader: !!! FBX Binary format not supported !!!
here is my loading fbx code:
var loader = new THREE.FBXLoader( manager );
// alert(loader);
loader.load( 'img/watcher.FBX', function( object ) {
alert(object);
object.traverse( function( child ) {
if ( child instanceof THREE.Mesh ) {
// pass
}
if ( child instanceof THREE.SkinnedMesh ) {
if ( child.geometry.animations !== undefined || child.geometry.morphAnimations !== undefined ) {
child.mixer = new THREE.AnimationMixer( child );
mixers.push( child.mixer );
var action = child.mixer.clipAction( child.geometry.animations[ 0 ] );
action.play();
}
}
} );
scene.add( object );
}, onProgress, onError );