mrdoob/three.js — Issue #1242: copied the colladaloader example to disk, breaks.
Author: sh000e
Created: 2012-02-03 16:03:24+00:00
State: open

as Per http://stackoverflow.com/questions/9002177/webgl-three-js-colladaloader-example-fails

This started as a five minuite job, so thats why i'm asking for your expertise.

I copied the exact (working) colladaLoader code from here, its the only example. I put it on disk and sorted the file locations. it should be simple to replace monster.dae with my own collada file, I thought, but apparently its not.

I resorted to using html5 boilerplate, which i have used and it displays the collada that I made, but it's stuck in auto-pan mode, and doesnt let the user rotate. it seems impossible to program out of it. i'm now raking through achres of code about cameras and lighting and x = math(sin(...)... ohnoes. That was a big sideline anyway, i think.

The example works from the three.js github site, but as soon as i put it on disk. I get a "Uncaught TypeError: Cannot set property 'convertUpAxis' of undefined" , which means the instance isn't loading.

You need more collada examples, three.js looks fantasticly powerful but if I cant get up and running with the most basic of examples then im not going to spend hours learning about shaders.

To clarify, all I want is a rotatable collada object displayed in the browser without any questions. I thought three.js would do that!