Paste the contents of a .DAE file, then click Translate to get a SceneJS JSON subgraph, wrapped in a function call that creates a node object:


                    var myNode = SceneJS.createNode( ... JSON ... );
                

You can then just drop the node straight into your scene graph:


                    var myScene = new SceneJS.Scene(

                        //..

                        myNode

                        //..
                    };
                

By default, "myModel." will be prefixed to all Collada IDs. Change that to something unique within your scene.

Resources:

Paste Collada here:

ID Prefix:
 
  • Please excuse browser slowness - pasting and copying of large texts to and from <textarea> is very slow in Chrome - just select "wait" whenever it offers to kill the page. For a faster paste/copy, try Firefox.

  • You can use this offline - get the source code for this utility at GitHub.