let loader = new GLTFLoader();/*实例化加载器*/
loader.load('models/gltf/MaterialsVariantsShoe/glTF/CeShi.gltf',function (obj) {
// console.log(obj);
obj.scene.scale.set(0.3,0.3,0.3) //模型大小缩放
// group.add(obj.scene)
scene.add(obj.scene);
// console.log(obj.scene.children) //mesh
// mixer = new THREE.AnimationMixer( obj.scene );
// //同时将这个外部模型的动画全部绑定到动画混合器里面
// for (var i=0;i<obj.animations.length;i++){
// mixer.clipAction(obj.animations[i]).play();
// }
document.getElementById('loading').style.display = 'none';
},function (xhr) {
// console.log( ( xhr.loaded / xhr.total * 100 ) + '% loaded' );
},function (error) {
// console.log('load error!'+error.getWebGLErrorMessage());
})