Merge pull request #1 from StardustXR/main

Add hexagon model
This commit is contained in:
Nicola Guerrera
2023-02-23 00:02:30 +01:00
committed by GitHub
7 changed files with 150 additions and 0 deletions

Binary file not shown.

BIN
assets/hex_atlas.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.7 KiB

BIN
assets/hex_atlas.xcf Normal file

Binary file not shown.

BIN
assets/hexagon.blend Normal file

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.7 KiB

Binary file not shown.

View File

@@ -0,0 +1,150 @@
{
"asset" : {
"generator" : "Khronos glTF Blender I/O v3.4.50",
"version" : "2.0"
},
"extensionsUsed" : [
"KHR_materials_unlit"
],
"scene" : 0,
"scenes" : [
{
"name" : "Scene",
"nodes" : [
0
]
}
],
"nodes" : [
{
"mesh" : 0,
"name" : "Hex"
}
],
"materials" : [
{
"alphaMode" : "BLEND",
"extensions" : {
"KHR_materials_unlit" : {}
},
"name" : "Hex",
"pbrMetallicRoughness" : {
"baseColorFactor" : [
1,
0,
0,
1
],
"baseColorTexture" : {
"index" : 0,
"texCoord" : 0
},
"metallicFactor" : 0,
"roughnessFactor" : 0.9
}
}
],
"meshes" : [
{
"name" : "Circle",
"primitives" : [
{
"attributes" : {
"POSITION" : 0,
"TEXCOORD_0" : 1,
"NORMAL" : 2
},
"indices" : 3,
"material" : 0
}
]
}
],
"textures" : [
{
"sampler" : 0,
"source" : 0
}
],
"images" : [
{
"mimeType" : "image/png",
"name" : "hex_atlas",
"uri" : "hex_atlas.png"
}
],
"accessors" : [
{
"bufferView" : 0,
"componentType" : 5126,
"count" : 108,
"max" : [
1.0441828966140747,
0.05000000074505806,
0.9042890667915344
],
"min" : [
-1.0441828966140747,
-0.05000000074505806,
-0.9042890667915344
],
"type" : "VEC3"
},
{
"bufferView" : 1,
"componentType" : 5126,
"count" : 108,
"type" : "VEC2"
},
{
"bufferView" : 2,
"componentType" : 5126,
"count" : 108,
"type" : "VEC3"
},
{
"bufferView" : 3,
"componentType" : 5123,
"count" : 168,
"type" : "SCALAR"
}
],
"bufferViews" : [
{
"buffer" : 0,
"byteLength" : 1296,
"byteOffset" : 0,
"target" : 34962
},
{
"buffer" : 0,
"byteLength" : 864,
"byteOffset" : 1296,
"target" : 34962
},
{
"buffer" : 0,
"byteLength" : 1296,
"byteOffset" : 2160,
"target" : 34962
},
{
"buffer" : 0,
"byteLength" : 336,
"byteOffset" : 3456,
"target" : 34963
}
],
"samplers" : [
{
"magFilter" : 9729,
"minFilter" : 9987
}
],
"buffers" : [
{
"byteLength" : 3792,
"uri" : "hexagon.bin"
}
]
}