Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/david-gregory/ascollada

AS3 library to parse COLLADA files
https://github.com/david-gregory/ascollada

Last synced: 3 months ago
JSON representation

AS3 library to parse COLLADA files

Awesome Lists containing this project

README

        

David Gregory's fork Notes:
---------------------------

This fork of Tim Knip's ASCollada was created to put in place a couple of things.

a) minor bug fixes.
b) a conversion from AS3 Arrays to Vectors, where appropriate.

Tim Knip's original README
--------------------------
* This explains how to use bootstrap ASCollada and begin parsing a collada document.

/**
*
*/
private function buildNode(node:DaeNode):void {

}

/**
*
*/
private function buildScene():void {
buildNode(this.document.scene);
}

/**
*
*/
public function parse (collada:XML) {
var document:DaeDocument = new DaeDocument();
this.document.addEventListener(Event.COMPLETE, onParseComplete);
this.document.read(collada);
}

/**
*
*/
private function onParseComplete(e:Event) : void {
buildScene();
}