Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
lilleyse authored Apr 27, 2018
1 parent f51e4fe commit 05ceb8c
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,26 +21,26 @@ Supports common operations including:

Install [Node.js](https://nodejs.org/en/) if you don't already have it, and then:
```
npm install -g gltf-pipeline
npm install
```

### Using gltf-pipeline as a command-line tool:

#### Converting a glTF to glb
`gltf-pipeline -i model.gltf -o model.glb`
`node bin/gltf-pipeline.js -i model.gltf -o model.glb`

`gltf-pipeline -i model.gltf -b`
`node bin/gltf-pipeline.js -i model.gltf -b`

#### Converting a glb to glTF
`gltf-pipeline -i model.glb -o model.gltf`
`node bin/gltf-pipeline.js -i model.glb -o model.gltf`

`gltf-pipeline -i model.glb -j`
`node bin/gltf-pipeline.js -i model.glb -j`

#### Converting a glTF to Draco glTF
`gltf-pipeline.js -i model.gltf -d -s -o modelDraco.gltf`
`node bin/gltf-pipeline.js -i model.gltf -d -s -o modelDraco.gltf`

### Saving separate textures
`gltf-pipeline -i model.gltf -t`
`node bin/gltf-pipeline.js -i model.gltf -t`

### Using gltf-pipeline as a library:

Expand Down

0 comments on commit 05ceb8c

Please sign in to comment.