Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    collada2gltfpublic

    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

    5

    version

    0.0.0

    license

    MIT

    repository

    githubgithub

    last publish

    collaborators

    • avatar