X-Git-Url: http://git.lukelau.me/?p=opengl.git;a=blobdiff_plain;f=models%2FsphereMetal.gltf;h=c51b46f7963b6d85f5665df5f001d238b07f4a67;hp=4b9e8cc6af4846d4895b8542284297268cedb355;hb=511a2c92fcb9dda82dd5d38b91ea03790d0cb7b2;hpb=0291188124d08368ce28b308482604218bd75393 diff --git a/models/sphereMetal.gltf b/models/sphereMetal.gltf index 4b9e8cc..c51b46f 100644 --- a/models/sphereMetal.gltf +++ b/models/sphereMetal.gltf @@ -151,6 +151,158 @@ 0.0031104683876037598 ], "type" : "VEC2" + }, + { + "bufferView" : 10, + "componentType" : 5123, + "count" : 29400, + "max" : [ + 5003 + ], + "min" : [ + 0 + ], + "type" : "SCALAR" + }, + { + "bufferView" : 11, + "componentType" : 5126, + "count" : 5004, + "max" : [ + 1.0000009536743164, + 1.0, + 1.0000017881393433 + ], + "min" : [ + -1.0000007152557373, + -1.0, + -1.0 + ], + "type" : "VEC3" + }, + { + "bufferView" : 12, + "componentType" : 5126, + "count" : 5004, + "max" : [ + 1.0, + 1.0, + 1.0 + ], + "min" : [ + -1.0, + -1.0, + -1.0 + ], + "type" : "VEC3" + }, + { + "bufferView" : 13, + "componentType" : 5126, + "count" : 5004, + "max" : [ + 0.9990525245666504, + 0.1821206957101822, + 0.9870549440383911, + 1.0 + ], + "min" : [ + -0.9990525245666504, + -0.1808946281671524, + -0.987054705619812, + -1.0 + ], + "type" : "VEC4" + }, + { + "bufferView" : 14, + "componentType" : 5126, + "count" : 5004, + "max" : [ + 1.4449338912963867, + 0.9933801889419556 + ], + "min" : [ + 0.00026097893714904785, + 0.006618916988372803 + ], + "type" : "VEC2" + }, + { + "bufferView" : 15, + "componentType" : 5123, + "count" : 2904, + "max" : [ + 506 + ], + "min" : [ + 0 + ], + "type" : "SCALAR" + }, + { + "bufferView" : 16, + "componentType" : 5126, + "count" : 507, + "max" : [ + 1.3671875, + 0.984375, + 0.8515625 + ], + "min" : [ + -1.3671875, + -0.984375, + -0.8515625 + ], + "type" : "VEC3" + }, + { + "bufferView" : 17, + "componentType" : 5126, + "count" : 507, + "max" : [ + 0.9989318251609802, + 0.999725341796875, + 0.999969482421875 + ], + "min" : [ + -0.9989318251609802, + -0.9862666726112366, + -0.9753105044364929 + ], + "type" : "VEC3" + }, + { + "bufferView" : 18, + "componentType" : 5126, + "count" : 507, + "max" : [ + 0.9987419247627258, + 0.9946793913841248, + 0.9965001940727234, + 1.0 + ], + "min" : [ + -0.9963445067405701, + -0.999483048915863, + -0.9972872734069824, + 1.0 + ], + "type" : "VEC4" + }, + { + "bufferView" : 19, + "componentType" : 5126, + "count" : 507, + "max" : [ + 0.9998813271522522, + 0.9998813555357629 + ], + "min" : [ + 0.0001186444642371498, + 0.06660735607147217 + ], + "type" : "VEC2" } ], "asset" : { @@ -217,11 +369,71 @@ "byteLength" : 160000, "byteOffset" : 1336592, "target" : 34962 + }, + { + "buffer" : 0, + "byteLength" : 58800, + "byteOffset" : 1496592, + "target" : 34963 + }, + { + "buffer" : 0, + "byteLength" : 60048, + "byteOffset" : 1555392, + "target" : 34962 + }, + { + "buffer" : 0, + "byteLength" : 60048, + "byteOffset" : 1615440, + "target" : 34962 + }, + { + "buffer" : 0, + "byteLength" : 80064, + "byteOffset" : 1675488, + "target" : 34962 + }, + { + "buffer" : 0, + "byteLength" : 40032, + "byteOffset" : 1755552, + "target" : 34962 + }, + { + "buffer" : 0, + "byteLength" : 5808, + "byteOffset" : 1795584, + "target" : 34963 + }, + { + "buffer" : 0, + "byteLength" : 6084, + "byteOffset" : 1801392, + "target" : 34962 + }, + { + "buffer" : 0, + "byteLength" : 6084, + "byteOffset" : 1807476, + "target" : 34962 + }, + { + "buffer" : 0, + "byteLength" : 8112, + "byteOffset" : 1813560, + "target" : 34962 + }, + { + "buffer" : 0, + "byteLength" : 4056, + "byteOffset" : 1821672, + "target" : 34962 } ], "buffers" : [ { - "byteLength" : 1496592, + "byteLength" : 1825728, "uri" : "sphereMetal.bin" } ], @@ -242,6 +454,22 @@ "name" : "greasy-pan-2-metallicroughness", "uri" : "greasy-pan-2-metallicroughness.png" }, + { + "name" : "scuffed-plastic4-alb", + "uri" : "scuffed-plastic4-alb.png" + }, + { + "name" : "scuffed-plastic-metallicroughness", + "uri" : "scuffed-plastic-metallicroughness.png" + }, + { + "name" : "scuffed-plastic-normal", + "uri" : "scuffed-plastic-normal.png" + }, + { + "name" : "scuffed-plastic-ao", + "uri" : "scuffed-plastic-ao.png" + }, { "name" : "streakedmetal-albedo", "uri" : "streakedmetal-albedo.png" @@ -278,9 +506,9 @@ } }, { - "name" : "Streaked Metal", + "name" : "Plastic", "normalTexture" : { - "index" : 5 + "index" : 6 }, "occlusionTexture" : { "index" : 7 @@ -290,7 +518,24 @@ "index" : 4 }, "metallicRoughnessTexture" : { - "index" : 6 + "index" : 5 + } + } + }, + { + "name" : "Streaked Metal", + "normalTexture" : { + "index" : 9 + }, + "occlusionTexture" : { + "index" : 11 + }, + "pbrMetallicRoughness" : { + "baseColorTexture" : { + "index" : 8 + }, + "metallicRoughnessTexture" : { + "index" : 10 } } } @@ -307,7 +552,7 @@ "TEXCOORD_0" : 4 }, "indices" : 0, - "material" : 1 + "material" : 2 } ] }, @@ -325,6 +570,36 @@ "material" : 0 } ] + }, + { + "name" : "Sphere.002", + "primitives" : [ + { + "attributes" : { + "NORMAL" : 12, + "POSITION" : 11, + "TANGENT" : 13, + "TEXCOORD_0" : 14 + }, + "indices" : 10, + "material" : 1 + } + ] + }, + { + "name" : "Suzanne", + "primitives" : [ + { + "attributes" : { + "NORMAL" : 17, + "POSITION" : 16, + "TANGENT" : 18, + "TEXCOORD_0" : 19 + }, + "indices" : 15, + "material" : 2 + } + ] } ], "nodes" : [ @@ -373,6 +648,30 @@ 0.0, -0.0 ] + }, + { + "mesh" : 2, + "name" : "Sphere.002", + "translation" : [ + -2.5, + 0.0, + -0.0 + ] + }, + { + "mesh" : 3, + "name" : "Suzanne", + "rotation" : [ + 0.0, + 0.7071068286895752, + -0.0, + 0.7071067690849304 + ], + "translation" : [ + 0.0, + 0.0, + -2.5 + ] } ], "samplers" : [ @@ -383,10 +682,12 @@ { "name" : "Scene", "nodes" : [ + 5, 3, 2, 1, - 0 + 0, + 4 ] } ], @@ -422,6 +723,22 @@ { "sampler" : 0, "source" : 7 + }, + { + "sampler" : 0, + "source" : 8 + }, + { + "sampler" : 0, + "source" : 9 + }, + { + "sampler" : 0, + "source" : 10 + }, + { + "sampler" : 0, + "source" : 11 } ] }