1.0.0 • Published 7 years ago
collada-parser v1.0.0
collada-parser
Node module wrapper for https://github.com/jagenjo/collada.js
installation
npm install collada-parser
build & example
npm install & npm run dev
usage
ColladaParser.load('./assets/boat.dae', (meshes)=> {
// ...return all meshs
// mesh contains
// a) buffers data ( vertices, normals, coords ... )
// b) model matrix
// c) material
});
or
const meshs = ColladaParse.parse(daeFile);
if you have loaded the model file.
1.0.0
7 years ago