Package Exports
- collada-dae-parser
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (collada-dae-parser) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
collada-dae-parser

Parse collada .dae file vertex positions, textures, normals and animations
WIP
This package is a work in progress so check back later.
Will be adding an api, cli, and example gh-pages
To Install
$ npm install --save collada-dae-parserUsage
CLI
API
parseDae(xmlString, callback) -> object
xmlString
Required
Type: string
Your collada file as a string
callback
Required
Type: function
function (err, parsedDaeObject) {
consoe.log(parsedDaeObject)
/*
{
vertexPositionIndices: [...],
vertexPositions: [...],
// The rest is TODO
}
*/
}TODO:
- live example(s)
- parse UVs
- parse normals
- parse animation data
- text multiple .dae exports from different 3d modeling programs
See Also
License
MIT