Could you help find out why some dae models are not displayed? My code:
private createScene() {
this.scene = new THREE.Scene();
var loader = new ColladaLoader();
loader.load('assets/model.dae', (collada: any) => {
let m=collada.scene;
console.log(m);
this.scene.add( new THREE.AmbientLight( 0xcccccc, 0.4 ) );
this.scene.add(m);
this.render();
}, undefined, function ( error ) {
console.error( error );
});
}
I tried several 3D model viewers for Dae Collada. It works in some of them.