mrdoob / three.js

JavaScript 3D Library.
https://threejs.org/
MIT License
102.15k stars 35.34k forks source link

r47 ColladaLoader Cannot call method 'evaluate' of null #1367

Closed HiZhaoxiaoyang closed 12 years ago

HiZhaoxiaoyang commented 12 years ago

hi, I import a 3ds format model to blender 2.61 and export dae format file which size is 2.76mb, when i use THREE.ColladaLoader , an error came out in chrome "Cannot call method 'evaluate' of null",
"load.n.onreadystatechange" code like this :

Materials.loader.load('test.dae', function(result){
            if (result) {
                var model = result.scene;
                model.scale.set(12, 12, 12);
                model.rotation.set(4.7, 0, 0);
                Container.parent.add(model);
                GLBasic.scene.add(Container.parent);
                clearInterval(id);
            }
        });

tell me why ~ thanx in advanced ~

mrdoob commented 12 years ago

Could you share the dae file?

HiZhaoxiaoyang commented 12 years ago

ok, pls leave me a email address or my email is channel.zhao@gmail.com , many thanx~

HiZhaoxiaoyang commented 12 years ago

hi, mrdoob , how to send dae file to you ? thanx

mrdoob commented 12 years ago

Any of the file sharing sites will do... http://www.mediafire.com/, https://www.dropbox.com/, ... How did you manage to create a github account without knowing how to share files on the internet? ;)

HiZhaoxiaoyang commented 12 years ago

oops..those site always request time out in beijing.. pls open this share from baidu .http://yiyun.baidu.com/netdisk/extractpublic?username=popmusical or i'll upload later. thanx~

HiZhaoxiaoyang commented 12 years ago

or http://dl.dropbox.com/u/38332388/model.dae

mrdoob commented 12 years ago

Seems like the file is corrupted. If you try to open it on Blender you'll see that it fails to load it too.

HiZhaoxiaoyang commented 12 years ago

thanx , original file is .3ds format and export dae.