diff --git a/assets/amazon.gltf b/assets/amazon.gltf new file mode 100644 index 0000000..0da3ff8 --- /dev/null +++ b/assets/amazon.gltf @@ -0,0 +1,342 @@ +{ + "accessors": [ + { + "bufferView": 2, + "componentType": 5126, + "count": 65532, + "max": [ + 2.885776996612549, + -0.08389099687337875, + 6.440018177032471 + ], + "min": [ + -4.681544780731201, + -5.062069892883301, + -4.756259918212891 + ], + "type": "VEC3" + }, + { + "bufferView": 2, + "byteOffset": 786384, + "componentType": 5126, + "count": 65532, + "max": [ + 0.9999997615814209, + 1.0, + 0.9999997615814209 + ], + "min": [ + -0.9820935130119324, + -0.9999992251396179, + -0.9999996423721313 + ], + "type": "VEC3" + }, + { + "bufferView": 1, + "componentType": 5126, + "count": 65532, + "max": [ + 0.9992679953575134, + 0.9965749979019165 + ], + "min": [ + 0.0007319999858736992, + 0.0007340000011026859 + ], + "type": "VEC2" + }, + { + "bufferView": 0, + "componentType": 5125, + "count": 362700, + "type": "SCALAR" + }, + { + "bufferView": 2, + "byteOffset": 1572768, + "componentType": 5126, + "count": 65532, + "max": [ + 2.847201108932495, + -0.08389099687337875, + 6.4662861824035645 + ], + "min": [ + -4.701938152313232, + -5.181807041168213, + -4.750370025634766 + ], + "type": "VEC3" + }, + { + "bufferView": 2, + "byteOffset": 2359152, + "componentType": 5126, + "count": 65532, + "max": [ + 0.9999992251396179, + 1.0, + 0.9999974966049194 + ], + "min": [ + -1.0, + -0.9999995827674866, + -0.9999998807907104 + ], + "type": "VEC3" + }, + { + "bufferView": 1, + "byteOffset": 524256, + "componentType": 5126, + "count": 65532, + "max": [ + 0.9992679953575134, + 0.9992660284042358 + ], + "min": [ + 0.0007319999858736992, + 0.0007340000011026859 + ], + "type": "VEC2" + }, + { + "bufferView": 0, + "byteOffset": 1450800, + "componentType": 5125, + "count": 357351, + "type": "SCALAR" + }, + { + "bufferView": 2, + "byteOffset": 3145536, + "componentType": 5126, + "count": 40624, + "max": [ + 2.6199169158935547, + -0.08389099687337875, + 6.477356910705566 + ], + "min": [ + -4.724100112915039, + -5.165666103363037, + -4.794881820678711 + ], + "type": "VEC3" + }, + { + "bufferView": 2, + "byteOffset": 3633024, + "componentType": 5126, + "count": 40624, + "max": [ + 0.6867644190788269, + 1.0, + 1.0 + ], + "min": [ + -0.9999996423721313, + -0.9999995827674866, + -0.9999977350234985 + ], + "type": "VEC3" + }, + { + "bufferView": 1, + "byteOffset": 1048512, + "componentType": 5126, + "count": 40624, + "max": [ + 0.9992679953575134, + 0.9962069988250732 + ], + "min": [ + 0.0007319999858736992, + 0.007706999778747559 + ], + "type": "VEC2" + }, + { + "bufferView": 0, + "byteOffset": 2880204, + "componentType": 5125, + "count": 219075, + "type": "SCALAR" + } + ], + "asset": { + "extras": { + "author": "Shyam Barange (https://sketchfab.com/shyam11)", + "license": "CC-BY-4.0 (http://creativecommons.org/licenses/by/4.0/)", + "source": "https://sketchfab.com/3d-models/amazon-packaging-box-cb743643cb624437bf67566725ed59e9", + "title": "Amazon Packaging Box" + }, + "generator": "Sketchfab-12.66.0", + "version": "2.0" + }, + "bufferViews": [ + { + "buffer": 0, + "byteLength": 3756504, + "name": "floatBufferViews", + "target": 34963 + }, + { + "buffer": 0, + "byteLength": 1373504, + "byteOffset": 3756504, + "byteStride": 8, + "name": "floatBufferViews", + "target": 34962 + }, + { + "buffer": 0, + "byteLength": 4120512, + "byteOffset": 5130008, + "byteStride": 12, + "name": "floatBufferViews", + "target": 34962 + } + ], + "buffers": [ + { + "byteLength": 9250520, + "uri": "scene.bin" + } + ], + "images": [ + { + "uri": "textures/Material_0_baseColor.jpeg" + } + ], + "materials": [ + { + "doubleSided": true, + "name": "Material_0", + "pbrMetallicRoughness": { + "baseColorTexture": { + "index": 0 + }, + "metallicFactor": 0.0 + } + } + ], + "meshes": [ + { + "name": "Object_0", + "primitives": [ + { + "attributes": { + "NORMAL": 1, + "POSITION": 0, + "TEXCOORD_0": 2 + }, + "indices": 3, + "material": 0, + "mode": 4 + } + ] + }, + { + "name": "Object_1", + "primitives": [ + { + "attributes": { + "NORMAL": 5, + "POSITION": 4, + "TEXCOORD_0": 6 + }, + "indices": 7, + "material": 0, + "mode": 4 + } + ] + }, + { + "name": "Object_2", + "primitives": [ + { + "attributes": { + "NORMAL": 9, + "POSITION": 8, + "TEXCOORD_0": 10 + }, + "indices": 11, + "material": 0, + "mode": 4 + } + ] + } + ], + "nodes": [ + { + "children": [ + 1 + ], + "matrix": [ + 1.0, + 0.0, + 0.0, + 0.0, + 0.0, + -1.0, + -4.440892098500626e-16, + 0.0, + 0.0, + 4.440892098500626e-16, + -1.0, + 0.0, + 0.0, + -1.79162085056305, + 3.4740839004516597, + 1.0 + ], + "name": "Sketchfab_model" + }, + { + "children": [ + 2, + 3, + 4 + ], + "name": "AmazonBox.obj.cleaner.materialmerger.gles" + }, + { + "mesh": 0, + "name": "Object_2" + }, + { + "mesh": 1, + "name": "Object_3" + }, + { + "mesh": 2, + "name": "Object_4" + } + ], + "samplers": [ + { + "magFilter": 9729, + "minFilter": 9987, + "wrapS": 10497, + "wrapT": 10497 + } + ], + "scene": 0, + "scenes": [ + { + "name": "Sketchfab_Scene", + "nodes": [ + 0 + ] + } + ], + "textures": [ + { + "sampler": 0, + "source": 0 + } + ] +} diff --git a/assets/scene.bin b/assets/scene.bin new file mode 100644 index 0000000..8bdb66d Binary files /dev/null and b/assets/scene.bin differ diff --git a/assets/textures/Material_0_baseColor.jpeg b/assets/textures/Material_0_baseColor.jpeg new file mode 100644 index 0000000..20c4505 Binary files /dev/null and b/assets/textures/Material_0_baseColor.jpeg differ diff --git a/ooc3.vl b/ooc3.vl index 5e8b601..0b42a2f 100644 --- a/ooc3.vl +++ b/ooc3.vl @@ -538,7 +538,7 @@ - + @@ -547,29 +547,30 @@ - + - - - + + + - - + + - - + + - - - - - - - - - + + + + + + + + + + @@ -590,6 +591,7 @@ + @@ -716,6 +718,12 @@ + + + + + + @@ -5580,13 +5630,220 @@ - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -5613,15 +5870,6 @@ - - - - - - 9 - Comment - - @@ -5761,7 +6009,7 @@ - + @@ -5769,7 +6017,7 @@ - + @@ -5779,7 +6027,7 @@ Toggle - + @@ -5789,7 +6037,7 @@ - + @@ -5797,14 +6045,14 @@ - + - + @@ -5816,76 +6064,45 @@ - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - + - + - + + + + + + + + + - Press + Bang + + + + + + @@ -5927,12 +6144,11 @@ - - - - + + +