Blender Three.js导出工具给出了奇怪的结果

时间:2014-04-08 19:29:56

标签: javascript three.js

我曾经试图将动画导出到Three.js,但它只会产生奇怪的结果。代码:

var jsonLoader = new THREE.JSONLoader();
jsonLoader.load("walkcycle/walkingCycle.js",function(geometry,materials){
    chr = new THREE.Mesh( geometry, new THREE.MeshFaceMaterial(materials));
    /*THREE.AnimationHandler.add(geometry.animations[1]);*/
    /*for (var i=0,l=materials.length; i<l; ++i)*/
        /*materials[0].skinning = true;*/
    /*animation = new THREE.Animation( chr, "Walking" );*/
    /*animation.play(0.05);*/
    /*chr.scale.set(5,5,5);*/
    scene.add(chr);
});

Blender上的原始网格:

mesh http://dl.dropboxusercontent.com/u/62862049/Screenshots/01n.png

关于Three.js的结果:

result http://dl.dropboxusercontent.com/u/62862049/Screenshots/01o.png

我在Three.js的主分支上使用Blender 2.7和最新的出口商。会发生什么事?

0 个答案:

没有答案