Search code examples
javascriptjsonwebglthree.jscollada

Collada to JSON


I try to display some Collada files with WebGL and Three.js. I tried with THREE.ColladaLoader() but it returns some materials errors.

I see it's possible to convert the file to JSON and then import it to WebGL.

I look around but didn't any solution to do that...

Any clue ?


Solution

  • COLLADA2Json may be what you are looking for.

    edit:

    gltf is a starndard now. (Json + binary). The converter is here: https://github.com/KhronosGroup/collada2gltf