JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 28
  • Score
    100M100P100Q120287F
  • License MIT

Parse collada .dae 3d animation files into json

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 npm version Build Status

Parse collada .dae file vertex positions, textures, normals and animations

View live demo

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-parser

Usage

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