Skip to content
This repository has been archived by the owner on May 24, 2022. It is now read-only.

pex-gl/pex-gltf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pex-gltf

experimental

glTF loader for the PEX library

Usage

npm install pex-gltf --save
var loadGLTF = require('pex-gltf');

loadGLTF('scene.gltf', function(err, data) {
    if (!err) {
        //data.meshes
        //data.scenes
        //...
    }
})

Running the example code

Download the Khronos Group glTF repository containing example models (warning: it's 500MB) either by clonning the glTF repository:

cd example
git clone https://github.com/KhronosGroup/glTF

or by downloading the ZIP copy and unpacking it into pex-gltf/example/glTF

License

MIT, see LICENSE.md for details.

About

No description, website, or topics provided.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published