Question

I've just started using three.js and am trying to load a scene from *.dae file. And by scene I mean a model (some building), a couple of lights a camera (I want to be able to position it in 3dsmax rather than manually in code).

I found a couple of example codes to load collada files using three.js on the net but none of them showed how to load a camera and lights from *.dae file. I've tried a couple of variants of code to do that but none of it worked and it's so bad I won't even post it here. :P So if anyone could show me how to do that or provided a link to tutorial/code, or at least gave me some guidelines, I'd appreciate that.

Was it helpful?

Solution

The collada loader in three.js doesn't support the lights (and camera) feature.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top