mirror of
https://github.com/syoyo/tinygltf.git
synced 2026-09-18 00:04:35 +00:00
Move tiny_gltf.h/.cc, tinygltf_json.h, json.hpp, stb_image*, loader_example.cc, examples/, wasm/, experimental/, legacy tests and fuzzers under attic/. TinyGLTF v3 C (tiny_gltf_v3.h/.c + tinygltf_json_c.h) is now the mainline: - CMakeLists.txt: v3 C tests only, installs only v3 files - tests/Makefile and Makefile: build/run the v3 C testers - test_runner.py: verifies v3 C tester output only (no v1 ground truth) - CI workflows: build and test v3 C only (GCC/Clang/MSVC/Meson/sanitizers) - README: v3 C quick start, testing, licenses; legacy moved to attic/
192 lines
3.9 KiB
JSON
192 lines
3.9 KiB
JSON
{
|
|
"accessors": [
|
|
{
|
|
"bufferView": 0,
|
|
"componentType": 5123,
|
|
"count": 36,
|
|
"min": [
|
|
0.0
|
|
],
|
|
"max": [
|
|
35.0
|
|
],
|
|
"normalized": false,
|
|
"type": "SCALAR"
|
|
},
|
|
{
|
|
"bufferView": 1,
|
|
"componentType": 5126,
|
|
"count": 36,
|
|
"min": [
|
|
-1.0,
|
|
-1.0,
|
|
-1.0
|
|
],
|
|
"max": [
|
|
1.0,
|
|
1.0,
|
|
1.000001
|
|
],
|
|
"normalized": false,
|
|
"type": "VEC3"
|
|
},
|
|
{
|
|
"bufferView": 2,
|
|
"componentType": 5126,
|
|
"count": 36,
|
|
"min": [
|
|
-1.0,
|
|
-1.0,
|
|
-1.0
|
|
],
|
|
"max": [
|
|
1.0,
|
|
1.0,
|
|
1.0
|
|
],
|
|
"normalized": false,
|
|
"type": "VEC3"
|
|
},
|
|
{
|
|
"bufferView": 3,
|
|
"componentType": 5126,
|
|
"count": 36,
|
|
"min": [
|
|
0.0,
|
|
-0.0,
|
|
-1.0,
|
|
-1.0
|
|
],
|
|
"max": [
|
|
1.0,
|
|
-0.0,
|
|
-0.0,
|
|
1.0
|
|
],
|
|
"normalized": false,
|
|
"type": "VEC4"
|
|
},
|
|
{
|
|
"bufferView": 4,
|
|
"componentType": 5126,
|
|
"count": 36,
|
|
"min": [
|
|
-1.0,
|
|
-1.0
|
|
],
|
|
"max": [
|
|
1.0,
|
|
1.0
|
|
],
|
|
"normalized": false,
|
|
"type": "VEC2"
|
|
}
|
|
],
|
|
"asset": {
|
|
"generator": "VKTS glTF 2.0 exporter",
|
|
"version": "2.0"
|
|
},
|
|
"buffers": [
|
|
{
|
|
"byteLength": 1800,
|
|
"uri": "Cube.bin"
|
|
}
|
|
],
|
|
"bufferViews": [
|
|
{
|
|
"buffer": 0,
|
|
"byteLength": 72,
|
|
"target": 34963
|
|
},
|
|
{
|
|
"buffer": 0,
|
|
"byteLength": 432,
|
|
"byteOffset": 72,
|
|
"target": 34962
|
|
},
|
|
{
|
|
"buffer": 0,
|
|
"byteLength": 432,
|
|
"byteOffset": 504,
|
|
"target": 34962
|
|
},
|
|
{
|
|
"buffer": 0,
|
|
"byteLength": 576,
|
|
"byteOffset": 936,
|
|
"target": 34962
|
|
},
|
|
{
|
|
"buffer": 0,
|
|
"byteLength": 288,
|
|
"byteOffset": 1512,
|
|
"target": 34962
|
|
}
|
|
],
|
|
"images": [
|
|
{
|
|
"uri": "Cube_BaseColor.png"
|
|
},
|
|
{
|
|
"uri": "Cube_MetallicRoughness.png"
|
|
}
|
|
],
|
|
"materials": [
|
|
{
|
|
"name": "Cube"
|
|
}
|
|
],
|
|
"meshes": [
|
|
{
|
|
"primitives": [
|
|
{
|
|
"attributes": {
|
|
"NORMAL": 2,
|
|
"POSITION": 1,
|
|
"TANGENT": 3,
|
|
"TEXCOORD_0": 4
|
|
},
|
|
"indices": 0,
|
|
"material": 0,
|
|
"mode": 4
|
|
}
|
|
],
|
|
"name": "Cube"
|
|
}
|
|
],
|
|
"nodes": [
|
|
{
|
|
"mesh": 0,
|
|
"name": "Cube",
|
|
"children": []
|
|
}
|
|
],
|
|
"scene": 0,
|
|
"scenes": [
|
|
{
|
|
"nodes": [
|
|
0
|
|
]
|
|
}
|
|
],
|
|
"textures": [
|
|
{
|
|
"sampler": 0,
|
|
"source": 0
|
|
},
|
|
{
|
|
"sampler": 0,
|
|
"source": 1
|
|
}
|
|
],
|
|
"samplers": [
|
|
{
|
|
"magFilter": 9729,
|
|
"minFilter": 9986,
|
|
"wrapR": 10497,
|
|
"wrapS": 10497,
|
|
"wrapT": 10497
|
|
}
|
|
]
|
|
}
|