mirror of
https://github.com/syoyo/tinygltf.git
synced 2026-06-08 11:13:50 +00:00
Compare commits
1 Commits
copilot/su
...
validator
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2026e03fab |
@@ -9,6 +9,32 @@ Experimental. W.I.P.
|
||||
## Requirements
|
||||
|
||||
* C++11 compiler
|
||||
* CMake 3.2 or later
|
||||
|
||||
## How to build
|
||||
|
||||
```
|
||||
$ mkdir build
|
||||
$ cd build
|
||||
$ cmake ..
|
||||
$ make
|
||||
```
|
||||
|
||||
## How to run
|
||||
|
||||
First clone glTF repo somewhere to get glTF schema JSON files.
|
||||
|
||||
```
|
||||
$ cd ~/work # Choose your favorite dir.
|
||||
$ git clone https://github.com/KhronosGroup/glTF
|
||||
$ export GLTF_DIR=~/work/glTF
|
||||
```
|
||||
|
||||
Then, specify the directory of glTF 2.0 schema JSONs and a glTF file.
|
||||
|
||||
```
|
||||
$ ./tinygltf-validator $GLTF_DIR/specification/2.0/schema/ ../../models/Cube/Cube.gltf
|
||||
```
|
||||
|
||||
## Third party licenses
|
||||
|
||||
|
||||
Reference in New Issue
Block a user