Package Exports
- collada2gltf
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 (collada2gltf) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
#Collada to gltf converter for Node.js
A simple wrapper for the collada2gltf program for node.
#Requirements
- collada2gltf, Installation instructions and binaries can be found at the glTF page.
#Usage
var collada2gltf = require('collada2gltf');
collada2gltf('source.dae', function(err) {
//Now you have a set of gltf files in your current directory;)
//source.bin, source.json + shader files (source.0FS.glsl, source.0VS.glsl)
});
#Options
If you do not have collada2gltf in your path you can give it in options.
collada2gltf('source.dae', {path: 'path/to/bin'}, function(err) {
//Done
})