mirror of
https://github.com/syoyo/tinygltf.git
synced 2026-08-13 00:39: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/
123 lines
3.4 KiB
JSON
123 lines
3.4 KiB
JSON
{
|
|
"accessors" : [
|
|
{
|
|
"bufferView" : 0,
|
|
"componentType" : 5121,
|
|
"count" : 36,
|
|
"max" : [
|
|
23
|
|
],
|
|
"min" : [
|
|
0
|
|
],
|
|
"type" : "SCALAR"
|
|
},
|
|
{
|
|
"bufferView" : 1,
|
|
"componentType" : 5126,
|
|
"count" : 24,
|
|
"max" : [
|
|
1.0000004768371582,
|
|
1.0,
|
|
1.0000005960464478
|
|
],
|
|
"min" : [
|
|
-1.0000003576278687,
|
|
-1.0,
|
|
-1.0000003576278687
|
|
],
|
|
"type" : "VEC3"
|
|
},
|
|
{
|
|
"bufferView" : 2,
|
|
"componentType" : 5126,
|
|
"count" : 24,
|
|
"max" : [
|
|
1.0,
|
|
1.0,
|
|
1.0
|
|
],
|
|
"min" : [
|
|
-1.0,
|
|
-1.0,
|
|
-1.0
|
|
],
|
|
"type" : "VEC3"
|
|
}
|
|
],
|
|
"asset" : {
|
|
"generator" : "Khronos Blender glTF 2.0 exporter",
|
|
"version" : "2.0"
|
|
},
|
|
"bufferViews" : [
|
|
{
|
|
"buffer" : 0,
|
|
"byteLength" : 36,
|
|
"byteOffset" : 0,
|
|
"target" : 34963
|
|
},
|
|
{
|
|
"buffer" : 0,
|
|
"byteLength" : 288,
|
|
"byteOffset" : 36,
|
|
"target" : 34962
|
|
},
|
|
{
|
|
"buffer" : 0,
|
|
"byteLength" : 288,
|
|
"byteOffset" : 324,
|
|
"target" : 34962
|
|
}
|
|
],
|
|
"buffers" : [
|
|
{
|
|
"byteLength" : 612,
|
|
"uri" : "data:application/octet-stream;base64,AAECAwEABAUGBAcFCAkKCAsJDA0ODA8NEBESEBMRFBUWFBcVAACAPwAAgL///3+/AQCAvwAAgL/9/38/+v9/vwAAgL8DAIC/AACAPwAAgL8AAIA/AwCAvwAAgD/6/38/BACAPwAAgD/3/3+///9/vwAAgD8AAIC/9f9/PwAAgD8FAIA/BACAPwAAgD/3/3+/AACAPwAAgL8AAIA/AACAPwAAgL///3+/9f9/PwAAgD8FAIA/9f9/PwAAgD8FAIA/AQCAvwAAgL/9/38/AACAPwAAgL8AAIA/AwCAvwAAgD/6/38/AwCAvwAAgD/6/38/+v9/vwAAgL8DAIC/AQCAvwAAgL/9/38///9/vwAAgD8AAIC///9/vwAAgD8AAIC/AACAPwAAgL///3+/+v9/vwAAgL8DAIC/BACAPwAAgD/3/3+/AAAAAAAAgL8AAACAAAAAAAAAgL8AAACAAAAAAAAAgL8AAACAAAAAAAAAgL8AAACAAAAAAAAAgD8AAAAAAAAAAAAAgD8AAAAAAAAAAAAAgD8AAAAAAAAAAAAAgD8AAAAAAACAP+z/PzMAAJg0AACAP+z/PzMAAJg0AACAP+z/PzMAAJg0AACAP+z/PzMAAJg0AACYtAkA4LMAAIA/AACYtAkA4LMAAIA/AACYtAkA4LMAAIA/AACYtAkA4LMAAIA/AACAv///D7QCAHC0AACAv///D7QCAHC0AACAv///D7QCAHC0AACAv///D7QCAHC0AACANAAAYDQAAIC/AACANAAAYDQAAIC/AACANAAAYDQAAIC/AACANAAAYDQAAIC/"
|
|
}
|
|
],
|
|
"materials" : [
|
|
{
|
|
"name" : "Material",
|
|
"pbrMetallicRoughness" : {
|
|
"baseColorFactor" : [
|
|
0.6400000190734865,
|
|
0.6400000190734865,
|
|
0.6400000190734865,
|
|
1.0
|
|
],
|
|
"metallicFactor" : 0.0
|
|
}
|
|
}
|
|
],
|
|
"meshes" : [
|
|
{
|
|
"name" : "Cube",
|
|
"primitives" : [
|
|
{
|
|
"attributes" : {
|
|
"NORMAL" : 2,
|
|
"POSITION" : 1
|
|
},
|
|
"indices" : 0,
|
|
"material" : 0
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"nodes" : [
|
|
{
|
|
"mesh" : 0,
|
|
"name" : "Cube"
|
|
}
|
|
],
|
|
"scene" : 0,
|
|
"scenes" : [
|
|
{
|
|
"name" : "Scene",
|
|
"nodes" : [
|
|
0
|
|
]
|
|
}
|
|
]
|
|
}
|