Basic GUI

This commit is contained in:
Guillaume Meunier
2024-01-28 11:33:35 +01:00
parent a7bd88aa6c
commit d84095e1ea
42 changed files with 1970 additions and 363 deletions
Binary file not shown.
+153
View File
@@ -0,0 +1,153 @@
{
"accessors": [
{
"bufferView": 0,
"byteOffset": 0,
"componentType": 5123,
"count": 6,
"type": "SCALAR",
"max": [
5
],
"min": [
0
]
},
{
"bufferView": 1,
"byteOffset": 0,
"componentType": 5126,
"count": 6,
"type": "VEC3",
"max": [
100,
0,
100
],
"min": [
-100,
0,
-100
],
"name": "POSITION"
},
{
"bufferView": 1,
"byteOffset": 12,
"componentType": 5126,
"count": 6,
"type": "VEC2",
"max": [
100,
1
],
"min": [
0,
-99
],
"name": "TEXCOORD_0"
},
{
"bufferView": 1,
"byteOffset": 20,
"componentType": 5126,
"count": 6,
"type": "VEC3",
"max": [
0,
1.0000044107437134,
0
],
"min": [
0,
1.0000044107437134,
0
],
"name": "NORMAL"
}
],
"asset": {
"generator": "Aspose.3D 23.12.0",
"version": "2.0"
},
"buffers": [
{
"uri": "data:application/octet-stream;base64,AAABAAIAAwAEAAUAAAAAAAAAyMIAAAAAAADIwgAAAAAAAIA/AAAAACUAgD8AAAAAAADIwgAAAAAAAMhCAADIQgAAgD8AAAAAJQCAPwAAAAAAAMhCAAAAAAAAyMIAAAAAAADGwgAAAAAlAIA/AAAAAAAAyEIAAAAAAADIQgAAyEIAAMbCAAAAACUAgD8AAAAAAADIQgAAAAAAAMjCAAAAAAAAxsIAAAAAJQCAPwAAAAAAAMjCAAAAAAAAyEIAAMhCAACAPwAAAAAlAIA/AAAAAAAAAAA=",
"byteLength": 212
}
],
"images" : [
{
"uri": "WoodFloor051_1K-JPG_Color.jpg"
}
],
"bufferViews": [
{
"buffer": 0,
"byteOffset": 0,
"byteLength": 12,
"target": 34963
},
{
"buffer": 0,
"byteOffset": 16,
"byteLength": 192,
"byteStride": 32,
"target": 34962
}
],
"meshes": [
{
"primitives": [
{
"attributes": {
"POSITION": 1,
"TEXCOORD_0": 2,
"NORMAL": 3
},
"indices": 0,
"mode": 4,
"material": 0
}
],
"name": ""
}
],
"samplers" : [
{
"wrapS": 10497,
"wrapT": 10497,
"minFilter": 9987
}
],
"textures" : [
{
"sampler" : 0,
"source" : 0
}
],
"materials" : [
{
"name": "ground",
"pbrMetallicRoughness": {
"baseColorTexture": {
"index": 0
}
}
}
],
"nodes": [
{
"mesh": 0,
"name": "ground"
}
],
"scene": 0,
"scenes": [
{
"nodes": [
0
]
}
]
}
+12 -7
View File
@@ -114,7 +114,11 @@
}
],
"samplers" : [
{}
{
"wrapS": 33071,
"wrapT": 33071,
"minFilter": 9987
}
],
"textures" : [
{
@@ -124,11 +128,11 @@
],
"materials" : [
{
"name" : "imgui",
"pbrMetallicRoughness" : {
"baseColorTexture" : {
"index" : 0
}
"name": "imgui",
"pbrMetallicRoughness": {
"baseColorTexture": {
"index": 0
}
}
}
],
@@ -136,7 +140,8 @@
{
"mesh": 0,
"name": "imgui",
"translation": [0, 1, -1.5]
"translation": [0, 1.5, -1.5],
"scale": [1.5, 1, 1]
}
],
"scene": 0,