mrdoob/three.js — Issue #819: Can't Get Collada Object to render
Author: rougegoat
Created: 2011-11-30 03:48:14+00:00
State: open

I'm having issues getting a custom made collada object with no built in camera or lighting to render. I more or less copied what I had seen in a few collada examples to create my own loader, which looks like this:

var loader = new THREE.ColladaLoader();
var room, scene, stats;
loader.load('../Models/Rooms/boot.dae', function colladaReady( collada ){
collada.scene.getChildByName('Cube',true).doubleSided = true;
room = collada.scene;
room.scale.x = room.scale.y = room.scale.z = 1;
room.updateMatrix();

init();
});

The init function is fairly basic and looks like this

scene = new THREE.Scene();
scene.add( room );
scene.add( camera );
renderer.render(scene, camera);

[Here](http://babbage.cs.missouri.edu/~cs4970sp11grp2/webgl_tests/Models/Rooms/boot.dae) is the actual object I'm trying to render. I have also tried it out with the monster.dae file that is in the examples folder without success. The Chrome javascript console isn't showing any errors, so I'm not quite sure where to look in my code. It all resembles functional examples, so I'm not sure why it's not functional. Is there something I'm unaware of that is relevant to collada loading?