Nonlinear Programming Methods

collada2gltf

0.0.0 • Public • Published

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
})

Keywords

install

npm i collada2gltf

Downloadsweekly downloads

4

version

0.0.0

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability