diff --git a/src/app/babylonjs/FireTruck.ts b/src/app/babylonjs/FireTruck.ts index 118adbe..2ddf703 100644 --- a/src/app/babylonjs/FireTruck.ts +++ b/src/app/babylonjs/FireTruck.ts @@ -59,8 +59,18 @@ export class FireTruck { this.scene = scene; this.input = new FireTruckInput(scene); SceneLoader.ImportMeshAsync("", "assets/GPC/", "GPC.gltf", scene).then(result => { - this.animations = scene.getAnimationGroupByName("All Animations"); - this.animations.stop(); + // this.animations = scene.getAnimationGroupByName("All Animations"); + if (result.animationGroups != null) { + if (result.animationGroups.length > 0) { + this.animations = result.animationGroups[0] + } + for (let i = 0; i < result.animationGroups.length; i++) { + result.animationGroups[i].stop(); + } + + } + + this.root = result.meshes[0] as Mesh; this.Bi = scene.getMeshByName("Bi") as Mesh; this.Bi1 = scene.getMeshByName("Bi1") as Mesh; @@ -280,9 +290,9 @@ export class FireTruck { // const d2T = Math.floor(Vector3.Distance(this.Bi.absolutePosition, this.targetPoint));//臂底端到目标的距离 // const distance = Math.round(Vector3.Distance(this.Bi6.absolutePosition, this.targetPoint)); //Bi6到目标距离 - const v1 = (new Vector3(this.targetPoint.x, this.targetPoint.y, this.targetPoint.z).subtract(this.Bi1.position)).normalize(); - const v2 = this.Bi.forward.normalize(); - const targetDir = Vector3.Cross(v1, v2).x > 0 ? -1 : 1; + // const v1 = (new Vector3(this.targetPoint.x, this.targetPoint.y, this.targetPoint.z).subtract(this.Bi1.position)).normalize(); + // const v2 = this.Bi.forward.normalize(); + // const targetDir = Vector3.Cross(v1, v2).x > 0 ? -1 : 1; // const lookPos = this.targetPoint.subtract(this.Bi1.position).normalize(); @@ -290,18 +300,18 @@ export class FireTruck { // this.Bi1.rotationQuaternion = Quaternion.Slerp(this.Bi1.rotationQuaternion, new Quaternion(rotation.x, rotation.y, rotation.z, rotation.w), this.deltaTime * 10); - const targetAngle = Math.acos(Vector3.Dot(v1, v2)) * 180 / Math.PI * targetDir; - const currentAngle = this.Bi1.rotationQuaternion.toEulerAngles().x * 180 / Math.PI; + // const targetAngle = Math.acos(Vector3.Dot(v1, v2)) * 180 / Math.PI * targetDir; + // const currentAngle = this.Bi1.rotationQuaternion.toEulerAngles().x * 180 / Math.PI; // console.log(currentAngle,); // console.log(targetAngle, "================="); - if (Math.abs(targetAngle - currentAngle) > 0.5) { - const speedDir = (targetAngle - currentAngle) >= 0 ? 1 : -1; - this.RotateBi1(speedDir * 0.01); - } else { - this.armActionState = ArmActionState.Bi6; - } + // if (Math.abs(targetAngle - currentAngle) > 0.5) { + // const speedDir = (targetAngle - currentAngle) >= 0 ? 1 : -1; + // this.RotateBi1(speedDir * 0.01); + // } else { + // this.armActionState = ArmActionState.Bi6; + // } // console.log(distance, '') // if (d2E < d2T) { @@ -317,6 +327,19 @@ export class FireTruck { // this.armActionState = ArmActionState.Bi6; // } // } + + + const v1 = (this.targetPoint.subtract(this.Bi1.absolutePosition)).normalize(); + const v2 = this.Bi1.forward.normalize(); + const sinA = Vector3.Cross(v1, v2); + // console.log(sinA); + + let rotateDir = sinA.x > 0 ? -1 : 1; + let loaclSpeed = sinA.length() * rotateDir; + // console.log(loaclSpeed, "speed"); + + this.RotateBi1(loaclSpeed); + } public RotateBi6(angle: number) { this.Bi6.rotate(Axis.X, angle, Space.LOCAL); diff --git a/src/assets/GPC/CarColor.png b/src/assets/GPC/CarColor.png index 95c7688..89d2afa 100644 Binary files a/src/assets/GPC/CarColor.png and b/src/assets/GPC/CarColor.png differ diff --git a/src/assets/GPC/FireCar.jpg b/src/assets/GPC/FireCar.jpg index a049915..0edb25e 100644 Binary files a/src/assets/GPC/FireCar.jpg and b/src/assets/GPC/FireCar.jpg differ diff --git a/src/assets/GPC/GPC.bin b/src/assets/GPC/GPC.bin index 4e916b0..15859fe 100644 Binary files a/src/assets/GPC/GPC.bin and b/src/assets/GPC/GPC.bin differ diff --git a/src/assets/GPC/GPC.gltf b/src/assets/GPC/GPC.gltf index ac67fae..f566043 100644 --- a/src/assets/GPC/GPC.gltf +++ b/src/assets/GPC/GPC.gltf @@ -1,2750 +1,2382 @@ { - "asset": { - "version": "2.0", - "generator": "babylon.js glTF exporter for 3dsmax 2020 v20210811.2" - }, - "scene": 0, - "scenes": [ - { - "nodes": [ - 0, - 1, - 2, - 10, - 11, - 12, - 13, - 14, - 15, - 17, - 19, - 21 - ] - } - ], - "nodes": [ - { - "mesh": 0, - "translation": [ - -1.5915581, - 0.887894, - 5.46372 - ], - "name": "Right_F_Wheel", - "rotation": [ - 0, - 0, - 0, - 1 - ], - "scale": [ - 1, - 1, - 1 - ] - }, - { - "mesh": 1, - "translation": [ - -1.4571749, - 0.887892962, - -1.01882792 - ], - "name": "Right_M_Wheel", - "rotation": [ - 0, - 0, - 0, - 1 - ], - "scale": [ - 1, - 1, - 1 - ] - }, - { - "children": [ - 3 - ], - "mesh": 2, - "translation": [ - -0.0659749955, - 2.661087, - -5.07532263 - ], - "name": "Bi", - "rotation": [ - 0, - 0, - 0, - 1 - ], - "scale": [ - 1, - 1, - 1 - ] - }, - { - "children": [ - 4 - ], - "mesh": 3, - "translation": [ - -0.668269157, - 2.41139221, - -1.223059 - ], - "rotation": [ - -0.05815037, - 6.15935747e-10, - -1.05741975e-8, - 0.9983078 - ], - "name": "Bi1", - "scale": [ - 1, - 1, - 1 - ] - }, - { - "children": [ - 5 - ], - "mesh": 4, - "translation": [ - 0.628772438, - 0.323215932, - 0.4929309 - ], - "rotation": [ - 0, - 0, - -0.00000336195421, - 1 - ], - "name": "Bi2", - "scale": [ - 1, - 1, - 1 - ] - }, - { - "children": [ - 6 - ], - "mesh": 5, - "translation": [ - 0.00147015566, - 0.00224731443, - 0.199213251 - ], - "rotation": [ - 0.0000553131176, - 2.38458142e-7, - 7.152423e-7, - 1 - ], - "scale": [ - 1, - 0.9999999, - 0.9999999 - ], - "name": "Bi3" - }, - { - "children": [ - 7 - ], - "mesh": 6, - "translation": [ - 0.00281485543, - -0.007946167, - 0.07241913 - ], - "rotation": [ - 0.00009918209, - 2.36326427e-11, - 2.38418423e-7, - 1 - ], - "scale": [ - 1, - 1.00000036, - 1.00000036 - ], - "name": "Bi4" - }, - { - "children": [ - 8 - ], - "mesh": 7, - "translation": [ - 0.008606281, - 0.2588501, - 0.239350274 - ], - "rotation": [ - 0.000452991662, - -2.40695215e-7, - -0.0000050256217, - 0.99999994 - ], - "name": "Bi5", - "scale": [ - 1, - 1, - 1 - ] - }, - { - "children": [ - 9 - ], - "mesh": 8, - "translation": [ - -0.0000819969137, - -0.8322717, - 16.0516434 - ], - "rotation": [ - -0.9994277, - -0.00000476564264, - -1.613106e-7, - -0.0338292867 - ], - "scale": [ - 1, - 0.99999994, - 0.99999994 - ], - "name": "Bi6" - }, - { - "mesh": 9, - "translation": [ - -0.01791893, - 0.02502655, - 12.5664349 - ], - "rotation": [ - -0.995824933, - 0.00000261007153, - -2.39257162e-7, - 0.09128417 - ], - "scale": [ - 1, - 0.99999994, - 0.99999994 - ], - "name": "PT" - }, - { - "mesh": 10, - "translation": [ - -1.457178, - 0.887894, - -2.80141115 - ], - "name": "Right_R_Wheel", - "rotation": [ - 0, - 0, - 0, - 1 - ], - "scale": [ - 1, - 1, - 1 - ] - }, - { - "mesh": 11, - "translation": [ - 1.66111887, - 0.887894, - -2.80141115 - ], - "name": "Left_R_Wheel", - "rotation": [ - 0, - 0, - 0, - 1 - ], - "scale": [ - 1, - 1, - 1 - ] - }, - { - "mesh": 12, - "name": "Body" - }, - { - "mesh": 13, - "translation": [ - 1.76147592, - 0.887894, - 5.46372 - ], - "name": "Left_F_Wheel", - "rotation": [ - 0, - 0, - 0, - 1 - ], - "scale": [ - 1, - 1, - 1 - ] - }, - { - "mesh": 14, - "translation": [ - 1.66111887, - 0.887892962, - -1.01882792 - ], - "name": "Left_M_Wheel", - "rotation": [ - 0, - 0, - 0, - 1 - ], - "scale": [ - 1, - 1, - 1 - ] - }, - { - "children": [ - 16 - ], - "mesh": 15, - "translation": [ - 2.008345, - 0.930277, - 2.502424 - ], - "name": "Left_F_Frame1", - "rotation": [ - 0, - 0, - 0, - 1 - ], - "scale": [ - 1, - 1, - 1 - ] - }, - { - "mesh": 16, - "name": "Left_F_Frame2", - "translation": [ - 0, - 0, - 0 - ], - "rotation": [ - 0, - 0, - 0, - 1 - ], - "scale": [ - 1, - 1, - 1 - ] - }, - { - "children": [ - 18 - ], - "mesh": 17, - "translation": [ - 2.0083468, - 0.930278, - -6.309298 - ], - "name": "Left_R_Frame1", - "rotation": [ - 0, - 0, - 0, - 1 - ], - "scale": [ - 1, - 1, - 1 - ] - }, - { - "mesh": 18, - "name": "Left_R_Frame2", - "translation": [ - 0, - 0, - 0 - ], - "rotation": [ - 0, - 0, - 0, - 1 - ], - "scale": [ - 1, - 1, - 1 - ] - }, - { - "children": [ - 20 - ], - "mesh": 19, - "translation": [ - -1.913523, - 0.93027705, - 2.502425 - ], - "name": "Right_F_Frame1", - "rotation": [ - 0, - 0, - 0, - 1 - ], - "scale": [ - 1, - 1, - 1 - ] - }, - { - "mesh": 20, - "name": "Right_F_Frame2", - "translation": [ - 0, - 0, - 0 - ], - "rotation": [ - 0, - 0, - 0, - 1 - ], - "scale": [ - 1, - 1, - 1 - ] - }, - { - "children": [ - 22 - ], - "mesh": 21, - "translation": [ - -1.91352189, - 0.930278957, - -6.309296 - ], - "name": "Right_R_Frame1", - "rotation": [ - 0, - 0, - 0, - 1 - ], - "scale": [ - 1, - 1, - 1 - ] - }, - { - "mesh": 22, - "name": "Right_R_Frame2", - "translation": [ - 0, - 0, - 0 - ], - "rotation": [ - 0, - 0, - 0, - 1 - ], - "scale": [ - 1, - 1, - 1 - ] - } - ], - "meshes": [ - { - "primitives": [ - { - "attributes": { - "POSITION": 23, - "NORMAL": 24, - "TEXCOORD_0": 25, - "TEXCOORD_1": 26 - }, - "indices": 22, - "material": 0, - "mode": 4, - "extensions": { - "KHR_draco_mesh_compression": { - "bufferView": 3, - "attributes": { - "POSITION": 0, - "NORMAL": 1, - "TEXCOORD_0": 2, - "TEXCOORD_1": 3 - } - } - } - } - ], - "name": "Right_F_Wheel" - }, - { - "primitives": [ - { - "attributes": { - "POSITION": 28, - "NORMAL": 29, - "TEXCOORD_0": 30, - "TEXCOORD_1": 31 - }, - "indices": 27, - "material": 0, - "mode": 4, - "extensions": { - "KHR_draco_mesh_compression": { - "bufferView": 4, - "attributes": { - "POSITION": 0, - "NORMAL": 1, - "TEXCOORD_0": 2, - "TEXCOORD_1": 3 - } - } - } - } - ], - "name": "Right_M_Wheel" - }, - { - "primitives": [ - { - "attributes": { - "POSITION": 33, - "NORMAL": 34, - "TEXCOORD_0": 35, - "TEXCOORD_1": 36 - }, - "indices": 32, - "material": 1, - "mode": 4, - "extensions": { - "KHR_draco_mesh_compression": { - "bufferView": 5, - "attributes": { - "POSITION": 0, - "NORMAL": 1, - "TEXCOORD_0": 2, - "TEXCOORD_1": 3 - } - } - } - } - ], - "name": "Bi" - }, - { - "primitives": [ - { - "attributes": { - "POSITION": 38, - "NORMAL": 39, - "TEXCOORD_0": 40, - "TEXCOORD_1": 41 - }, - "indices": 37, - "material": 1, - "mode": 4, - "extensions": { - "KHR_draco_mesh_compression": { - "bufferView": 6, - "attributes": { - "POSITION": 0, - "NORMAL": 1, - "TEXCOORD_0": 2, - "TEXCOORD_1": 3 - } - } - } - } - ], - "name": "Bi1" - }, - { - "primitives": [ - { - "attributes": { - "POSITION": 43, - "NORMAL": 44, - "TEXCOORD_0": 45, - "TEXCOORD_1": 46 - }, - "indices": 42, - "material": 1, - "mode": 4, - "extensions": { - "KHR_draco_mesh_compression": { - "bufferView": 7, - "attributes": { - "POSITION": 0, - "NORMAL": 1, - "TEXCOORD_0": 2, - "TEXCOORD_1": 3 - } - } - } - } - ], - "name": "Bi2" - }, - { - "primitives": [ - { - "attributes": { - "POSITION": 48, - "NORMAL": 49, - "TEXCOORD_0": 50, - "TEXCOORD_1": 51 - }, - "indices": 47, - "material": 1, - "mode": 4, - "extensions": { - "KHR_draco_mesh_compression": { - "bufferView": 8, - "attributes": { - "POSITION": 0, - "NORMAL": 1, - "TEXCOORD_0": 2, - "TEXCOORD_1": 3 - } - } - } - } - ], - "name": "Bi3" - }, - { - "primitives": [ - { - "attributes": { - "POSITION": 53, - "NORMAL": 54, - "TEXCOORD_0": 55, - "TEXCOORD_1": 56 - }, - "indices": 52, - "material": 1, - "mode": 4, - "extensions": { - "KHR_draco_mesh_compression": { - "bufferView": 9, - "attributes": { - "POSITION": 0, - "NORMAL": 1, - "TEXCOORD_0": 2, - "TEXCOORD_1": 3 - } - } - } - } - ], - "name": "Bi4" - }, - { - "primitives": [ - { - "attributes": { - "POSITION": 58, - "NORMAL": 59, - "TEXCOORD_0": 60, - "TEXCOORD_1": 61 - }, - "indices": 57, - "material": 1, - "mode": 4, - "extensions": { - "KHR_draco_mesh_compression": { - "bufferView": 10, - "attributes": { - "POSITION": 0, - "NORMAL": 1, - "TEXCOORD_0": 2, - "TEXCOORD_1": 3 - } - } - } - } - ], - "name": "Bi5" - }, - { - "primitives": [ - { - "attributes": { - "POSITION": 63, - "NORMAL": 64, - "TEXCOORD_0": 65, - "TEXCOORD_1": 66 - }, - "indices": 62, - "material": 1, - "mode": 4, - "extensions": { - "KHR_draco_mesh_compression": { - "bufferView": 11, - "attributes": { - "POSITION": 0, - "NORMAL": 1, - "TEXCOORD_0": 2, - "TEXCOORD_1": 3 - } - } - } - } - ], - "name": "Bi6" - }, - { - "primitives": [ - { - "attributes": { - "POSITION": 68, - "NORMAL": 69, - "TEXCOORD_0": 70, - "TEXCOORD_1": 71 - }, - "indices": 67, - "material": 1, - "mode": 4, - "extensions": { - "KHR_draco_mesh_compression": { - "bufferView": 12, - "attributes": { - "POSITION": 0, - "NORMAL": 1, - "TEXCOORD_0": 2, - "TEXCOORD_1": 3 - } - } - } - } - ], - "name": "PT" - }, - { - "primitives": [ - { - "attributes": { - "POSITION": 73, - "NORMAL": 74, - "TEXCOORD_0": 75, - "TEXCOORD_1": 76 - }, - "indices": 72, - "material": 0, - "mode": 4, - "extensions": { - "KHR_draco_mesh_compression": { - "bufferView": 13, - "attributes": { - "POSITION": 0, - "NORMAL": 1, - "TEXCOORD_0": 2, - "TEXCOORD_1": 3 - } - } - } - } - ], - "name": "Right_R_Wheel" - }, - { - "primitives": [ - { - "attributes": { - "POSITION": 78, - "NORMAL": 79, - "TEXCOORD_0": 80, - "TEXCOORD_1": 81 - }, - "indices": 77, - "material": 0, - "mode": 4, - "extensions": { - "KHR_draco_mesh_compression": { - "bufferView": 14, - "attributes": { - "POSITION": 0, - "NORMAL": 1, - "TEXCOORD_0": 2, - "TEXCOORD_1": 3 - } - } - } - } - ], - "name": "Left_R_Wheel" - }, - { - "primitives": [ - { - "attributes": { - "POSITION": 83, - "NORMAL": 84, - "TEXCOORD_0": 85, - "TEXCOORD_1": 86 - }, - "indices": 82, - "material": 1, - "mode": 4, - "extensions": { - "KHR_draco_mesh_compression": { - "bufferView": 15, - "attributes": { - "POSITION": 0, - "NORMAL": 1, - "TEXCOORD_0": 2, - "TEXCOORD_1": 3 - } - } - } - }, - { - "attributes": { - "POSITION": 88, - "NORMAL": 89, - "TEXCOORD_0": 90, - "TEXCOORD_1": 91 - }, - "indices": 87, - "material": 2, - "mode": 4, - "extensions": { - "KHR_draco_mesh_compression": { - "bufferView": 16, - "attributes": { - "POSITION": 0, - "NORMAL": 1, - "TEXCOORD_0": 2, - "TEXCOORD_1": 3 - } - } - } - }, - { - "attributes": { - "POSITION": 93, - "NORMAL": 94, - "TEXCOORD_0": 95, - "TEXCOORD_1": 96 - }, - "indices": 92, - "material": 0, - "mode": 4, - "extensions": { - "KHR_draco_mesh_compression": { - "bufferView": 17, - "attributes": { - "POSITION": 0, - "NORMAL": 1, - "TEXCOORD_0": 2, - "TEXCOORD_1": 3 - } - } - } - } - ], - "name": "Body" - }, - { - "primitives": [ - { - "attributes": { - "POSITION": 98, - "NORMAL": 99, - "TEXCOORD_0": 100, - "TEXCOORD_1": 101 - }, - "indices": 97, - "material": 0, - "mode": 4, - "extensions": { - "KHR_draco_mesh_compression": { - "bufferView": 18, - "attributes": { - "POSITION": 0, - "NORMAL": 1, - "TEXCOORD_0": 2, - "TEXCOORD_1": 3 - } - } - } - } - ], - "name": "Left_F_Wheel" - }, - { - "primitives": [ - { - "attributes": { - "POSITION": 103, - "NORMAL": 104, - "TEXCOORD_0": 105, - "TEXCOORD_1": 106 - }, - "indices": 102, - "material": 0, - "mode": 4, - "extensions": { - "KHR_draco_mesh_compression": { - "bufferView": 19, - "attributes": { - "POSITION": 0, - "NORMAL": 1, - "TEXCOORD_0": 2, - "TEXCOORD_1": 3 - } - } - } + "asset" : { + "generator" : "Khronos glTF Blender I/O v1.6.16", + "version" : "2.0" + }, + "extensionsUsed" : [ + "KHR_draco_mesh_compression" + ], + "extensionsRequired" : [ + "KHR_draco_mesh_compression" + ], + "scene" : 0, + "scenes" : [ + { + "name" : "Scene", + "nodes" : [ + 0, + 1, + 2, + 4, + 6, + 8, + 10, + 19, + 20, + 21, + 22, + 23 + ] } - ], - "name": "Left_M_Wheel" - }, - { - "primitives": [ - { - "attributes": { - "POSITION": 108, - "NORMAL": 109, - "TEXCOORD_0": 110 - }, - "indices": 107, - "material": 0, - "mode": 4, - "extensions": { - "KHR_draco_mesh_compression": { - "bufferView": 20, - "attributes": { - "POSITION": 0, - "NORMAL": 1, - "TEXCOORD_0": 2 - } - } - } + ], + "nodes" : [ + { + "mesh" : 0, + "name" : "Right_F_Wheel", + "translation" : [ + -1.5915579795837402, + 0.8878939747810364, + 5.463719844818115 + ] + }, + { + "mesh" : 1, + "name" : "Right_M_Wheel", + "translation" : [ + -1.4571750164031982, + 0.88789302110672, + -1.01882803440094 + ] + }, + { + "mesh" : 2, + "name" : "Left_R_Wheel", + "translation" : [ + 1.661118984222412, + 0.8878939747810364, + -2.8014109134674072 + ] + }, + { + "mesh" : 3, + "name" : "Left_F_Frame2" + }, + { + "children" : [ + 3 + ], + "mesh" : 4, + "name" : "Left_F_Frame1", + "translation" : [ + 1.9754589796066284, + 0.9302769899368286, + 2.5024240016937256 + ] + }, + { + "mesh" : 5, + "name" : "Left_R_Frame2" + }, + { + "children" : [ + 5 + ], + "mesh" : 6, + "name" : "Left_R_Frame1", + "translation" : [ + 1.9753129482269287, + 0.8965370059013367, + -6.307632923126221 + ] + }, + { + "mesh" : 7, + "name" : "Right_F_Frame2" + }, + { + "children" : [ + 7 + ], + "mesh" : 8, + "name" : "Right_F_Frame1", + "translation" : [ + -1.8844610452651978, + 0.8965370059013367, + 2.5040910243988037 + ] + }, + { + "mesh" : 9, + "name" : "Right_R_Frame2" + }, + { + "children" : [ + 9 + ], + "mesh" : 10, + "name" : "Right_R_Frame1", + "translation" : [ + -1.8844599723815918, + 0.8965380191802979, + -6.3076300621032715 + ] + }, + { + "mesh" : 11, + "name" : "PZ", + "rotation" : [ + 0.029078960418701172, + 0, + 0, + 0.9995771050453186 + ], + "scale" : [ + 0.009999999776482582, + 0.009999998845160007, + 0.009999998845160007 + ], + "translation" : [ + 0.0022569820284843445, + 0.03689461946487427, + 2.4689106941223145 + ] + }, + { + "children" : [ + 11 + ], + "mesh" : 12, + "name" : "PT", + "translation" : [ + 0.027432531118392944, + -0.005006611347198486, + 12.587665557861328 + ] + }, + { + "children" : [ + 12 + ], + "mesh" : 13, + "name" : "Bi6", + "rotation" : [ + 0.9994202256202698, + 0, + 0, + 0.03404734656214714 + ], + "translation" : [ + -0.030365630984306335, + -0.8091899156570435, + 16.015045166015625 + ] + }, + { + "children" : [ + 13 + ], + "mesh" : 14, + "name" : "Bi5", + "rotation" : [ + 0.00045274558942765, + 0, + 0, + 1 + ], + "translation" : [ + 0.008606001734733582, + 0.21735870838165283, + 0.2716832160949707 + ] + }, + { + "children" : [ + 14 + ], + "mesh" : 15, + "name" : "Bi4", + "rotation" : [ + 9.931996464729309e-05, + 0, + 0, + 1 + ], + "translation" : [ + 0.0028140172362327576, + -0.0032425522804260254, + 0.047013282775878906 + ] + }, + { + "children" : [ + 15 + ], + "mesh" : 16, + "name" : "Bi3", + "rotation" : [ + 5.5458396673202515e-05, + 0, + 0, + 1 + ], + "translation" : [ + 0.0014710202813148499, + 0.009733855724334717, + 0.18323945999145508 + ] + }, + { + "children" : [ + 16 + ], + "mesh" : 17, + "name" : "Bi2", + "translation" : [ + 0.007357001304626465, + 0.3232002854347229, + 0.3853492736816406 + ] + }, + { + "children" : [ + 17 + ], + "mesh" : 18, + "name" : "Bi1", + "rotation" : [ + -0.05815057083964348, + 0, + 0, + 0.9983078241348267 + ], + "translation" : [ + -0.046849995851516724, + 2.4452767372131348, + -1.0808076858520508 + ] + }, + { + "children" : [ + 18 + ], + "mesh" : 19, + "name" : "Bi", + "translation" : [ + -0.06597500294446945, + 2.6610870361328125, + -5.075323104858398 + ] + }, + { + "mesh" : 20, + "name" : "Right_R_Wheel", + "translation" : [ + -1.457177996635437, + 0.8878939747810364, + -2.8014109134674072 + ] + }, + { + "mesh" : 21, + "name" : "Body" + }, + { + "mesh" : 22, + "name" : "Left_F_Wheel", + "translation" : [ + 1.7614760398864746, + 0.8878939747810364, + 5.463719844818115 + ] + }, + { + "mesh" : 23, + "name" : "Left_M_Wheel", + "translation" : [ + 1.661118984222412, + 0.88789302110672, + -1.01882803440094 + ] } - ], - "name": "Left_F_Frame1" - }, - { - "primitives": [ - { - "attributes": { - "POSITION": 112, - "NORMAL": 113, - "TEXCOORD_0": 114 - }, - "indices": 111, - "material": 0, - "mode": 4, - "extensions": { - "KHR_draco_mesh_compression": { - "bufferView": 21, - "attributes": { - "POSITION": 0, - "NORMAL": 1, - "TEXCOORD_0": 2 - } - } - } + ], + "animations" : [ + { + "channels" : [ + { + "sampler" : 0, + "target" : { + "node" : 4, + "path" : "translation" + } + }, + { + "sampler" : 1, + "target" : { + "node" : 3, + "path" : "translation" + } + }, + { + "sampler" : 2, + "target" : { + "node" : 6, + "path" : "translation" + } + }, + { + "sampler" : 3, + "target" : { + "node" : 5, + "path" : "translation" + } + }, + { + "sampler" : 4, + "target" : { + "node" : 8, + "path" : "translation" + } + }, + { + "sampler" : 5, + "target" : { + "node" : 7, + "path" : "translation" + } + }, + { + "sampler" : 6, + "target" : { + "node" : 10, + "path" : "translation" + } + }, + { + "sampler" : 7, + "target" : { + "node" : 9, + "path" : "translation" + } + }, + { + "sampler" : 8, + "target" : { + "node" : 18, + "path" : "rotation" + } + }, + { + "sampler" : 9, + "target" : { + "node" : 13, + "path" : "rotation" + } + } + ], + "name" : "GPC_Animation", + "samplers" : [ + { + "input" : 124, + "interpolation" : "LINEAR", + "output" : 125 + }, + { + "input" : 126, + "interpolation" : "LINEAR", + "output" : 127 + }, + { + "input" : 124, + "interpolation" : "LINEAR", + "output" : 128 + }, + { + "input" : 126, + "interpolation" : "LINEAR", + "output" : 129 + }, + { + "input" : 124, + "interpolation" : "LINEAR", + "output" : 130 + }, + { + "input" : 126, + "interpolation" : "LINEAR", + "output" : 131 + }, + { + "input" : 124, + "interpolation" : "LINEAR", + "output" : 132 + }, + { + "input" : 126, + "interpolation" : "LINEAR", + "output" : 133 + }, + { + "input" : 134, + "interpolation" : "LINEAR", + "output" : 135 + }, + { + "input" : 136, + "interpolation" : "LINEAR", + "output" : 137 + } + ] } - ], - "name": "Left_F_Frame2" - }, - { - "primitives": [ - { - "attributes": { - "POSITION": 116, - "NORMAL": 117, - "TEXCOORD_0": 118 - }, - "indices": 115, - "material": 0, - "mode": 4, - "extensions": { - "KHR_draco_mesh_compression": { - "bufferView": 22, - "attributes": { - "POSITION": 0, - "NORMAL": 1, - "TEXCOORD_0": 2 - } + ], + "materials" : [ + { + "doubleSided" : true, + "name" : "FireCar", + "pbrMetallicRoughness" : { + "baseColorTexture" : { + "index" : 0 + }, + "metallicFactor" : 0, + "roughnessFactor" : 0.5 } - } - } - ], - "name": "Left_R_Frame1" - }, - { - "primitives": [ - { - "attributes": { - "POSITION": 120, - "NORMAL": 121, - "TEXCOORD_0": 122 - }, - "indices": 119, - "material": 0, - "mode": 4, - "extensions": { - "KHR_draco_mesh_compression": { - "bufferView": 23, - "attributes": { - "POSITION": 0, - "NORMAL": 1, - "TEXCOORD_0": 2 - } + }, + { + "doubleSided" : true, + "name" : "CarColor.001", + "pbrMetallicRoughness" : { + "baseColorTexture" : { + "index" : 1 + }, + "metallicFactor" : 0, + "roughnessFactor" : 0.5 } - } - } - ], - "name": "Left_R_Frame2" - }, - { - "primitives": [ - { - "attributes": { - "POSITION": 124, - "NORMAL": 125, - "TEXCOORD_0": 126 - }, - "indices": 123, - "material": 0, - "mode": 4, - "extensions": { - "KHR_draco_mesh_compression": { - "bufferView": 24, - "attributes": { - "POSITION": 0, - "NORMAL": 1, - "TEXCOORD_0": 2 - } + }, + { + "doubleSided" : true, + "name" : "Glass", + "pbrMetallicRoughness" : { + "baseColorFactor" : [ + 0.07618500292301178, + 0.06480299681425095, + 0.04373500123620033, + 1 + ], + "metallicFactor" : 0, + "roughnessFactor" : 0.5 } - } } - ], - "name": "Right_F_Frame1" - }, - { - "primitives": [ - { - "attributes": { - "POSITION": 128, - "NORMAL": 129, - "TEXCOORD_0": 130 - }, - "indices": 127, - "material": 0, - "mode": 4, - "extensions": { - "KHR_draco_mesh_compression": { - "bufferView": 25, - "attributes": { - "POSITION": 0, - "NORMAL": 1, - "TEXCOORD_0": 2 - } - } - } + ], + "meshes" : [ + { + "name" : "Right_F_Wheel.001", + "primitives" : [ + { + "attributes" : { + "POSITION" : 0, + "NORMAL" : 1, + "TEXCOORD_0" : 2, + "TEXCOORD_1" : 3 + }, + "extensions" : { + "KHR_draco_mesh_compression" : { + "bufferView" : 0, + "attributes" : { + "POSITION" : 0, + "NORMAL" : 1, + "TEXCOORD_0" : 2, + "TEXCOORD_1" : 3 + } + } + }, + "indices" : 4, + "material" : 0, + "mode" : 4 + } + ] + }, + { + "name" : "Right_M_Wheel.001", + "primitives" : [ + { + "attributes" : { + "POSITION" : 5, + "NORMAL" : 6, + "TEXCOORD_0" : 7, + "TEXCOORD_1" : 8 + }, + "extensions" : { + "KHR_draco_mesh_compression" : { + "bufferView" : 1, + "attributes" : { + "POSITION" : 0, + "NORMAL" : 1, + "TEXCOORD_0" : 2, + "TEXCOORD_1" : 3 + } + } + }, + "indices" : 9, + "material" : 0, + "mode" : 4 + } + ] + }, + { + "name" : "Left_R_Wheel.001", + "primitives" : [ + { + "attributes" : { + "POSITION" : 10, + "NORMAL" : 11, + "TEXCOORD_0" : 12, + "TEXCOORD_1" : 13 + }, + "extensions" : { + "KHR_draco_mesh_compression" : { + "bufferView" : 2, + "attributes" : { + "POSITION" : 0, + "NORMAL" : 1, + "TEXCOORD_0" : 2, + "TEXCOORD_1" : 3 + } + } + }, + "indices" : 14, + "material" : 0, + "mode" : 4 + } + ] + }, + { + "name" : "Left_F_Frame2.001", + "primitives" : [ + { + "attributes" : { + "POSITION" : 15, + "NORMAL" : 16, + "TEXCOORD_0" : 17 + }, + "extensions" : { + "KHR_draco_mesh_compression" : { + "bufferView" : 3, + "attributes" : { + "POSITION" : 0, + "NORMAL" : 1, + "TEXCOORD_0" : 2 + } + } + }, + "indices" : 18, + "material" : 0, + "mode" : 4 + } + ] + }, + { + "name" : "Left_F_Frame1.001", + "primitives" : [ + { + "attributes" : { + "POSITION" : 19, + "NORMAL" : 20, + "TEXCOORD_0" : 21 + }, + "extensions" : { + "KHR_draco_mesh_compression" : { + "bufferView" : 4, + "attributes" : { + "POSITION" : 0, + "NORMAL" : 1, + "TEXCOORD_0" : 2 + } + } + }, + "indices" : 22, + "material" : 0, + "mode" : 4 + } + ] + }, + { + "name" : "Left_R_Frame2.001", + "primitives" : [ + { + "attributes" : { + "POSITION" : 23, + "NORMAL" : 24, + "TEXCOORD_0" : 25 + }, + "extensions" : { + "KHR_draco_mesh_compression" : { + "bufferView" : 5, + "attributes" : { + "POSITION" : 0, + "NORMAL" : 1, + "TEXCOORD_0" : 2 + } + } + }, + "indices" : 26, + "material" : 0, + "mode" : 4 + } + ] + }, + { + "name" : "Left_R_Frame1.001", + "primitives" : [ + { + "attributes" : { + "POSITION" : 27, + "NORMAL" : 28, + "TEXCOORD_0" : 29 + }, + "extensions" : { + "KHR_draco_mesh_compression" : { + "bufferView" : 6, + "attributes" : { + "POSITION" : 0, + "NORMAL" : 1, + "TEXCOORD_0" : 2 + } + } + }, + "indices" : 30, + "material" : 0, + "mode" : 4 + } + ] + }, + { + "name" : "Right_F_Frame2.001", + "primitives" : [ + { + "attributes" : { + "POSITION" : 31, + "NORMAL" : 32, + "TEXCOORD_0" : 33 + }, + "extensions" : { + "KHR_draco_mesh_compression" : { + "bufferView" : 7, + "attributes" : { + "POSITION" : 0, + "NORMAL" : 1, + "TEXCOORD_0" : 2 + } + } + }, + "indices" : 34, + "material" : 0, + "mode" : 4 + } + ] + }, + { + "name" : "Right_F_Frame1.001", + "primitives" : [ + { + "attributes" : { + "POSITION" : 35, + "NORMAL" : 36, + "TEXCOORD_0" : 37 + }, + "extensions" : { + "KHR_draco_mesh_compression" : { + "bufferView" : 8, + "attributes" : { + "POSITION" : 0, + "NORMAL" : 1, + "TEXCOORD_0" : 2 + } + } + }, + "indices" : 38, + "material" : 0, + "mode" : 4 + } + ] + }, + { + "name" : "Right_R_Frame2.001", + "primitives" : [ + { + "attributes" : { + "POSITION" : 39, + "NORMAL" : 40, + "TEXCOORD_0" : 41 + }, + "extensions" : { + "KHR_draco_mesh_compression" : { + "bufferView" : 9, + "attributes" : { + "POSITION" : 0, + "NORMAL" : 1, + "TEXCOORD_0" : 2 + } + } + }, + "indices" : 42, + "material" : 0, + "mode" : 4 + } + ] + }, + { + "name" : "Right_R_Frame1.001", + "primitives" : [ + { + "attributes" : { + "POSITION" : 43, + "NORMAL" : 44, + "TEXCOORD_0" : 45 + }, + "extensions" : { + "KHR_draco_mesh_compression" : { + "bufferView" : 10, + "attributes" : { + "POSITION" : 0, + "NORMAL" : 1, + "TEXCOORD_0" : 2 + } + } + }, + "indices" : 46, + "material" : 0, + "mode" : 4 + } + ] + }, + { + "name" : "\u7acb\u65b9\u4f53.010", + "primitives" : [ + { + "attributes" : { + "POSITION" : 47, + "NORMAL" : 48, + "TEXCOORD_0" : 49 + }, + "extensions" : { + "KHR_draco_mesh_compression" : { + "bufferView" : 11, + "attributes" : { + "POSITION" : 0, + "NORMAL" : 1, + "TEXCOORD_0" : 2 + } + } + }, + "indices" : 50, + "mode" : 4 + } + ] + }, + { + "name" : "pentou.001", + "primitives" : [ + { + "attributes" : { + "POSITION" : 51, + "NORMAL" : 52, + "TEXCOORD_0" : 53, + "TEXCOORD_1" : 54 + }, + "extensions" : { + "KHR_draco_mesh_compression" : { + "bufferView" : 12, + "attributes" : { + "POSITION" : 0, + "NORMAL" : 1, + "TEXCOORD_0" : 2, + "TEXCOORD_1" : 3 + } + } + }, + "indices" : 55, + "material" : 1, + "mode" : 4 + } + ] + }, + { + "name" : "Bi6.001", + "primitives" : [ + { + "attributes" : { + "POSITION" : 56, + "NORMAL" : 57, + "TEXCOORD_0" : 58, + "TEXCOORD_1" : 59 + }, + "extensions" : { + "KHR_draco_mesh_compression" : { + "bufferView" : 13, + "attributes" : { + "POSITION" : 0, + "NORMAL" : 1, + "TEXCOORD_0" : 2, + "TEXCOORD_1" : 3 + } + } + }, + "indices" : 60, + "material" : 1, + "mode" : 4 + } + ] + }, + { + "name" : "Bi5.001", + "primitives" : [ + { + "attributes" : { + "POSITION" : 61, + "NORMAL" : 62, + "TEXCOORD_0" : 63, + "TEXCOORD_1" : 64 + }, + "extensions" : { + "KHR_draco_mesh_compression" : { + "bufferView" : 14, + "attributes" : { + "POSITION" : 0, + "NORMAL" : 1, + "TEXCOORD_0" : 2, + "TEXCOORD_1" : 3 + } + } + }, + "indices" : 65, + "material" : 1, + "mode" : 4 + } + ] + }, + { + "name" : "Bi4.001", + "primitives" : [ + { + "attributes" : { + "POSITION" : 66, + "NORMAL" : 67, + "TEXCOORD_0" : 68, + "TEXCOORD_1" : 69 + }, + "extensions" : { + "KHR_draco_mesh_compression" : { + "bufferView" : 15, + "attributes" : { + "POSITION" : 0, + "NORMAL" : 1, + "TEXCOORD_0" : 2, + "TEXCOORD_1" : 3 + } + } + }, + "indices" : 70, + "material" : 1, + "mode" : 4 + } + ] + }, + { + "name" : "Bi3.001", + "primitives" : [ + { + "attributes" : { + "POSITION" : 71, + "NORMAL" : 72, + "TEXCOORD_0" : 73, + "TEXCOORD_1" : 74 + }, + "extensions" : { + "KHR_draco_mesh_compression" : { + "bufferView" : 16, + "attributes" : { + "POSITION" : 0, + "NORMAL" : 1, + "TEXCOORD_0" : 2, + "TEXCOORD_1" : 3 + } + } + }, + "indices" : 75, + "material" : 1, + "mode" : 4 + } + ] + }, + { + "name" : "Bi2.001", + "primitives" : [ + { + "attributes" : { + "POSITION" : 76, + "NORMAL" : 77, + "TEXCOORD_0" : 78, + "TEXCOORD_1" : 79 + }, + "extensions" : { + "KHR_draco_mesh_compression" : { + "bufferView" : 17, + "attributes" : { + "POSITION" : 0, + "NORMAL" : 1, + "TEXCOORD_0" : 2, + "TEXCOORD_1" : 3 + } + } + }, + "indices" : 75, + "material" : 1, + "mode" : 4 + } + ] + }, + { + "name" : "Bi1.001", + "primitives" : [ + { + "attributes" : { + "POSITION" : 80, + "NORMAL" : 81, + "TEXCOORD_0" : 82, + "TEXCOORD_1" : 83 + }, + "extensions" : { + "KHR_draco_mesh_compression" : { + "bufferView" : 18, + "attributes" : { + "POSITION" : 0, + "NORMAL" : 1, + "TEXCOORD_0" : 2, + "TEXCOORD_1" : 3 + } + } + }, + "indices" : 84, + "material" : 1, + "mode" : 4 + } + ] + }, + { + "name" : "Bi.001", + "primitives" : [ + { + "attributes" : { + "POSITION" : 85, + "NORMAL" : 86, + "TEXCOORD_0" : 87, + "TEXCOORD_1" : 88 + }, + "extensions" : { + "KHR_draco_mesh_compression" : { + "bufferView" : 19, + "attributes" : { + "POSITION" : 0, + "NORMAL" : 1, + "TEXCOORD_0" : 2, + "TEXCOORD_1" : 3 + } + } + }, + "indices" : 89, + "material" : 1, + "mode" : 4 + } + ] + }, + { + "name" : "Right_R_Wheel.001", + "primitives" : [ + { + "attributes" : { + "POSITION" : 90, + "NORMAL" : 91, + "TEXCOORD_0" : 92, + "TEXCOORD_1" : 93 + }, + "extensions" : { + "KHR_draco_mesh_compression" : { + "bufferView" : 20, + "attributes" : { + "POSITION" : 0, + "NORMAL" : 1, + "TEXCOORD_0" : 2, + "TEXCOORD_1" : 3 + } + } + }, + "indices" : 94, + "material" : 0, + "mode" : 4 + } + ] + }, + { + "name" : "Body.001", + "primitives" : [ + { + "attributes" : { + "POSITION" : 95, + "NORMAL" : 96, + "TEXCOORD_0" : 97, + "TEXCOORD_1" : 98, + "TEXCOORD_2" : 99, + "TEXCOORD_3" : 100 + }, + "extensions" : { + "KHR_draco_mesh_compression" : { + "bufferView" : 21, + "attributes" : { + "POSITION" : 0, + "NORMAL" : 1, + "TEXCOORD_0" : 2, + "TEXCOORD_1" : 3, + "TEXCOORD_2" : 4, + "TEXCOORD_3" : 5 + } + } + }, + "indices" : 101, + "material" : 1, + "mode" : 4 + }, + { + "attributes" : { + "POSITION" : 102, + "NORMAL" : 103, + "TEXCOORD_0" : 104, + "TEXCOORD_1" : 105, + "TEXCOORD_2" : 106, + "TEXCOORD_3" : 107 + }, + "extensions" : { + "KHR_draco_mesh_compression" : { + "bufferView" : 22, + "attributes" : { + "POSITION" : 0, + "NORMAL" : 1, + "TEXCOORD_0" : 2, + "TEXCOORD_1" : 3, + "TEXCOORD_2" : 4, + "TEXCOORD_3" : 5 + } + } + }, + "indices" : 108, + "material" : 2, + "mode" : 4 + }, + { + "attributes" : { + "POSITION" : 109, + "NORMAL" : 110, + "TEXCOORD_0" : 111, + "TEXCOORD_1" : 112, + "TEXCOORD_2" : 113, + "TEXCOORD_3" : 114 + }, + "extensions" : { + "KHR_draco_mesh_compression" : { + "bufferView" : 23, + "attributes" : { + "POSITION" : 0, + "NORMAL" : 1, + "TEXCOORD_0" : 2, + "TEXCOORD_1" : 3, + "TEXCOORD_2" : 4, + "TEXCOORD_3" : 5 + } + } + }, + "indices" : 115, + "material" : 0, + "mode" : 4 + } + ] + }, + { + "name" : "Left_F_Wheel.001", + "primitives" : [ + { + "attributes" : { + "POSITION" : 116, + "NORMAL" : 117, + "TEXCOORD_0" : 118, + "TEXCOORD_1" : 119 + }, + "extensions" : { + "KHR_draco_mesh_compression" : { + "bufferView" : 24, + "attributes" : { + "POSITION" : 0, + "NORMAL" : 1, + "TEXCOORD_0" : 2, + "TEXCOORD_1" : 3 + } + } + }, + "indices" : 4, + "material" : 0, + "mode" : 4 + } + ] + }, + { + "name" : "Left_M_Wheel.001", + "primitives" : [ + { + "attributes" : { + "POSITION" : 120, + "NORMAL" : 121, + "TEXCOORD_0" : 122, + "TEXCOORD_1" : 123 + }, + "extensions" : { + "KHR_draco_mesh_compression" : { + "bufferView" : 25, + "attributes" : { + "POSITION" : 0, + "NORMAL" : 1, + "TEXCOORD_0" : 2, + "TEXCOORD_1" : 3 + } + } + }, + "indices" : 14, + "material" : 0, + "mode" : 4 + } + ] } - ], - "name": "Right_F_Frame2" - }, - { - "primitives": [ - { - "attributes": { - "POSITION": 132, - "NORMAL": 133, - "TEXCOORD_0": 134 - }, - "indices": 131, - "material": 0, - "mode": 4, - "extensions": { - "KHR_draco_mesh_compression": { - "bufferView": 26, - "attributes": { - "POSITION": 0, - "NORMAL": 1, - "TEXCOORD_0": 2 - } - } - } + ], + "textures" : [ + { + "sampler" : 0, + "source" : 0 + }, + { + "sampler" : 0, + "source" : 1 } - ], - "name": "Right_R_Frame1" - }, - { - "primitives": [ - { - "attributes": { - "POSITION": 136, - "NORMAL": 137, - "TEXCOORD_0": 138 - }, - "indices": 135, - "material": 0, - "mode": 4, - "extensions": { - "KHR_draco_mesh_compression": { - "bufferView": 27, - "attributes": { - "POSITION": 0, - "NORMAL": 1, - "TEXCOORD_0": 2 - } - } - } + ], + "images" : [ + { + "mimeType" : "image/jpeg", + "name" : "FireCar", + "uri" : "FireCar.jpg" + }, + { + "mimeType" : "image/png", + "name" : "CarColor", + "uri" : "CarColor.png" } - ], - "name": "Right_R_Frame2" - } - ], - "accessors": [ - { - "bufferView": 0, - "componentType": 5126, - "count": 53, - "max": [ - 5 - ], - "min": [ - 0 - ], - "type": "SCALAR", - "name": "accessorAnimationInput", - "byteOffset": 0 - }, - { - "bufferView": 1, - "componentType": 5126, - "count": 53, - "type": "VEC4", - "name": "accessorAnimationRotations", - "byteOffset": 0 - }, - { - "bufferView": 0, - "byteOffset": 212, - "componentType": 5126, - "count": 26, - "max": [ - 5 - ], - "min": [ - 0 - ], - "type": "SCALAR", - "name": "accessorAnimationInput" - }, - { - "bufferView": 2, - "componentType": 5126, - "count": 26, - "type": "VEC3", - "name": "accessorAnimationPositions", - "byteOffset": 0 - }, - { - "bufferView": 0, - "byteOffset": 316, - "componentType": 5126, - "count": 52, - "max": [ - 5 - ], - "min": [ - 0 - ], - "type": "SCALAR", - "name": "accessorAnimationInput" - }, - { - "bufferView": 1, - "byteOffset": 848, - "componentType": 5126, - "count": 52, - "type": "VEC4", - "name": "accessorAnimationRotations" - }, - { - "bufferView": 0, - "byteOffset": 524, - "componentType": 5126, - "count": 27, - "max": [ - 5 - ], - "min": [ - 0 - ], - "type": "SCALAR", - "name": "accessorAnimationInput" - }, - { - "bufferView": 2, - "byteOffset": 312, - "componentType": 5126, - "count": 27, - "type": "VEC3", - "name": "accessorAnimationPositions" - }, - { - "bufferView": 0, - "byteOffset": 632, - "componentType": 5126, - "count": 28, - "max": [ - 5 - ], - "min": [ - 0 - ], - "type": "SCALAR", - "name": "accessorAnimationInput" - }, - { - "bufferView": 2, - "byteOffset": 636, - "componentType": 5126, - "count": 28, - "type": "VEC3", - "name": "accessorAnimationPositions" - }, - { - "bufferView": 0, - "byteOffset": 744, - "componentType": 5126, - "count": 27, - "max": [ - 5 - ], - "min": [ - 0 - ], - "type": "SCALAR", - "name": "accessorAnimationInput" - }, - { - "bufferView": 2, - "byteOffset": 972, - "componentType": 5126, - "count": 27, - "type": "VEC3", - "name": "accessorAnimationPositions" - }, - { - "bufferView": 0, - "byteOffset": 852, - "componentType": 5126, - "count": 28, - "max": [ - 5 - ], - "min": [ - 0 - ], - "type": "SCALAR", - "name": "accessorAnimationInput" - }, - { - "bufferView": 2, - "byteOffset": 1296, - "componentType": 5126, - "count": 28, - "type": "VEC3", - "name": "accessorAnimationPositions" - }, - { - "bufferView": 0, - "byteOffset": 964, - "componentType": 5126, - "count": 27, - "max": [ - 5 - ], - "min": [ - 0 - ], - "type": "SCALAR", - "name": "accessorAnimationInput" - }, - { - "bufferView": 2, - "byteOffset": 1632, - "componentType": 5126, - "count": 27, - "type": "VEC3", - "name": "accessorAnimationPositions" - }, - { - "bufferView": 0, - "byteOffset": 1072, - "componentType": 5126, - "count": 28, - "max": [ - 5 - ], - "min": [ - 0 - ], - "type": "SCALAR", - "name": "accessorAnimationInput" - }, - { - "bufferView": 2, - "byteOffset": 1956, - "componentType": 5126, - "count": 28, - "type": "VEC3", - "name": "accessorAnimationPositions" - }, - { - "bufferView": 0, - "byteOffset": 1184, - "componentType": 5126, - "count": 27, - "max": [ - 5 - ], - "min": [ - 0 - ], - "type": "SCALAR", - "name": "accessorAnimationInput" - }, - { - "bufferView": 2, - "byteOffset": 2292, - "componentType": 5126, - "count": 27, - "type": "VEC3", - "name": "accessorAnimationPositions" - }, - { - "bufferView": 0, - "byteOffset": 1292, - "componentType": 5126, - "count": 28, - "max": [ - 5 - ], - "min": [ - 0 - ], - "type": "SCALAR", - "name": "accessorAnimationInput" - }, - { - "bufferView": 2, - "byteOffset": 2616, - "componentType": 5126, - "count": 28, - "type": "VEC3", - "name": "accessorAnimationPositions" - }, - { - "componentType": 5123, - "count": 588, - "type": "SCALAR", - "name": "accessorIndices" - }, - { - "componentType": 5126, - "count": 148, - "max": [ - 0.20866093847280714, - 0.8685350158701092, - 0.8685390638701092 - ], - "min": [ - -0.29873101587010925, - -0.8685350158701093, - -0.8685309678701093 - ], - "type": "VEC3", - "name": "accessorPositions" - }, - { - "componentType": 5126, - "count": 148, - "type": "VEC3", - "name": "accessorNormals" - }, - { - "componentType": 5126, - "count": 148, - "type": "VEC2", - "name": "accessorUVs" - }, - { - "componentType": 5126, - "count": 148, - "type": "VEC2", - "name": "accessorUV2s" - }, - { - "componentType": 5123, - "count": 1068, - "type": "SCALAR", - "name": "accessorIndices" - }, - { - "componentType": 5126, - "count": 289, - "max": [ - 0.47363431627888664, - 0.8685350158701092, - 0.8685410158701092 - ], - "min": [ - -0.5636249568701093, - -0.8685350158701093, - -0.8685290158701092 - ], - "type": "VEC3", - "name": "accessorPositions" - }, - { - "componentType": 5126, - "count": 289, - "type": "VEC3", - "name": "accessorNormals" - }, - { - "componentType": 5126, - "count": 289, - "type": "VEC2", - "name": "accessorUVs" - }, - { - "componentType": 5126, - "count": 289, - "type": "VEC2", - "name": "accessorUV2s" - }, - { - "componentType": 5123, - "count": 756, - "type": "SCALAR", - "name": "accessorIndices" - }, - { - "componentType": 5126, - "count": 395, - "max": [ - 1.7262469743636695, - 2.8390755727888664, - 1.704839097601172 - ], - "min": [ - -1.676773097601172, - -0.00020809760117194653, - -1.704840097601172 - ], - "type": "VEC3", - "name": "accessorPositions" - }, - { - "componentType": 5126, - "count": 395, - "type": "VEC3", - "name": "accessorNormals" - }, - { - "componentType": 5126, - "count": 395, - "type": "VEC2", - "name": "accessorUVs" - }, - { - "componentType": 5126, - "count": 395, - "type": "VEC2", - "name": "accessorUV2s" - }, - { - "componentType": 5123, - "count": 594, - "type": "SCALAR", - "name": "accessorIndices" - }, - { - "componentType": 5126, - "count": 372, - "max": [ - 1.6046812225896774, - 1.2176369661790896, - 16.332372137012474 - ], - "min": [ - -0.3614757660124757, - -0.15628003701247575, - -0.004079312402475737 - ], - "type": "VEC3", - "name": "accessorPositions" - }, - { - "componentType": 5126, - "count": 372, - "type": "VEC3", - "name": "accessorNormals" - }, - { - "componentType": 5126, - "count": 372, - "type": "VEC2", - "name": "accessorUVs" - }, - { - "componentType": 5126, - "count": 372, - "type": "VEC2", - "name": "accessorUV2s" - }, - { - "componentType": 5123, - "count": 594, - "type": "SCALAR", - "name": "accessorIndices" - }, - { - "componentType": 5126, - "count": 364, - "max": [ - 0.8447339450159312, - 0.8328039672333516, - 16.120142741319235 - ], - "min": [ - -0.8449117803192333, - -0.16093009331923336, - -0.14592377431923334 - ], - "type": "VEC3", - "name": "accessorPositions" - }, - { - "componentType": 5126, - "count": 364, - "type": "VEC3", - "name": "accessorNormals" - }, - { - "componentType": 5126, - "count": 364, - "type": "VEC2", - "name": "accessorUVs" - }, - { - "componentType": 5126, - "count": 364, - "type": "VEC2", - "name": "accessorUV2s" - }, - { - "componentType": 5123, - "count": 594, - "type": "SCALAR", - "name": "accessorIndices" - }, - { - "componentType": 5126, - "count": 364, - "max": [ - 0.8040825453213086, - 0.7874861782083256, - 16.116309220040346 - ], - "min": [ - -0.8042859200403467, - -0.1537072200403467, - -0.1510471410403467 - ], - "type": "VEC3", - "name": "accessorPositions" - }, - { - "componentType": 5126, - "count": 364, - "type": "VEC3", - "name": "accessorNormals" - }, - { - "componentType": 5126, - "count": 364, - "type": "VEC2", - "name": "accessorUVs" - }, - { - "componentType": 5126, - "count": 364, - "type": "VEC2", - "name": "accessorUV2s" - }, - { - "componentType": 5123, - "count": 594, - "type": "SCALAR", - "name": "accessorIndices" - }, - { - "componentType": 5126, - "count": 366, - "max": [ - 0.7267958121822622, - 0.741860583605872, - 16.113661792862054 - ], - "min": [ - -0.7266529378620521, - -0.13278992786205213, - -0.15324925186205213 - ], - "type": "VEC3", - "name": "accessorPositions" - }, - { - "componentType": 5126, - "count": 366, - "type": "VEC3", - "name": "accessorNormals" - }, - { - "componentType": 5126, - "count": 366, - "type": "VEC2", - "name": "accessorUVs" - }, - { - "componentType": 5126, - "count": 366, - "type": "VEC2", - "name": "accessorUV2s" - }, - { - "componentType": 5123, - "count": 702, - "type": "SCALAR", - "name": "accessorIndices" - }, - { - "componentType": 5126, - "count": 426, - "max": [ - 0.6736303138734664, - 0.44491848391320254, - 16.429227351153635 - ], - "min": [ - -0.6732952181536348, - -1.080515251153635, - -0.18927780115363488 - ], - "type": "VEC3", - "name": "accessorPositions" - }, - { - "componentType": 5126, - "count": 426, - "type": "VEC3", - "name": "accessorNormals" - }, - { - "componentType": 5126, - "count": 426, - "type": "VEC2", - "name": "accessorUVs" - }, - { - "componentType": 5126, - "count": 426, - "type": "VEC2", - "name": "accessorUV2s" - }, - { - "componentType": 5123, - "count": 594, - "type": "SCALAR", - "name": "accessorIndices" - }, - { - "componentType": 5126, - "count": 360, - "max": [ - 0.6727112528080937, - 0.4729104719474455, - 12.81034190773912 - ], - "min": [ - -0.6730778727391198, - -0.2063321527391198, - -0.1912823977391198 - ], - "type": "VEC3", - "name": "accessorPositions" - }, - { - "componentType": 5126, - "count": 360, - "type": "VEC3", - "name": "accessorNormals" - }, - { - "componentType": 5126, - "count": 360, - "type": "VEC2", - "name": "accessorUVs" - }, - { - "componentType": 5126, - "count": 360, - "type": "VEC2", - "name": "accessorUV2s" - }, - { - "componentType": 5123, - "count": 798, - "type": "SCALAR", - "name": "accessorIndices" - }, - { - "componentType": 5126, - "count": 466, - "max": [ - 0.421436146389306, - 0.25176631752426293, - 0.09022285623145931 - ], - "min": [ - -0.42652778423145943, - -0.27173281623145945, - -2.6758310962314593 - ], - "type": "VEC3", - "name": "accessorPositions" - }, - { - "componentType": 5126, - "count": 466, - "type": "VEC3", - "name": "accessorNormals" - }, - { - "componentType": 5126, - "count": 466, - "type": "VEC2", - "name": "accessorUVs" - }, - { - "componentType": 5126, - "count": 466, - "type": "VEC2", - "name": "accessorUV2s" - }, - { - "componentType": 5123, - "count": 1068, - "type": "SCALAR", - "name": "accessorIndices" - }, - { - "componentType": 5126, - "count": 289, - "max": [ - 0.4736372572788866, - 0.8685350158701092, - 0.8685400158701092 - ], - "min": [ - -0.5636220158701093, - -0.8685350158701093, - -0.8685300158701093 - ], - "type": "VEC3", - "name": "accessorPositions" - }, - { - "componentType": 5126, - "count": 289, - "type": "VEC3", - "name": "accessorNormals" - }, - { - "componentType": 5126, - "count": 289, - "type": "VEC2", - "name": "accessorUVs" - }, - { - "componentType": 5126, - "count": 289, - "type": "VEC2", - "name": "accessorUV2s" - }, - { - "componentType": 5123, - "count": 1068, - "type": "SCALAR", - "name": "accessorIndices" - }, - { - "componentType": 5126, - "count": 289, - "max": [ - 0.4736332572788866, - 0.8685350158701092, - 0.8685400158701092 - ], - "min": [ - -0.5636260158701093, - -0.8685350158701093, - -0.8685300158701093 - ], - "type": "VEC3", - "name": "accessorPositions" - }, - { - "componentType": 5126, - "count": 289, - "type": "VEC3", - "name": "accessorNormals" - }, - { - "componentType": 5126, - "count": 289, - "type": "VEC2", - "name": "accessorUVs" - }, - { - "componentType": 5126, - "count": 289, - "type": "VEC2", - "name": "accessorUV2s" - }, - { - "componentType": 5123, - "count": 16458, - "type": "SCALAR", - "name": "accessorIndices" - }, - { - "componentType": 5126, - "count": 8651, - "max": [ - 2.338539908363548, - 5.27116069277788, - 7.554947423711164 - ], - "min": [ - -2.238693423711164, - 0.08486357628883599, - -6.887180083711163 - ], - "type": "VEC3", - "name": "accessorPositions" - }, - { - "componentType": 5126, - "count": 8651, - "type": "VEC3", - "name": "accessorNormals" - }, - { - "componentType": 5126, - "count": 8651, - "type": "VEC2", - "name": "accessorUVs" - }, - { - "componentType": 5126, - "count": 8651, - "type": "VEC2", - "name": "accessorUV2s" - }, - { - "componentType": 5123, - "count": 450, - "type": "SCALAR", - "name": "accessorIndices" - }, - { - "componentType": 5126, - "count": 122, - "max": [ - 1.984111151698102, - 4.419442147358847, - 7.209677016673381 - ], - "min": [ - -1.8842851266733809, - 2.797801723326619, - 3.158048723326619 - ], - "type": "VEC3", - "name": "accessorPositions" - }, - { - "componentType": 5126, - "count": 122, - "type": "VEC3", - "name": "accessorNormals" - }, - { - "componentType": 5126, - "count": 122, - "type": "VEC2", - "name": "accessorUVs" - }, - { - "componentType": 5126, - "count": 122, - "type": "VEC2", - "name": "accessorUV2s" - }, - { - "componentType": 5123, - "count": 168, - "type": "SCALAR", - "name": "accessorIndices" - }, - { - "componentType": 5126, - "count": 102, - "max": [ - 2.2830103532930472, - 4.111820795885979, - 7.535082873893669 - ], - "min": [ - -2.1832208738936703, - 0.39098212610632976, - -6.79972587389367 - ], - "type": "VEC3", - "name": "accessorPositions" - }, - { - "componentType": 5126, - "count": 102, - "type": "VEC3", - "name": "accessorNormals" - }, - { - "componentType": 5126, - "count": 102, - "type": "VEC2", - "name": "accessorUVs" - }, - { - "componentType": 5126, - "count": 102, - "type": "VEC2", - "name": "accessorUV2s" - }, - { - "componentType": 5123, - "count": 588, - "type": "SCALAR", - "name": "accessorIndices" - }, - { - "componentType": 5126, - "count": 148, - "max": [ - 0.20866093847280714, - 0.8685350158701092, - 0.8685390638701092 - ], - "min": [ - -0.29873101587010925, - -0.8685350158701093, - -0.8685309678701093 - ], - "type": "VEC3", - "name": "accessorPositions" - }, - { - "componentType": 5126, - "count": 148, - "type": "VEC3", - "name": "accessorNormals" - }, - { - "componentType": 5126, - "count": 148, - "type": "VEC2", - "name": "accessorUVs" - }, - { - "componentType": 5126, - "count": 148, - "type": "VEC2", - "name": "accessorUV2s" - }, - { - "componentType": 5123, - "count": 1068, - "type": "SCALAR", - "name": "accessorIndices" - }, - { - "componentType": 5126, - "count": 289, - "max": [ - 0.4736332572788866, - 0.8685350158701092, - 0.8685410158701092 - ], - "min": [ - -0.5636260158701093, - -0.8685350158701093, - -0.8685290158701092 - ], - "type": "VEC3", - "name": "accessorPositions" - }, - { - "componentType": 5126, - "count": 289, - "type": "VEC3", - "name": "accessorNormals" - }, - { - "componentType": 5126, - "count": 289, - "type": "VEC2", - "name": "accessorUVs" - }, - { - "componentType": 5126, - "count": 289, - "type": "VEC2", - "name": "accessorUV2s" - }, - { - "componentType": 5123, - "count": 108, - "type": "SCALAR", - "name": "accessorIndices" - }, - { - "componentType": 5126, - "count": 64, - "max": [ - 0.16597330017090883, - 0.45840184898980646, - 0.18527298743880852 - ], - "min": [ - -0.9547635001709089, - -0.4417444001709089, - -0.18196753017090886 - ], - "type": "VEC3", - "name": "accessorPositions" - }, - { - "componentType": 5126, - "count": 64, - "type": "VEC3", - "name": "accessorNormals" - }, - { - "componentType": 5126, - "count": 64, - "type": "VEC2", - "name": "accessorUVs" - }, - { - "componentType": 5123, - "count": 360, - "type": "SCALAR", - "name": "accessorIndices" - }, - { - "componentType": 5126, - "count": 132, - "max": [ - 0.2133668901910517, - 0.008396753219801045, - 0.21336490619105172 - ], - "min": [ - -0.21335775321980102, - -0.6101897532198011, - -0.213359737219801 - ], - "type": "VEC3", - "name": "accessorPositions" - }, - { - "componentType": 5126, - "count": 132, - "type": "VEC3", - "name": "accessorNormals" - }, - { - "componentType": 5126, - "count": 132, - "type": "VEC2", - "name": "accessorUVs" - }, - { - "componentType": 5123, - "count": 108, - "type": "SCALAR", - "name": "accessorIndices" - }, - { - "componentType": 5126, - "count": 64, - "max": [ - 0.1659723861700544, - 0.4584028597448575, - 0.1852711648516145 - ], - "min": [ - -0.9547644001700543, - -0.4417433781700543, - -0.18196934817005433 - ], - "type": "VEC3", - "name": "accessorPositions" - }, - { - "componentType": 5126, - "count": 64, - "type": "VEC3", - "name": "accessorNormals" - }, - { - "componentType": 5126, - "count": 64, - "type": "VEC2", - "name": "accessorUVs" - }, - { - "componentType": 5123, - "count": 360, - "type": "SCALAR", - "name": "accessorIndices" - }, - { - "componentType": 5126, - "count": 142, - "max": [ - 0.2133662003296099, - 0.008396753158762094, - 0.2133632003296099 - ], - "min": [ - -0.21335775315876215, - -0.6101887531587621, - -0.21336075315876216 - ], - "type": "VEC3", - "name": "accessorPositions" - }, - { - "componentType": 5126, - "count": 142, - "type": "VEC3", - "name": "accessorNormals" - }, - { - "componentType": 5126, - "count": 142, - "type": "VEC2", - "name": "accessorUVs" - }, - { - "componentType": 5123, - "count": 108, - "type": "SCALAR", - "name": "accessorIndices" - }, - { - "componentType": 5126, - "count": 62, - "max": [ - 0.9547643402327413, - 0.45840457964219006, - 0.18527241035506314 - ], - "min": [ - -0.16597347323274125, - -0.44174248323274123, - -0.18196843923274128 - ], - "type": "VEC3", - "name": "accessorPositions" - }, - { - "componentType": 5126, - "count": 62, - "type": "VEC3", - "name": "accessorNormals" - }, - { - "componentType": 5126, - "count": 62, - "type": "VEC2", - "name": "accessorUVs" - }, - { - "componentType": 5123, - "count": 360, - "type": "SCALAR", - "name": "accessorIndices" - }, - { - "componentType": 5126, - "count": 140, - "max": [ - 0.2133652003296099, - 0.008396753158762094, - 0.21336421632960992 - ], - "min": [ - -0.21335875315876215, - -0.6101887531587621, - -0.21335973715876214 - ], - "type": "VEC3", - "name": "accessorPositions" - }, - { - "componentType": 5126, - "count": 140, - "type": "VEC3", - "name": "accessorNormals" - }, - { - "componentType": 5126, - "count": 140, - "type": "VEC2", - "name": "accessorUVs" - }, - { - "componentType": 5123, - "count": 108, - "type": "SCALAR", - "name": "accessorIndices" - }, - { - "componentType": 5126, - "count": 60, - "max": [ - 0.9547643402327413, - 0.45840368464219006, - 0.18527370635506316 - ], - "min": [ - -0.16597347323274125, - -0.44174337823274124, - -0.18196714323274127 - ], - "type": "VEC3", - "name": "accessorPositions" - }, - { - "componentType": 5126, - "count": 60, - "type": "VEC3", - "name": "accessorNormals" - }, - { - "componentType": 5126, - "count": 60, - "type": "VEC2", - "name": "accessorUVs" - }, - { - "componentType": 5123, - "count": 360, - "type": "SCALAR", - "name": "accessorIndices" - }, - { - "componentType": 5126, - "count": 130, - "max": [ - 0.2133658901910517, - 0.008396753219801045, - 0.21336490619105172 - ], - "min": [ - -0.21335875321980102, - -0.6101897532198011, - -0.213359737219801 - ], - "type": "VEC3", - "name": "accessorPositions" - }, - { - "componentType": 5126, - "count": 130, - "type": "VEC3", - "name": "accessorNormals" - }, - { - "componentType": 5126, - "count": 130, - "type": "VEC2", - "name": "accessorUVs" - } - ], - "bufferViews": [ - { - "buffer": 0, - "byteOffset": 0, - "byteLength": 1404, - "name": "bufferViewAnimationFloatScalar" - }, - { - "buffer": 0, - "byteOffset": 1408, - "byteLength": 1680, - "name": "bufferViewAnimationFloatVec4" - }, - { - "buffer": 0, - "byteOffset": 3088, - "byteLength": 2952, - "name": "bufferViewAnimationFloatVec3" - }, - { - "buffer": 0, - "byteOffset": 6040, - "byteLength": 1291 - }, - { - "buffer": 0, - "byteOffset": 7336, - "byteLength": 2159 - }, - { - "buffer": 0, - "byteOffset": 9496, - "byteLength": 2041 - }, - { - "buffer": 0, - "byteOffset": 11544, - "byteLength": 2343 - }, - { - "buffer": 0, - "byteOffset": 13888, - "byteLength": 2342 - }, - { - "buffer": 0, - "byteOffset": 16232, - "byteLength": 2321 - }, - { - "buffer": 0, - "byteOffset": 18560, - "byteLength": 2335 - }, - { - "buffer": 0, - "byteOffset": 20896, - "byteLength": 2447 - }, - { - "buffer": 0, - "byteOffset": 23344, - "byteLength": 2274 - }, - { - "buffer": 0, - "byteOffset": 25624, - "byteLength": 2303 - }, - { - "buffer": 0, - "byteOffset": 27928, - "byteLength": 2161 - }, - { - "buffer": 0, - "byteOffset": 30096, - "byteLength": 2155 - }, - { - "buffer": 0, - "byteOffset": 32256, - "byteLength": 40804 - }, - { - "buffer": 0, - "byteOffset": 73064, - "byteLength": 1118 - }, - { - "buffer": 0, - "byteOffset": 74184, - "byteLength": 962 - }, - { - "buffer": 0, - "byteOffset": 75152, - "byteLength": 1280 - }, - { - "buffer": 0, - "byteOffset": 76432, - "byteLength": 2156 - }, - { - "buffer": 0, - "byteOffset": 78592, - "byteLength": 371 - }, - { - "buffer": 0, - "byteOffset": 78968, - "byteLength": 694 - }, - { - "buffer": 0, - "byteOffset": 79664, - "byteLength": 371 - }, - { - "buffer": 0, - "byteOffset": 80040, - "byteLength": 685 - }, - { - "buffer": 0, - "byteOffset": 80728, - "byteLength": 362 - }, - { - "buffer": 0, - "byteOffset": 81096, - "byteLength": 713 - }, - { - "buffer": 0, - "byteOffset": 81816, - "byteLength": 362 - }, - { - "buffer": 0, - "byteOffset": 82184, - "byteLength": 723 - } - ], - "buffers": [ - { - "name": "GPC", - "byteLength": 82912, - "uri": "GPC.bin" - } - ], - "materials": [ - { - "pbrMetallicRoughness": { - "baseColorTexture": { - "index": 0, - "texCoord": 0 - }, - "metallicFactor": 0, - "roughnessFactor": 0.2581639, - "baseColorFactor": [ - 1, - 1, - 1, - 1 - ] - }, - "name": "FireCar", - "emissiveFactor": [ - 0, - 0, - 0 - ], - "alphaMode": "OPAQUE", - "doubleSided": false - }, - { - "pbrMetallicRoughness": { - "baseColorTexture": { - "index": 1, - "texCoord": 0 - }, - "metallicFactor": 0, - "roughnessFactor": 0.2581639, - "baseColorFactor": [ - 1, - 1, - 1, - 1 - ] - }, - "name": "CarColor", - "emissiveFactor": [ - 0, - 0, - 0 - ], - "alphaMode": "OPAQUE", - "doubleSided": false - }, - { - "pbrMetallicRoughness": { - "baseColorFactor": [ - 0.076185, - 0.064803, - 0.043735, - 1 - ], - "metallicFactor": 0, - "roughnessFactor": 0.2581639 - }, - "name": "Glass", - "emissiveFactor": [ - 0, - 0, - 0 - ], - "alphaMode": "OPAQUE", - "doubleSided": false - } - ], - "textures": [ - { - "sampler": 0, - "source": 0, - "name": "FireCar.jpg" - }, - { - "sampler": 0, - "source": 1, - "name": "CarColor.png" - } - ], - "images": [ - { - "name": "FireCar", - "uri": "FireCar.jpg" - }, - { - "name": "CarColor", - "uri": "CarColor.png" - } - ], - "samplers": [ - { - "magFilter": 9729, - "minFilter": 9987, - "wrapS": 10497, - "wrapT": 10497 - } - ], - "animations": [ - { - "channels": [ - { - "sampler": 0, - "target": { - "node": 3, - "path": "rotation" - } - }, - { - "sampler": 1, - "target": { - "node": 8, - "path": "translation" - } - }, - { - "sampler": 2, - "target": { - "node": 8, - "path": "rotation" - } - }, - { - "sampler": 3, - "target": { - "node": 15, - "path": "translation" - } - }, - { - "sampler": 4, - "target": { - "node": 16, - "path": "translation" - } - }, - { - "sampler": 5, - "target": { - "node": 17, - "path": "translation" - } - }, - { - "sampler": 6, - "target": { - "node": 18, - "path": "translation" - } - }, - { - "sampler": 7, - "target": { - "node": 19, - "path": "translation" - } - }, - { - "sampler": 8, - "target": { - "node": 20, - "path": "translation" - } - }, - { - "sampler": 9, - "target": { - "node": 21, - "path": "translation" - } - }, - { - "sampler": 10, - "target": { - "node": 22, - "path": "translation" - } + ], + "accessors" : [ + { + "componentType" : 5126, + "count" : 148, + "max" : [ + 0.2085549235343933, + 0.8684290051460266, + 0.8684329986572266 + ], + "min" : [ + -0.29862499237060547, + -0.8684290051460266, + -0.8684250116348267 + ], + "type" : "VEC3" + }, + { + "componentType" : 5126, + "count" : 148, + "type" : "VEC3" + }, + { + "componentType" : 5126, + "count" : 148, + "type" : "VEC2" + }, + { + "componentType" : 5126, + "count" : 148, + "type" : "VEC2" + }, + { + "componentType" : 5123, + "count" : 588, + "type" : "SCALAR" + }, + { + "componentType" : 5126, + "count" : 289, + "max" : [ + 0.47352826595306396, + 0.8684290051460266, + 0.8684350252151489 + ], + "min" : [ + -0.5635190010070801, + -0.8684290051460266, + -0.8684229850769043 + ], + "type" : "VEC3" + }, + { + "componentType" : 5126, + "count" : 289, + "type" : "VEC3" + }, + { + "componentType" : 5126, + "count" : 289, + "type" : "VEC2" + }, + { + "componentType" : 5126, + "count" : 289, + "type" : "VEC2" + }, + { + "componentType" : 5123, + "count" : 1068, + "type" : "SCALAR" + }, + { + "componentType" : 5126, + "count" : 289, + "max" : [ + 0.4735272526741028, + 0.8684290051460266, + 0.8684340119361877 + ], + "min" : [ + -0.5635200142860413, + -0.8684290051460266, + -0.8684239983558655 + ], + "type" : "VEC3" + }, + { + "componentType" : 5126, + "count" : 289, + "type" : "VEC3" + }, + { + "componentType" : 5126, + "count" : 289, + "type" : "VEC2" + }, + { + "componentType" : 5126, + "count" : 289, + "type" : "VEC2" + }, + { + "componentType" : 5123, + "count" : 1068, + "type" : "SCALAR" + }, + { + "componentType" : 5126, + "count" : 194, + "max" : [ + 0.21332912147045135, + 0.008359014987945557, + 0.21332712471485138 + ], + "min" : [ + -0.21332000195980072, + -0.610152006149292, + -0.2133219987154007 + ], + "type" : "VEC3" + }, + { + "componentType" : 5126, + "count" : 194, + "type" : "VEC3" + }, + { + "componentType" : 5126, + "count" : 194, + "type" : "VEC2" + }, + { + "componentType" : 5123, + "count" : 360, + "type" : "SCALAR" + }, + { + "componentType" : 5126, + "count" : 68, + "max" : [ + 0.16590499877929688, + 0.45833346247673035, + 0.18520474433898926 + ], + "min" : [ + -0.9546949863433838, + -0.44167599081993103, + -0.18189898133277893 + ], + "type" : "VEC3" + }, + { + "componentType" : 5126, + "count" : 68, + "type" : "VEC3" + }, + { + "componentType" : 5126, + "count" : 68, + "type" : "VEC2" + }, + { + "componentType" : 5123, + "count" : 108, + "type" : "SCALAR" + }, + { + "componentType" : 5126, + "count" : 198, + "max" : [ + 0.2134764939546585, + 0.04210001230239868, + 0.21166032552719116 + ], + "min" : [ + -0.21317194402217865, + -0.5764099955558777, + -0.214988112449646 + ], + "type" : "VEC3" + }, + { + "componentType" : 5126, + "count" : 198, + "type" : "VEC3" + }, + { + "componentType" : 5126, + "count" : 198, + "type" : "VEC2" + }, + { + "componentType" : 5123, + "count" : 360, + "type" : "SCALAR" + }, + { + "componentType" : 5126, + "count" : 80, + "max" : [ + 0.166051983833313, + 0.49207544326782227, + 0.18353772163391113 + ], + "min" : [ + -0.9545480012893677, + -0.4079340100288391, + -0.18356600403785706 + ], + "type" : "VEC3" + }, + { + "componentType" : 5126, + "count" : 80, + "type" : "VEC3" + }, + { + "componentType" : 5126, + "count" : 80, + "type" : "VEC2" + }, + { + "componentType" : 5123, + "count" : 108, + "type" : "SCALAR" + }, + { + "componentType" : 5126, + "count" : 204, + "max" : [ + 0.22109046578407288, + 0.0420989990234375, + 0.21166037023067474 + ], + "min" : [ + -0.20555797219276428, + -0.5764110088348389, + -0.21498806774616241 + ], + "type" : "VEC3" + }, + { + "componentType" : 5126, + "count" : 204, + "type" : "VEC3" + }, + { + "componentType" : 5126, + "count" : 204, + "type" : "VEC2" + }, + { + "componentType" : 5123, + "count" : 360, + "type" : "SCALAR" + }, + { + "componentType" : 5126, + "count" : 70, + "max" : [ + 0.9624590873718262, + 0.4920763373374939, + 0.18353807926177979 + ], + "min" : [ + -0.15814200043678284, + -0.4079340100288391, + -0.18356600403785706 + ], + "type" : "VEC3" + }, + { + "componentType" : 5126, + "count" : 70, + "type" : "VEC3" + }, + { + "componentType" : 5126, + "count" : 70, + "type" : "VEC2" + }, + { + "componentType" : 5123, + "count" : 108, + "type" : "SCALAR" + }, + { + "componentType" : 5126, + "count" : 200, + "max" : [ + 0.2210911512374878, + 0.04210001230239868, + 0.21166105568408966 + ], + "min" : [ + -0.20555797219276428, + -0.5764110088348389, + -0.21498806774616241 + ], + "type" : "VEC3" + }, + { + "componentType" : 5126, + "count" : 200, + "type" : "VEC3" + }, + { + "componentType" : 5126, + "count" : 200, + "type" : "VEC2" + }, + { + "componentType" : 5123, + "count" : 360, + "type" : "SCALAR" + }, + { + "componentType" : 5126, + "count" : 68, + "max" : [ + 0.9624590873718262, + 0.4920763373374939, + 0.18353907763957977 + ], + "min" : [ + -0.15814200043678284, + -0.4079340100288391, + -0.18356500566005707 + ], + "type" : "VEC3" + }, + { + "componentType" : 5126, + "count" : 68, + "type" : "VEC3" + }, + { + "componentType" : 5126, + "count" : 68, + "type" : "VEC2" + }, + { + "componentType" : 5123, + "count" : 108, + "type" : "SCALAR" + }, + { + "componentType" : 5126, + "count" : 24, + "max" : [ + 1, + 1, + 1 + ], + "min" : [ + -1, + -1, + -1 + ], + "type" : "VEC3" + }, + { + "componentType" : 5126, + "count" : 24, + "type" : "VEC3" + }, + { + "componentType" : 5126, + "count" : 24, + "type" : "VEC2" + }, + { + "componentType" : 5123, + "count" : 36, + "type" : "SCALAR" + }, + { + "componentType" : 5126, + "count" : 480, + "max" : [ + 0.4061166048049927, + 0.2826988697052002, + 2.662546157836914 + ], + "min" : [ + -0.4414486289024353, + -0.25272083282470703, + -0.1002197265625 + ], + "type" : "VEC3" + }, + { + "componentType" : 5126, + "count" : 480, + "type" : "VEC3" + }, + { + "componentType" : 5126, + "count" : 480, + "type" : "VEC2" + }, + { + "componentType" : 5126, + "count" : 480, + "type" : "VEC2" + }, + { + "componentType" : 5123, + "count" : 798, + "type" : "SCALAR" + }, + { + "componentType" : 5126, + "count" : 420, + "max" : [ + 0.7021820545196533, + 0.46608299016952515, + 12.625137329101562 + ], + "min" : [ + -0.6420201063156128, + -0.21157264709472656, + -0.37490081787109375 + ], + "type" : "VEC3" + }, + { + "componentType" : 5126, + "count" : 420, + "type" : "VEC3" + }, + { + "componentType" : 5126, + "count" : 420, + "type" : "VEC2" + }, + { + "componentType" : 5126, + "count" : 420, + "type" : "VEC2" + }, + { + "componentType" : 5123, + "count" : 594, + "type" : "SCALAR" + }, + { + "componentType" : 5126, + "count" : 660, + "max" : [ + 0.6726072430610657, + 0.4560418128967285, + 16.399616241455078 + ], + "min" : [ + -0.672290027141571, + -1.0673637390136719, + -0.21686363220214844 + ], + "type" : "VEC3" + }, + { + "componentType" : 5126, + "count" : 660, + "type" : "VEC3" + }, + { + "componentType" : 5126, + "count" : 660, + "type" : "VEC2" + }, + { + "componentType" : 5126, + "count" : 660, + "type" : "VEC2" + }, + { + "componentType" : 5123, + "count" : 702, + "type" : "SCALAR" + }, + { + "componentType" : 5126, + "count" : 580, + "max" : [ + 0.7257987856864929, + 0.7115507125854492, + 16.11640739440918 + ], + "min" : [ + -0.7256637215614319, + -0.16111385822296143, + -0.14851044118404388 + ], + "type" : "VEC3" + }, + { + "componentType" : 5126, + "count" : 580, + "type" : "VEC3" + }, + { + "componentType" : 5126, + "count" : 580, + "type" : "VEC2" + }, + { + "componentType" : 5126, + "count" : 580, + "type" : "VEC2" + }, + { + "componentType" : 5123, + "count" : 594, + "type" : "SCALAR" + }, + { + "componentType" : 5126, + "count" : 582, + "max" : [ + 0.803085207939148, + 0.7618758082389832, + 16.093647003173828 + ], + "min" : [ + -0.8032974004745483, + -0.1773318201303482, + -0.17172133922576904 + ], + "type" : "VEC3" + }, + { + "componentType" : 5126, + "count" : 582, + "type" : "VEC3" + }, + { + "componentType" : 5126, + "count" : 582, + "type" : "VEC2" + }, + { + "componentType" : 5126, + "count" : 582, + "type" : "VEC2" + }, + { + "componentType" : 5123, + "count" : 594, + "type" : "SCALAR" + }, + { + "componentType" : 5126, + "count" : 582, + "max" : [ + 0.8437361121177673, + 0.8146811723709106, + 16.081506729125977 + ], + "min" : [ + -0.8439239859580994, + -0.17706727981567383, + -0.18257273733615875 + ], + "type" : "VEC3" + }, + { + "componentType" : 5126, + "count" : 582, + "type" : "VEC3" + }, + { + "componentType" : 5126, + "count" : 582, + "type" : "VEC2" + }, + { + "componentType" : 5126, + "count" : 582, + "type" : "VEC2" + }, + { + "componentType" : 5126, + "count" : 592, + "max" : [ + 0.9822649955749512, + 1.1995006799697876, + 16.1861515045166 + ], + "min" : [ + -0.9818979501724243, + -0.17242226004600525, + -0.14830578863620758 + ], + "type" : "VEC3" + }, + { + "componentType" : 5126, + "count" : 592, + "type" : "VEC3" + }, + { + "componentType" : 5126, + "count" : 592, + "type" : "VEC2" + }, + { + "componentType" : 5126, + "count" : 592, + "type" : "VEC2" + }, + { + "componentType" : 5123, + "count" : 594, + "type" : "SCALAR" + }, + { + "componentType" : 5126, + "count" : 565, + "max" : [ + 1.7260390520095825, + 2.838867664337158, + 1.7046310901641846 + ], + "min" : [ + -1.6765650510787964, + 0, + -1.704632043838501 + ], + "type" : "VEC3" + }, + { + "componentType" : 5126, + "count" : 565, + "type" : "VEC3" + }, + { + "componentType" : 5126, + "count" : 565, + "type" : "VEC2" + }, + { + "componentType" : 5126, + "count" : 565, + "type" : "VEC2" + }, + { + "componentType" : 5123, + "count" : 756, + "type" : "SCALAR" + }, + { + "componentType" : 5126, + "count" : 289, + "max" : [ + 0.47353124618530273, + 0.8684290051460266, + 0.8684340119361877 + ], + "min" : [ + -0.5635160207748413, + -0.8684290051460266, + -0.8684239983558655 + ], + "type" : "VEC3" + }, + { + "componentType" : 5126, + "count" : 289, + "type" : "VEC3" + }, + { + "componentType" : 5126, + "count" : 289, + "type" : "VEC2" + }, + { + "componentType" : 5126, + "count" : 289, + "type" : "VEC2" + }, + { + "componentType" : 5123, + "count" : 1068, + "type" : "SCALAR" + }, + { + "componentType" : 5126, + "count" : 8319, + "max" : [ + 2.337658405303955, + 5.2702789306640625, + 7.554065704345703 + ], + "min" : [ + -2.237812042236328, + 0.08574499934911728, + -6.886299133300781 + ], + "type" : "VEC3" + }, + { + "componentType" : 5126, + "count" : 8319, + "type" : "VEC3" + }, + { + "componentType" : 5126, + "count" : 8319, + "type" : "VEC2" + }, + { + "componentType" : 5126, + "count" : 8319, + "type" : "VEC2" + }, + { + "componentType" : 5126, + "count" : 8319, + "type" : "VEC2" + }, + { + "componentType" : 5126, + "count" : 8319, + "type" : "VEC2" + }, + { + "componentType" : 5123, + "count" : 16452, + "type" : "SCALAR" + }, + { + "componentType" : 5126, + "count" : 122, + "max" : [ + 1.9838643074035645, + 4.419195175170898, + 7.20943021774292 + ], + "min" : [ + -1.884037971496582, + 2.798048973083496, + 3.1582961082458496 + ], + "type" : "VEC3" + }, + { + "componentType" : 5126, + "count" : 122, + "type" : "VEC3" + }, + { + "componentType" : 5126, + "count" : 122, + "type" : "VEC2" + }, + { + "componentType" : 5126, + "count" : 122, + "type" : "VEC2" + }, + { + "componentType" : 5126, + "count" : 122, + "type" : "VEC2" + }, + { + "componentType" : 5126, + "count" : 122, + "type" : "VEC2" + }, + { + "componentType" : 5123, + "count" : 450, + "type" : "SCALAR" + }, + { + "componentType" : 5126, + "count" : 112, + "max" : [ + 2.2817108631134033, + 4.110568523406982, + 7.52161979675293 + ], + "min" : [ + -2.1823461055755615, + 0.4471920132637024, + -6.798851013183594 + ], + "type" : "VEC3" + }, + { + "componentType" : 5126, + "count" : 112, + "type" : "VEC3" + }, + { + "componentType" : 5126, + "count" : 112, + "type" : "VEC2" + }, + { + "componentType" : 5126, + "count" : 112, + "type" : "VEC2" + }, + { + "componentType" : 5126, + "count" : 112, + "type" : "VEC2" + }, + { + "componentType" : 5126, + "count" : 112, + "type" : "VEC2" + }, + { + "componentType" : 5123, + "count" : 156, + "type" : "SCALAR" + }, + { + "componentType" : 5126, + "count" : 148, + "max" : [ + 0.2085549235343933, + 0.8684290051460266, + 0.8684329986572266 + ], + "min" : [ + -0.29862499237060547, + -0.8684290051460266, + -0.8684250116348267 + ], + "type" : "VEC3" + }, + { + "componentType" : 5126, + "count" : 148, + "type" : "VEC3" + }, + { + "componentType" : 5126, + "count" : 148, + "type" : "VEC2" + }, + { + "componentType" : 5126, + "count" : 148, + "type" : "VEC2" + }, + { + "componentType" : 5126, + "count" : 289, + "max" : [ + 0.4735272526741028, + 0.8684290051460266, + 0.8684350252151489 + ], + "min" : [ + -0.5635200142860413, + -0.8684290051460266, + -0.8684229850769043 + ], + "type" : "VEC3" + }, + { + "componentType" : 5126, + "count" : 289, + "type" : "VEC3" + }, + { + "componentType" : 5126, + "count" : 289, + "type" : "VEC2" + }, + { + "componentType" : 5126, + "count" : 289, + "type" : "VEC2" + }, + { + "bufferView" : 26, + "componentType" : 5126, + "count" : 20, + "max" : [ + 0.8250000029802322 + ], + "min" : [ + 0.033333336313565574 + ], + "type" : "SCALAR" + }, + { + "bufferView" : 27, + "componentType" : 5126, + "count" : 20, + "type" : "VEC3" + }, + { + "bufferView" : 28, + "componentType" : 5126, + "count" : 21, + "max" : [ + 1.6666666666666667 + ], + "min" : [ + 0.8333333333333334 + ], + "type" : "SCALAR" + }, + { + "bufferView" : 29, + "componentType" : 5126, + "count" : 21, + "type" : "VEC3" + }, + { + "bufferView" : 30, + "componentType" : 5126, + "count" : 20, + "type" : "VEC3" + }, + { + "bufferView" : 31, + "componentType" : 5126, + "count" : 21, + "type" : "VEC3" + }, + { + "bufferView" : 32, + "componentType" : 5126, + "count" : 20, + "type" : "VEC3" + }, + { + "bufferView" : 33, + "componentType" : 5126, + "count" : 21, + "type" : "VEC3" + }, + { + "bufferView" : 34, + "componentType" : 5126, + "count" : 20, + "type" : "VEC3" + }, + { + "bufferView" : 35, + "componentType" : 5126, + "count" : 21, + "type" : "VEC3" + }, + { + "bufferView" : 36, + "componentType" : 5126, + "count" : 41, + "max" : [ + 3.3333333333333335 + ], + "min" : [ + 1.6666666666666667 + ], + "type" : "SCALAR" + }, + { + "bufferView" : 37, + "componentType" : 5126, + "count" : 41, + "type" : "VEC4" + }, + { + "bufferView" : 38, + "componentType" : 5126, + "count" : 41, + "max" : [ + 5 + ], + "min" : [ + 3.3333333333333335 + ], + "type" : "SCALAR" + }, + { + "bufferView" : 39, + "componentType" : 5126, + "count" : 41, + "type" : "VEC4" } - ], - "samplers": [ + ], + "bufferViews" : [ + { + "buffer" : 0, + "byteLength" : 1798, + "byteOffset" : 0 + }, + { + "buffer" : 0, + "byteLength" : 3235, + "byteOffset" : 1800 + }, + { + "buffer" : 0, + "byteLength" : 3253, + "byteOffset" : 5036 + }, + { + "buffer" : 0, + "byteLength" : 1004, + "byteOffset" : 8292 + }, + { + "buffer" : 0, + "byteLength" : 638, + "byteOffset" : 9296 + }, + { + "buffer" : 0, + "byteLength" : 1021, + "byteOffset" : 9936 + }, + { + "buffer" : 0, + "byteLength" : 747, + "byteOffset" : 10960 + }, + { + "buffer" : 0, + "byteLength" : 1074, + "byteOffset" : 11708 + }, + { + "buffer" : 0, + "byteLength" : 671, + "byteOffset" : 12784 + }, + { + "buffer" : 0, + "byteLength" : 1062, + "byteOffset" : 13456 + }, + { + "buffer" : 0, + "byteLength" : 653, + "byteOffset" : 14520 + }, + { + "buffer" : 0, + "byteLength" : 264, + "byteOffset" : 15176 + }, + { + "buffer" : 0, + "byteLength" : 4906, + "byteOffset" : 15440 + }, + { + "buffer" : 0, + "byteLength" : 3367, + "byteOffset" : 20348 + }, + { + "buffer" : 0, + "byteLength" : 5220, + "byteOffset" : 23716 + }, { - "input": 0, - "output": 1, - "interpolation": "LINEAR" + "buffer" : 0, + "byteLength" : 4357, + "byteOffset" : 28936 }, { - "input": 2, - "output": 3, - "interpolation": "LINEAR" + "buffer" : 0, + "byteLength" : 4341, + "byteOffset" : 33296 }, { - "input": 4, - "output": 5, - "interpolation": "LINEAR" + "buffer" : 0, + "byteLength" : 4396, + "byteOffset" : 37640 }, { - "input": 6, - "output": 7, - "interpolation": "LINEAR" + "buffer" : 0, + "byteLength" : 4388, + "byteOffset" : 42036 }, { - "input": 8, - "output": 9, - "interpolation": "LINEAR" + "buffer" : 0, + "byteLength" : 5266, + "byteOffset" : 46424 }, { - "input": 10, - "output": 11, - "interpolation": "LINEAR" + "buffer" : 0, + "byteLength" : 3233, + "byteOffset" : 51692 }, { - "input": 12, - "output": 13, - "interpolation": "LINEAR" + "buffer" : 0, + "byteLength" : 73020, + "byteOffset" : 54928 }, { - "input": 14, - "output": 15, - "interpolation": "LINEAR" + "buffer" : 0, + "byteLength" : 1573, + "byteOffset" : 127948 }, { - "input": 16, - "output": 17, - "interpolation": "LINEAR" + "buffer" : 0, + "byteLength" : 1747, + "byteOffset" : 129524 }, { - "input": 18, - "output": 19, - "interpolation": "LINEAR" + "buffer" : 0, + "byteLength" : 1780, + "byteOffset" : 131272 }, { - "input": 20, - "output": 21, - "interpolation": "LINEAR" + "buffer" : 0, + "byteLength" : 3255, + "byteOffset" : 133052 + }, + { + "buffer" : 0, + "byteLength" : 80, + "byteOffset" : 136308 + }, + { + "buffer" : 0, + "byteLength" : 240, + "byteOffset" : 136388 + }, + { + "buffer" : 0, + "byteLength" : 84, + "byteOffset" : 136628 + }, + { + "buffer" : 0, + "byteLength" : 252, + "byteOffset" : 136712 + }, + { + "buffer" : 0, + "byteLength" : 240, + "byteOffset" : 136964 + }, + { + "buffer" : 0, + "byteLength" : 252, + "byteOffset" : 137204 + }, + { + "buffer" : 0, + "byteLength" : 240, + "byteOffset" : 137456 + }, + { + "buffer" : 0, + "byteLength" : 252, + "byteOffset" : 137696 + }, + { + "buffer" : 0, + "byteLength" : 240, + "byteOffset" : 137948 + }, + { + "buffer" : 0, + "byteLength" : 252, + "byteOffset" : 138188 + }, + { + "buffer" : 0, + "byteLength" : 164, + "byteOffset" : 138440 + }, + { + "buffer" : 0, + "byteLength" : 656, + "byteOffset" : 138604 + }, + { + "buffer" : 0, + "byteLength" : 164, + "byteOffset" : 139260 + }, + { + "buffer" : 0, + "byteLength" : 656, + "byteOffset" : 139424 + } + ], + "samplers" : [ + { + "magFilter" : 9729, + "minFilter" : 9987 + } + ], + "buffers" : [ + { + "byteLength" : 140080, + "uri" : "GPC.bin" } - ], - "name": "All Animations" - } - ], - "extensionsRequired": [ - "KHR_draco_mesh_compression" - ], - "extensionsUsed": [ - "KHR_draco_mesh_compression" - ] + ] }