Skip to content

Commit

Permalink
readme update
Browse files Browse the repository at this point in the history
  • Loading branch information
shrekshao committed Sep 24, 2017
1 parent 73ec7a3 commit 068aff9
Show file tree
Hide file tree
Showing 13 changed files with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,18 @@ A minimal, engine-agnostic JavaScript glTF Loader, with a raw WebGL 2 simple ren
![](img/skin.gif)
![](img/viewer-screenshot-buggy-bbox.png)

# Usage

```javascript
import {vec3, vec4, quat, mat4} from 'gl-matrix';
var MinimalGLTFLoader = require('build/minimal-gltf-loader.js');

var glTFLoader = new MinimalGLTFLoader.glTFLoader();
glTFLoader.loadGLTF(url, function(glTF){
//...
});
```


## Loading Features

Expand Down Expand Up @@ -44,7 +56,7 @@ A minimal, engine-agnostic JavaScript glTF Loader, with a raw WebGL 2 simple ren
* [x] Skybox
* [x] PBR
* [x] Animation
* Interpolations
* [ ] Interpolations
- [x] LINEAR
- [ ] STEP
- [ ] CATMULLROMSPLINE
Expand Down
Binary file removed img/boxAnimated.gif
Binary file not shown.
Binary file modified img/drone-pbr.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified img/helmet-pbr.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified img/skin.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed img/viewer-screenshot-2.png
Binary file not shown.
Binary file removed img/viewer-screenshot-avocado.png
Binary file not shown.
Binary file modified img/viewer-screenshot-buggy-bbox.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed img/viewer-screenshot-buggy.png
Binary file not shown.
Binary file removed img/viewer-screenshot-duck.png
Binary file not shown.
Binary file removed img/viewer-screenshot-gear-bbox.png
Binary file not shown.
Binary file removed img/viewer-screenshot-gear.png
Binary file not shown.
Binary file removed img/viewer-screenshot.png
Binary file not shown.

0 comments on commit 068aff9

Please sign in to comment.