quiz gltf

This commit is contained in:
2025-10-29 18:18:58 +02:00
parent 40fe3b998c
commit fb9c5c66e9
7 changed files with 201 additions and 186 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 730 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 232 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 260 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 253 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.6 MiB

Binary file not shown.
+199 -184
View File
@@ -4,11 +4,11 @@
"version":"2.0" "version":"2.0"
}, },
"extensionsUsed":[ "extensionsUsed":[
"KHR_draco_mesh_compression", "KHR_materials_specular",
"KHR_materials_specular" "EXT_texture_webp"
], ],
"extensionsRequired":[ "extensionsRequired":[
"KHR_draco_mesh_compression" "EXT_texture_webp"
], ],
"scene":0, "scene":0,
"scenes":[ "scenes":[
@@ -115,17 +115,6 @@
"metallicFactor":0.9378530979156494, "metallicFactor":0.9378530979156494,
"roughnessFactor":0.02542373538017273 "roughnessFactor":0.02542373538017273
} }
},
{
"alphaMode":"BLEND",
"name":"Material",
"pbrMetallicRoughness":{
"baseColorTexture":{
"index":5
},
"metallicFactor":0,
"roughnessFactor":0.8999999761581421
}
} }
], ],
"meshes":[ "meshes":[
@@ -138,19 +127,8 @@
"NORMAL":1, "NORMAL":1,
"TEXCOORD_0":2 "TEXCOORD_0":2
}, },
"extensions":{
"KHR_draco_mesh_compression":{
"bufferView":0,
"attributes":{
"POSITION":0,
"NORMAL":1,
"TEXCOORD_0":2
}
}
},
"indices":3, "indices":3,
"material":0, "material":0
"mode":4
} }
] ]
}, },
@@ -163,19 +141,8 @@
"NORMAL":5, "NORMAL":5,
"TEXCOORD_0":6 "TEXCOORD_0":6
}, },
"extensions":{
"KHR_draco_mesh_compression":{
"bufferView":1,
"attributes":{
"POSITION":0,
"NORMAL":1,
"TEXCOORD_0":2
}
}
},
"indices":7, "indices":7,
"material":1, "material":1
"mode":4
}, },
{ {
"attributes":{ "attributes":{
@@ -183,19 +150,8 @@
"NORMAL":9, "NORMAL":9,
"TEXCOORD_0":10 "TEXCOORD_0":10
}, },
"extensions":{
"KHR_draco_mesh_compression":{
"bufferView":2,
"attributes":{
"POSITION":0,
"NORMAL":1,
"TEXCOORD_0":2
}
}
},
"indices":11, "indices":11,
"material":2, "material":2
"mode":4
} }
] ]
}, },
@@ -208,19 +164,8 @@
"NORMAL":13, "NORMAL":13,
"TEXCOORD_0":14 "TEXCOORD_0":14
}, },
"extensions":{
"KHR_draco_mesh_compression":{
"bufferView":3,
"attributes":{
"POSITION":0,
"NORMAL":1,
"TEXCOORD_0":2
}
}
},
"indices":11, "indices":11,
"material":2, "material":2
"mode":4
} }
] ]
}, },
@@ -233,19 +178,8 @@
"NORMAL":16, "NORMAL":16,
"TEXCOORD_0":17 "TEXCOORD_0":17
}, },
"extensions":{
"KHR_draco_mesh_compression":{
"bufferView":4,
"attributes":{
"POSITION":0,
"NORMAL":1,
"TEXCOORD_0":2
}
}
},
"indices":18, "indices":18,
"material":3, "material":3
"mode":4
} }
] ]
}, },
@@ -258,19 +192,8 @@
"NORMAL":20, "NORMAL":20,
"TEXCOORD_0":21 "TEXCOORD_0":21
}, },
"extensions":{
"KHR_draco_mesh_compression":{
"bufferView":5,
"attributes":{
"POSITION":0,
"NORMAL":1,
"TEXCOORD_0":2
}
}
},
"indices":22, "indices":22,
"material":1, "material":1
"mode":4
} }
] ]
}, },
@@ -283,39 +206,8 @@
"NORMAL":24, "NORMAL":24,
"TEXCOORD_0":25 "TEXCOORD_0":25
}, },
"extensions":{
"KHR_draco_mesh_compression":{
"bufferView":6,
"attributes":{
"POSITION":0,
"NORMAL":1,
"TEXCOORD_0":2
}
}
},
"indices":26, "indices":26,
"material":4, "material":1
"mode":4
},
{
"attributes":{
"POSITION":27,
"NORMAL":28,
"TEXCOORD_0":29
},
"extensions":{
"KHR_draco_mesh_compression":{
"bufferView":7,
"attributes":{
"POSITION":0,
"NORMAL":1,
"TEXCOORD_0":2
}
}
},
"indices":11,
"material":3,
"mode":4
} }
] ]
} }
@@ -326,24 +218,28 @@
"source":0 "source":0
}, },
{ {
"sampler":0, "extensions":{
"EXT_texture_webp":{
"source":1 "source":1
}
},
"sampler":0
}, },
{ {
"sampler":0, "sampler":0,
"source":2 "source":2
}, },
{ {
"sampler":0, "extensions":{
"EXT_texture_webp":{
"source":3 "source":3
}
},
"sampler":0
}, },
{ {
"sampler":0, "sampler":0,
"source":4 "source":4
},
{
"sampler":0,
"source":5
} }
], ],
"images":[ "images":[
@@ -353,9 +249,9 @@
"uri":"T_Grass_Base_N.jpg" "uri":"T_Grass_Base_N.jpg"
}, },
{ {
"mimeType":"image/png", "mimeType":"image/webp",
"name":"T_Grass_Base_D-T_Grass_Base_D.png", "name":"T_Grass_Base_D",
"uri":"T_Grass_Base_D-T_Grass_Base_D_png.png" "uri":"T_Grass_Base_D.webp"
}, },
{ {
"mimeType":"image/jpeg", "mimeType":"image/jpeg",
@@ -363,23 +259,19 @@
"uri":"T_Grass_Reeds_N.jpg" "uri":"T_Grass_Reeds_N.jpg"
}, },
{ {
"mimeType":"image/png", "mimeType":"image/webp",
"name":"T_Grass_Reeds_D-T_Grass_Reeds_D.png", "name":"T_Grass_Reeds_D",
"uri":"T_Grass_Reeds_D-T_Grass_Reeds_D_png.png" "uri":"T_Grass_Reeds_D.webp"
}, },
{ {
"mimeType":"image/png", "mimeType":"image/png",
"name":"arrow", "name":"arrow",
"uri":"arrow.png" "uri":"arrow.png"
},
{
"mimeType":"image/png",
"name":"Image",
"uri":"Image.png"
} }
], ],
"accessors":[ "accessors":[
{ {
"bufferView":0,
"componentType":5126, "componentType":5126,
"count":272, "count":272,
"max":[ "max":[
@@ -395,21 +287,25 @@
"type":"VEC3" "type":"VEC3"
}, },
{ {
"bufferView":1,
"componentType":5126, "componentType":5126,
"count":272, "count":272,
"type":"VEC3" "type":"VEC3"
}, },
{ {
"bufferView":2,
"componentType":5126, "componentType":5126,
"count":272, "count":272,
"type":"VEC2" "type":"VEC2"
}, },
{ {
"bufferView":3,
"componentType":5123, "componentType":5123,
"count":288, "count":288,
"type":"SCALAR" "type":"SCALAR"
}, },
{ {
"bufferView":4,
"componentType":5126, "componentType":5126,
"count":368, "count":368,
"max":[ "max":[
@@ -425,21 +321,25 @@
"type":"VEC3" "type":"VEC3"
}, },
{ {
"bufferView":5,
"componentType":5126, "componentType":5126,
"count":368, "count":368,
"type":"VEC3" "type":"VEC3"
}, },
{ {
"bufferView":6,
"componentType":5126, "componentType":5126,
"count":368, "count":368,
"type":"VEC2" "type":"VEC2"
}, },
{ {
"bufferView":7,
"componentType":5123, "componentType":5123,
"count":990, "count":990,
"type":"SCALAR" "type":"SCALAR"
}, },
{ {
"bufferView":8,
"componentType":5126, "componentType":5126,
"count":4, "count":4,
"max":[ "max":[
@@ -455,21 +355,25 @@
"type":"VEC3" "type":"VEC3"
}, },
{ {
"bufferView":9,
"componentType":5126, "componentType":5126,
"count":4, "count":4,
"type":"VEC3" "type":"VEC3"
}, },
{ {
"bufferView":10,
"componentType":5126, "componentType":5126,
"count":4, "count":4,
"type":"VEC2" "type":"VEC2"
}, },
{ {
"bufferView":11,
"componentType":5123, "componentType":5123,
"count":6, "count":6,
"type":"SCALAR" "type":"SCALAR"
}, },
{ {
"bufferView":12,
"componentType":5126, "componentType":5126,
"count":4, "count":4,
"max":[ "max":[
@@ -485,16 +389,19 @@
"type":"VEC3" "type":"VEC3"
}, },
{ {
"bufferView":13,
"componentType":5126, "componentType":5126,
"count":4, "count":4,
"type":"VEC3" "type":"VEC3"
}, },
{ {
"bufferView":14,
"componentType":5126, "componentType":5126,
"count":4, "count":4,
"type":"VEC2" "type":"VEC2"
}, },
{ {
"bufferView":15,
"componentType":5126, "componentType":5126,
"count":24, "count":24,
"max":[ "max":[
@@ -510,21 +417,25 @@
"type":"VEC3" "type":"VEC3"
}, },
{ {
"bufferView":16,
"componentType":5126, "componentType":5126,
"count":24, "count":24,
"type":"VEC3" "type":"VEC3"
}, },
{ {
"bufferView":17,
"componentType":5126, "componentType":5126,
"count":24, "count":24,
"type":"VEC2" "type":"VEC2"
}, },
{ {
"bufferView":18,
"componentType":5123, "componentType":5123,
"count":36, "count":36,
"type":"SCALAR" "type":"SCALAR"
}, },
{ {
"bufferView":19,
"componentType":5126, "componentType":5126,
"count":36, "count":36,
"max":[ "max":[
@@ -540,23 +451,27 @@
"type":"VEC3" "type":"VEC3"
}, },
{ {
"bufferView":20,
"componentType":5126, "componentType":5126,
"count":36, "count":36,
"type":"VEC3" "type":"VEC3"
}, },
{ {
"bufferView":21,
"componentType":5126, "componentType":5126,
"count":36, "count":36,
"type":"VEC2" "type":"VEC2"
}, },
{ {
"bufferView":22,
"componentType":5123, "componentType":5123,
"count":54, "count":54,
"type":"SCALAR" "type":"SCALAR"
}, },
{ {
"bufferView":23,
"componentType":5126, "componentType":5126,
"count":8, "count":12,
"max":[ "max":[
0.6000000834465027, 0.6000000834465027,
0.8000000715255737, 0.8000000715255737,
@@ -570,86 +485,186 @@
"type":"VEC3" "type":"VEC3"
}, },
{ {
"bufferView":24,
"componentType":5126, "componentType":5126,
"count":8,
"type":"VEC3"
},
{
"componentType":5126,
"count":8,
"type":"VEC2"
},
{
"componentType":5123,
"count":12, "count":12,
"type":"SCALAR"
},
{
"componentType":5126,
"count":4,
"max":[
0.6000000834465027,
0,
0.600000262260437
],
"min":[
-0.6000000834465027,
0,
-0.6000001430511475
],
"type":"VEC3" "type":"VEC3"
}, },
{ {
"bufferView":25,
"componentType":5126, "componentType":5126,
"count":4, "count":12,
"type":"VEC3"
},
{
"componentType":5126,
"count":4,
"type":"VEC2" "type":"VEC2"
},
{
"bufferView":26,
"componentType":5123,
"count":18,
"type":"SCALAR"
} }
], ],
"bufferViews":[ "bufferViews":[
{ {
"buffer":0, "buffer":0,
"byteLength":2376, "byteLength":3264,
"byteOffset":0 "byteOffset":0,
"target":34962
}, },
{ {
"buffer":0, "buffer":0,
"byteLength":3883, "byteLength":3264,
"byteOffset":2376 "byteOffset":3264,
"target":34962
}, },
{ {
"buffer":0, "buffer":0,
"byteLength":166, "byteLength":2176,
"byteOffset":6260 "byteOffset":6528,
"target":34962
}, },
{ {
"buffer":0, "buffer":0,
"byteLength":166, "byteLength":576,
"byteOffset":6428 "byteOffset":8704,
"target":34963
}, },
{ {
"buffer":0, "buffer":0,
"byteLength":278, "byteLength":4416,
"byteOffset":6596 "byteOffset":9280,
"target":34962
}, },
{ {
"buffer":0, "buffer":0,
"byteLength":561, "byteLength":4416,
"byteOffset":6876 "byteOffset":13696,
"target":34962
}, },
{ {
"buffer":0, "buffer":0,
"byteLength":213, "byteLength":2944,
"byteOffset":7440 "byteOffset":18112,
"target":34962
}, },
{ {
"buffer":0, "buffer":0,
"byteLength":171, "byteLength":1980,
"byteOffset":7656 "byteOffset":21056,
"target":34963
},
{
"buffer":0,
"byteLength":48,
"byteOffset":23036,
"target":34962
},
{
"buffer":0,
"byteLength":48,
"byteOffset":23084,
"target":34962
},
{
"buffer":0,
"byteLength":32,
"byteOffset":23132,
"target":34962
},
{
"buffer":0,
"byteLength":12,
"byteOffset":23164,
"target":34963
},
{
"buffer":0,
"byteLength":48,
"byteOffset":23176,
"target":34962
},
{
"buffer":0,
"byteLength":48,
"byteOffset":23224,
"target":34962
},
{
"buffer":0,
"byteLength":32,
"byteOffset":23272,
"target":34962
},
{
"buffer":0,
"byteLength":288,
"byteOffset":23304,
"target":34962
},
{
"buffer":0,
"byteLength":288,
"byteOffset":23592,
"target":34962
},
{
"buffer":0,
"byteLength":192,
"byteOffset":23880,
"target":34962
},
{
"buffer":0,
"byteLength":72,
"byteOffset":24072,
"target":34963
},
{
"buffer":0,
"byteLength":432,
"byteOffset":24144,
"target":34962
},
{
"buffer":0,
"byteLength":432,
"byteOffset":24576,
"target":34962
},
{
"buffer":0,
"byteLength":288,
"byteOffset":25008,
"target":34962
},
{
"buffer":0,
"byteLength":108,
"byteOffset":25296,
"target":34963
},
{
"buffer":0,
"byteLength":144,
"byteOffset":25404,
"target":34962
},
{
"buffer":0,
"byteLength":144,
"byteOffset":25548,
"target":34962
},
{
"buffer":0,
"byteLength":96,
"byteOffset":25692,
"target":34962
},
{
"buffer":0,
"byteLength":36,
"byteOffset":25788,
"target":34963
} }
], ],
"samplers":[ "samplers":[
@@ -660,7 +675,7 @@
], ],
"buffers":[ "buffers":[
{ {
"byteLength":7828, "byteLength":25824,
"uri":"quiz.bin" "uri":"quiz.bin"
} }
] ]