https://github.com/antonio-gomez/three-gltf2-loader
Node.js wrapper for the GLTF2Loader library from Three.js
https://github.com/antonio-gomez/three-gltf2-loader
browserify bundler es6 gltf three-js webpack
Last synced: 9 months ago
JSON representation
Node.js wrapper for the GLTF2Loader library from Three.js
- Host: GitHub
- URL: https://github.com/antonio-gomez/three-gltf2-loader
- Owner: antonio-gomez
- License: mit
- Archived: true
- Created: 2017-03-21T18:32:34.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-11-08T19:40:11.000Z (over 8 years ago)
- Last Synced: 2025-01-17T17:09:01.458Z (over 1 year ago)
- Topics: browserify, bundler, es6, gltf, three-js, webpack
- Language: JavaScript
- Homepage: https://threejs.org/examples/?q=glt#webgl_loader_gltf
- Size: 44.9 KB
- Stars: 10
- Watchers: 3
- Forks: 9
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Three-glTF2-loader
[](https://www.npmjs.com/package/three-gltf2-loader)

#### Install
--------
```
npm install three-gltf2-loader --save
```
#### Description
-----------
Node.js wrapper for the **GLTF2Loader** library from [three.js][0] so that it can be installed through npm and used with bundle libraries like webpack, browserify, etc.
[glTF](1) (Graphic Library Transmission Format) was developed and mantained by [KhronosGroup](2) as the specification for efficient transmission and loading of 3D scenes and models by **WebGL**, **OpenGL ES**, and **OpenGL** applications.
#### Usage
--------
```
import THREE from 'three'
import GLTF2Loader from 'three-gltf2-loader'
GLTF2Loader(THREE)
console.log(typeof THREE.GLTF2Loader)
// => "function"
```
#### Changelog
--------
**1.2.0 (Oct 22 2017)**
* Updated to latest glTF loader from Three.js r87.
**1.1.0 (Jun 28 2017)**
* Updated to latest glTF spec from Three.js r86.
**1.0.0 (Mar 24 2017)**
* Main module functionality.
**0.0.0 (Mar 21 2017)**
* Initial development.
--------
## License
MIT © [Antonio Gomez][3]
[0]: https://github.com/mrdoob/three.js
[1]: https://github.com/KhronosGroup/glTF
[2]: https://www.khronos.org
[3]: http://antoniogomez.me/