Skip to content

Commit

Permalink
hole in floor
Browse files Browse the repository at this point in the history
  • Loading branch information
tailuge committed Oct 16, 2023
1 parent 2d1ac6d commit aeee621
Show file tree
Hide file tree
Showing 8 changed files with 36 additions and 123 deletions.
Binary file modified dist/models/background.bin
Binary file not shown.
Binary file modified dist/models/background.blend
Binary file not shown.
28 changes: 14 additions & 14 deletions dist/models/background.gltf
Original file line number Diff line number Diff line change
Expand Up @@ -47,67 +47,67 @@
{
"bufferView" : 0,
"componentType" : 5126,
"count" : 20,
"count" : 28,
"max" : [
1,
1,
1
0.9999999403953552
],
"min" : [
-1,
-1,
-1
-0.9999999403953552
],
"type" : "VEC3"
},
{
"bufferView" : 1,
"componentType" : 5126,
"count" : 20,
"count" : 28,
"type" : "VEC2"
},
{
"bufferView" : 2,
"componentType" : 5126,
"count" : 20,
"count" : 28,
"type" : "VEC3"
},
{
"bufferView" : 3,
"componentType" : 5123,
"count" : 30,
"count" : 48,
"type" : "SCALAR"
}
],
"bufferViews" : [
{
"buffer" : 0,
"byteLength" : 240,
"byteLength" : 336,
"byteOffset" : 0,
"target" : 34962
},
{
"buffer" : 0,
"byteLength" : 160,
"byteOffset" : 240,
"byteLength" : 224,
"byteOffset" : 336,
"target" : 34962
},
{
"buffer" : 0,
"byteLength" : 240,
"byteOffset" : 400,
"byteLength" : 336,
"byteOffset" : 560,
"target" : 34962
},
{
"buffer" : 0,
"byteLength" : 60,
"byteOffset" : 640,
"byteLength" : 96,
"byteOffset" : 896,
"target" : 34963
}
],
"buffers" : [
{
"byteLength" : 700,
"byteLength" : 992,
"uri" : "background.bin"
}
]
Expand Down
Binary file modified dist/models/p8.bin
Binary file not shown.
Binary file modified dist/models/p8.blend
Binary file not shown.
129 changes: 21 additions & 108 deletions dist/models/p8.gltf
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,7 @@
7,
8,
9,
10,
11
10
]
}
],
Expand Down Expand Up @@ -186,20 +185,6 @@
},
{
"mesh" : 7,
"name" : "Legs",
"scale" : [
2.3899998664855957,
11.089882850646973,
4.689999580383301
],
"translation" : [
14.47668170928955,
-0.1310420036315918,
-9.468948364257812
]
},
{
"mesh" : 8,
"name" : "centercup",
"translation" : [
-0.006176173686981201,
Expand All @@ -208,7 +193,7 @@
]
},
{
"mesh" : 9,
"mesh" : 8,
"name" : "centercup.001",
"rotation" : [
0,
Expand Down Expand Up @@ -458,7 +443,7 @@
]
},
{
"name" : "Cube.006",
"name" : "Cylinder",
"primitives" : [
{
"attributes" : {
Expand All @@ -467,12 +452,12 @@
"NORMAL" : 42
},
"indices" : 43,
"material" : 3
"material" : 6
}
]
},
{
"name" : "Cylinder",
"name" : "Cylinder.001",
"primitives" : [
{
"attributes" : {
Expand All @@ -484,20 +469,6 @@
"material" : 6
}
]
},
{
"name" : "Cylinder.001",
"primitives" : [
{
"attributes" : {
"POSITION" : 48,
"TEXCOORD_0" : 49,
"NORMAL" : 50
},
"indices" : 51,
"material" : 6
}
]
}
],
"accessors" : [
Expand Down Expand Up @@ -844,40 +815,6 @@
{
"bufferView" : 40,
"componentType" : 5126,
"count" : 64,
"max" : [
1,
1,
1
],
"min" : [
-13.114377975463867,
-1,
-1.0492935180664062
],
"type" : "VEC3"
},
{
"bufferView" : 41,
"componentType" : 5126,
"count" : 64,
"type" : "VEC2"
},
{
"bufferView" : 42,
"componentType" : 5126,
"count" : 64,
"type" : "VEC3"
},
{
"bufferView" : 43,
"componentType" : 5123,
"count" : 120,
"type" : "SCALAR"
},
{
"bufferView" : 44,
"componentType" : 5126,
"count" : 86,
"max" : [
1.0061025619506836,
Expand All @@ -892,25 +829,25 @@
"type" : "VEC3"
},
{
"bufferView" : 45,
"bufferView" : 41,
"componentType" : 5126,
"count" : 86,
"type" : "VEC2"
},
{
"bufferView" : 46,
"bufferView" : 42,
"componentType" : 5126,
"count" : 86,
"type" : "VEC3"
},
{
"bufferView" : 47,
"bufferView" : 43,
"componentType" : 5123,
"count" : 162,
"type" : "SCALAR"
},
{
"bufferView" : 48,
"bufferView" : 44,
"componentType" : 5126,
"count" : 262,
"max" : [
Expand All @@ -926,19 +863,19 @@
"type" : "VEC3"
},
{
"bufferView" : 49,
"bufferView" : 45,
"componentType" : 5126,
"count" : 262,
"type" : "VEC2"
},
{
"bufferView" : 50,
"bufferView" : 46,
"componentType" : 5126,
"count" : 262,
"type" : "VEC3"
},
{
"bufferView" : 51,
"bufferView" : 47,
"componentType" : 5123,
"count" : 354,
"type" : "SCALAR"
Expand Down Expand Up @@ -1185,82 +1122,58 @@
"byteOffset" : 56840,
"target" : 34963
},
{
"buffer" : 0,
"byteLength" : 768,
"byteOffset" : 57608,
"target" : 34962
},
{
"buffer" : 0,
"byteLength" : 512,
"byteOffset" : 58376,
"target" : 34962
},
{
"buffer" : 0,
"byteLength" : 768,
"byteOffset" : 58888,
"target" : 34962
},
{
"buffer" : 0,
"byteLength" : 240,
"byteOffset" : 59656,
"target" : 34963
},
{
"buffer" : 0,
"byteLength" : 1032,
"byteOffset" : 59896,
"byteOffset" : 57608,
"target" : 34962
},
{
"buffer" : 0,
"byteLength" : 688,
"byteOffset" : 60928,
"byteOffset" : 58640,
"target" : 34962
},
{
"buffer" : 0,
"byteLength" : 1032,
"byteOffset" : 61616,
"byteOffset" : 59328,
"target" : 34962
},
{
"buffer" : 0,
"byteLength" : 324,
"byteOffset" : 62648,
"byteOffset" : 60360,
"target" : 34963
},
{
"buffer" : 0,
"byteLength" : 3144,
"byteOffset" : 62972,
"byteOffset" : 60684,
"target" : 34962
},
{
"buffer" : 0,
"byteLength" : 2096,
"byteOffset" : 66116,
"byteOffset" : 63828,
"target" : 34962
},
{
"buffer" : 0,
"byteLength" : 3144,
"byteOffset" : 68212,
"byteOffset" : 65924,
"target" : 34962
},
{
"buffer" : 0,
"byteLength" : 708,
"byteOffset" : 71356,
"byteOffset" : 69068,
"target" : 34963
}
],
"buffers" : [
{
"byteLength" : 72064,
"byteLength" : 69776,
"uri" : "p8.bin"
}
]
Expand Down
Binary file modified dist/models/p8.min.bin
Binary file not shown.
2 changes: 1 addition & 1 deletion dist/models/p8.min.gltf
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"buffers":[{"uri":"p8.min.bin","byteLength":30948}],"asset":{"version":"2.0","generator":"gltfpack 0.19"},"extensionsUsed":["KHR_mesh_quantization","KHR_materials_ior","KHR_materials_specular","KHR_lights_punctual"],"extensionsRequired":["KHR_mesh_quantization"],"bufferViews":[{"buffer":0,"byteOffset":0,"byteLength":16112,"byteStride":8,"target":34962},{"buffer":0,"byteOffset":16112,"byteLength":8056,"byteStride":4,"target":34962},{"buffer":0,"byteOffset":24168,"byteLength":6780,"target":34963}],"accessors":[{"bufferView":0,"byteOffset":0,"componentType":5123,"count":283,"type":"VEC3","min":[693,692,4365],"max":[15690,8516,4528]},{"bufferView":1,"byteOffset":0,"componentType":5120,"count":283,"type":"VEC3","normalized":true},{"bufferView":2,"byteOffset":0,"componentType":5123,"count":519,"type":"SCALAR"},{"bufferView":0,"byteOffset":2264,"componentType":5123,"count":97,"type":"VEC3","min":[693,692,4528],"max":[15690,8516,4528]},{"bufferView":1,"byteOffset":1132,"componentType":5120,"count":97,"type":"VEC3","normalized":true},{"bufferView":2,"byteOffset":1038,"componentType":5123,"count":183,"type":"SCALAR"},{"bufferView":0,"byteOffset":3040,"componentType":5123,"count":456,"type":"VEC3","min":[1,0,3836],"max":[16382,9209,4775]},{"bufferView":1,"byteOffset":1520,"componentType":5120,"count":456,"type":"VEC3","normalized":true},{"bufferView":2,"byteOffset":1404,"componentType":5123,"count":828,"type":"SCALAR"},{"bufferView":0,"byteOffset":6688,"componentType":5123,"count":220,"type":"VEC3","min":[0,0,0],"max":[16383,9209,4775]},{"bufferView":1,"byteOffset":3344,"componentType":5120,"count":220,"type":"VEC3","normalized":true},{"bufferView":2,"byteOffset":3060,"componentType":5123,"count":372,"type":"SCALAR"},{"bufferView":0,"byteOffset":8448,"componentType":5123,"count":240,"type":"VEC3","min":[412,411,4775],"max":[15971,8798,4789]},{"bufferView":1,"byteOffset":4224,"componentType":5120,"count":240,"type":"VEC3","normalized":true},{"bufferView":2,"byteOffset":3804,"componentType":5123,"count":240,"type":"SCALAR"},{"bufferView":0,"byteOffset":10368,"componentType":5123,"count":370,"type":"VEC3","min":[723,723,4530],"max":[15660,8486,4775]},{"bufferView":1,"byteOffset":5184,"componentType":5120,"count":370,"type":"VEC3","normalized":true},{"bufferView":2,"byteOffset":4284,"componentType":5123,"count":732,"type":"SCALAR"},{"bufferView":0,"byteOffset":13328,"componentType":5123,"count":348,"type":"VEC3","min":[576,397,3681],"max":[15807,8812,4530]},{"bufferView":1,"byteOffset":6664,"componentType":5120,"count":348,"type":"VEC3","normalized":true},{"bufferView":2,"byteOffset":5748,"componentType":5123,"count":516,"type":"SCALAR"}],"materials":[{"name":"cloth","pbrMetallicRoughness":{"baseColorFactor":[0,0.0119633032,0.800000072,1],"metallicFactor":0,"roughnessFactor":0.686546803}},{"name":"clothshade","pbrMetallicRoughness":{"baseColorFactor":[0,0.00626097247,0.303193837,1],"metallicFactor":0,"roughnessFactor":0.686546803}},{"name":"Material.001","pbrMetallicRoughness":{"baseColorFactor":[0.367273539,0.367273539,0.388702661,1],"metallicFactor":0.553398073,"roughnessFactor":0.191262141},"doubleSided":true},{"name":"wood","pbrMetallicRoughness":{"baseColorFactor":[0.0310710464,0.0125729032,0,1],"metallicFactor":0,"roughnessFactor":0.477669895},"doubleSided":true},{"name":"diamond","pbrMetallicRoughness":{"baseColorFactor":[0.800000012,0.800000012,0.800000012,1],"metallicFactor":0.772727251,"roughnessFactor":0.289610386}},{"name":"CushionBlue","pbrMetallicRoughness":{"baseColorFactor":[0.00674654124,0.115064487,0.638261437,1],"metallicFactor":0,"roughnessFactor":0.463106811}},{"name":"blackpocket","pbrMetallicRoughness":{"baseColorFactor":[0.0122153433,0.0122153433,0.0122153433,1],"metallicFactor":0,"roughnessFactor":0.714723945},"doubleSided":true,"extensions":{"KHR_materials_ior":{"ior":1.45000005},"KHR_materials_specular":{"specularColorFactor":[0.152756184,0.152756184,0.152756184]}}}],"meshes":[{"primitives":[{"attributes":{"POSITION":0,"NORMAL":1},"indices":2,"material":0},{"attributes":{"POSITION":3,"NORMAL":4},"indices":5,"material":1},{"attributes":{"POSITION":6,"NORMAL":7},"indices":8,"material":2},{"attributes":{"POSITION":9,"NORMAL":10},"indices":11,"material":3},{"attributes":{"POSITION":12,"NORMAL":13},"indices":14,"material":4},{"attributes":{"POSITION":15,"NORMAL":16},"indices":17,"material":5},{"attributes":{"POSITION":18,"NORMAL":19},"indices":20,"material":6}]}],"nodes":[{"mesh":0,"translation":[-25.1272106,-14.124115,-14.3901348],"scale":[0.00306747342,0.00306747342,0.00306747342]},{"name":"Point","translation":[-16,0.5,19],"extensions":{"KHR_lights_punctual":{"light":0}}},{"name":"Point.001","translation":[17,-0.200000003,20],"extensions":{"KHR_lights_punctual":{"light":1}}}],"scenes":[{"name":"Scene","nodes":[0,1,2]}],"scene":0,"extensions":{"KHR_lights_punctual":{"lights":[{"type":"point","color":[0.855544746,0.834791005,0.674365997],"intensity":5.43514156},{"type":"point","color":[0.698192716,0.698192716,0.698192716],"intensity":5.43514156}]}}}
{"buffers":[{"uri":"p8.min.bin","byteLength":29940}],"asset":{"version":"2.0","generator":"gltfpack 0.19"},"extensionsUsed":["KHR_mesh_quantization","KHR_materials_ior","KHR_materials_specular","KHR_lights_punctual"],"extensionsRequired":["KHR_mesh_quantization"],"bufferViews":[{"buffer":0,"byteOffset":0,"byteLength":15600,"byteStride":8,"target":34962},{"buffer":0,"byteOffset":15600,"byteLength":7800,"byteStride":4,"target":34962},{"buffer":0,"byteOffset":23400,"byteLength":6540,"target":34963}],"accessors":[{"bufferView":0,"byteOffset":0,"componentType":5123,"count":283,"type":"VEC3","min":[693,692,684],"max":[15690,8516,847]},{"bufferView":1,"byteOffset":0,"componentType":5120,"count":283,"type":"VEC3","normalized":true},{"bufferView":2,"byteOffset":0,"componentType":5123,"count":519,"type":"SCALAR"},{"bufferView":0,"byteOffset":2264,"componentType":5123,"count":97,"type":"VEC3","min":[693,692,847],"max":[15690,8516,847]},{"bufferView":1,"byteOffset":1132,"componentType":5120,"count":97,"type":"VEC3","normalized":true},{"bufferView":2,"byteOffset":1038,"componentType":5123,"count":183,"type":"SCALAR"},{"bufferView":0,"byteOffset":3040,"componentType":5123,"count":456,"type":"VEC3","min":[1,0,155],"max":[16382,9209,1094]},{"bufferView":1,"byteOffset":1520,"componentType":5120,"count":456,"type":"VEC3","normalized":true},{"bufferView":2,"byteOffset":1404,"componentType":5123,"count":828,"type":"SCALAR"},{"bufferView":0,"byteOffset":6688,"componentType":5123,"count":156,"type":"VEC3","min":[0,0,155],"max":[16383,9209,1094]},{"bufferView":1,"byteOffset":3344,"componentType":5120,"count":156,"type":"VEC3","normalized":true},{"bufferView":2,"byteOffset":3060,"componentType":5123,"count":252,"type":"SCALAR"},{"bufferView":0,"byteOffset":7936,"componentType":5123,"count":240,"type":"VEC3","min":[412,411,1094],"max":[15971,8798,1109]},{"bufferView":1,"byteOffset":3968,"componentType":5120,"count":240,"type":"VEC3","normalized":true},{"bufferView":2,"byteOffset":3564,"componentType":5123,"count":240,"type":"SCALAR"},{"bufferView":0,"byteOffset":9856,"componentType":5123,"count":370,"type":"VEC3","min":[723,723,849],"max":[15660,8486,1094]},{"bufferView":1,"byteOffset":4928,"componentType":5120,"count":370,"type":"VEC3","normalized":true},{"bufferView":2,"byteOffset":4044,"componentType":5123,"count":732,"type":"SCALAR"},{"bufferView":0,"byteOffset":12816,"componentType":5123,"count":348,"type":"VEC3","min":[576,397,0],"max":[15807,8812,849]},{"bufferView":1,"byteOffset":6408,"componentType":5120,"count":348,"type":"VEC3","normalized":true},{"bufferView":2,"byteOffset":5508,"componentType":5123,"count":516,"type":"SCALAR"}],"materials":[{"name":"cloth","pbrMetallicRoughness":{"baseColorFactor":[0,0.0119633032,0.800000072,1],"metallicFactor":0,"roughnessFactor":0.686546803}},{"name":"clothshade","pbrMetallicRoughness":{"baseColorFactor":[0,0.00626097247,0.303193837,1],"metallicFactor":0,"roughnessFactor":0.686546803}},{"name":"Material.001","pbrMetallicRoughness":{"baseColorFactor":[0.367273539,0.367273539,0.388702661,1],"metallicFactor":0.553398073,"roughnessFactor":0.191262141},"doubleSided":true},{"name":"wood","pbrMetallicRoughness":{"baseColorFactor":[0.0310710464,0.0125729032,0,1],"metallicFactor":0,"roughnessFactor":0.477669895},"doubleSided":true},{"name":"diamond","pbrMetallicRoughness":{"baseColorFactor":[0.800000012,0.800000012,0.800000012,1],"metallicFactor":0.772727251,"roughnessFactor":0.289610386}},{"name":"CushionBlue","pbrMetallicRoughness":{"baseColorFactor":[0.00674654124,0.115064487,0.638261437,1],"metallicFactor":0,"roughnessFactor":0.463106811}},{"name":"blackpocket","pbrMetallicRoughness":{"baseColorFactor":[0.0122153433,0.0122153433,0.0122153433,1],"metallicFactor":0,"roughnessFactor":0.714723945},"doubleSided":true,"extensions":{"KHR_materials_ior":{"ior":1.45000005},"KHR_materials_specular":{"specularColorFactor":[0.152756184,0.152756184,0.152756184]}}}],"meshes":[{"primitives":[{"attributes":{"POSITION":0,"NORMAL":1},"indices":2,"material":0},{"attributes":{"POSITION":3,"NORMAL":4},"indices":5,"material":1},{"attributes":{"POSITION":6,"NORMAL":7},"indices":8,"material":2},{"attributes":{"POSITION":9,"NORMAL":10},"indices":11,"material":3},{"attributes":{"POSITION":12,"NORMAL":13},"indices":14,"material":4},{"attributes":{"POSITION":15,"NORMAL":16},"indices":17,"material":5},{"attributes":{"POSITION":18,"NORMAL":19},"indices":20,"material":6}]}],"nodes":[{"mesh":0,"translation":[-25.1272106,-14.124115,-3.09913254],"scale":[0.00306747342,0.00306747342,0.00306747342]},{"name":"Point","translation":[-16,0.5,19],"extensions":{"KHR_lights_punctual":{"light":0}}},{"name":"Point.001","translation":[17,-0.200000003,20],"extensions":{"KHR_lights_punctual":{"light":1}}}],"scenes":[{"name":"Scene","nodes":[0,1,2]}],"scene":0,"extensions":{"KHR_lights_punctual":{"lights":[{"type":"point","color":[0.855544746,0.834791005,0.674365997],"intensity":5.43514156},{"type":"point","color":[0.698192716,0.698192716,0.698192716],"intensity":5.43514156}]}}}

0 comments on commit aeee621

Please sign in to comment.