mrdoob/three.js — Issue #1308: Collada import - "Uncaught TypeError"
Author: Autarc
Created: 2012-02-11 12:40:56+00:00
State: open

I convinced my teacher in computer graphics that I could probably get similar results in 3d Vertex manipulation via Three.js as other could do with OpenGL in Java/C++. The task is based on collada files and after I showed him his raws at Shw.gl ([here](http://shw.gl/show/qv45B4oODsF7R7d4vG2SP4jwMSx)), he allowed me to try it.

The two scenes can be found here:
- http://dl.dropbox.com/u/14466785/cg/stillscene1b.dae
- http://dl.dropbox.com/u/14466785/cg/bm_test4.dae

Unfortunately I couldn't even get this far as simply viewing/moving the models. As I load the files with the collada import function - I get the following error messages:
- Uncaught TypeError: Cannot read property 'position' of undefined
- Uncaught TypeError: Cannot read property 'nodes' of undefined

First I thought that the files coming from Maya 2011 are corrupted - but they seem to be readable at Shw.gl at least for the basics (// even though my native pals claim that the model should look different). I know that there are different implementations of the ".dae"-container, but I guess it should work anyway. To start working - it would be mandatory to get access to the vertices, as well to the whole scene to display the results.