diff --git a/Assets/racoon.bin b/Assets/racoon.bin deleted file mode 100644 index 0a5272ad..00000000 Binary files a/Assets/racoon.bin and /dev/null differ diff --git a/Assets/racoon.fbx b/Assets/racoon.fbx index 88320648..45ed752b 100644 Binary files a/Assets/racoon.fbx and b/Assets/racoon.fbx differ diff --git a/Assets/racoon.gltf b/Assets/racoon.gltf deleted file mode 100644 index 2bdf5e38..00000000 --- a/Assets/racoon.gltf +++ /dev/null @@ -1,5027 +0,0 @@ -{ - "asset" : { - "generator" : "Khronos glTF Blender I/O v3.3.27", - "version" : "2.0" - }, - "extensionsUsed" : [ - "KHR_materials_specular", - "KHR_materials_ior" - ], - "scene" : 0, - "scenes" : [ - { - "name" : "Scene", - "nodes" : [ - 55 - ] - } - ], - "nodes" : [ - { - "name" : "L_Toe_end", - "rotation" : [ - -1.304514398725587e-07, - -4.8278069232242024e-14, - -3.113858042524953e-07, - 1 - ], - "translation" : [ - 2.9270432744255004e-09, - 0.02392714098095894, - 1.3476908478082805e-10 - ] - }, - { - "children" : [ - 0 - ], - "name" : "L_Toe", - "rotation" : [ - 0.32702386379241943, - 1.1310142156162328e-07, - 1.641405731334089e-07, - 0.945016086101532 - ], - "scale" : [ - 1, - 0.9999999403953552, - 0.9999999403953552 - ], - "translation" : [ - -8.650776095464607e-09, - 0.03380582109093666, - -2.448857117087755e-09 - ] - }, - { - "children" : [ - 1 - ], - "name" : "L_Feet", - "rotation" : [ - 0.516292929649353, - -0.020581310614943504, - -0.05452270060777664, - 0.854426920413971 - ], - "translation" : [ - 1.2865877252465907e-09, - 0.06353945285081863, - 2.6193447411060333e-10 - ] - }, - { - "children" : [ - 2 - ], - "name" : "L_Shin", - "rotation" : [ - -0.054226718842983246, - 0.00034972387948073447, - -0.0027083493769168854, - 0.9985249042510986 - ], - "scale" : [ - 0.9999998807907104, - 0.9999999403953552, - 0.9999998807907104 - ], - "translation" : [ - -8.217813984856548e-09, - 0.012935775332152843, - -1.1059455573558807e-09 - ] - }, - { - "children" : [ - 3 - ], - "name" : "L_Knee", - "rotation" : [ - -0.117364302277565, - -0.00023353073629550636, - -0.005353146698325872, - 0.9930744767189026 - ], - "scale" : [ - 1, - 1.0000001192092896, - 1 - ], - "translation" : [ - -7.161837345392996e-09, - 0.08009886741638184, - -3.725290298461914e-09 - ] - }, - { - "children" : [ - 4 - ], - "name" : "L_Thigh", - "rotation" : [ - 0.005340703763067722, - -0.08032803982496262, - -0.9945576786994934, - 0.06613556295633316 - ], - "scale" : [ - 1.0000009536743164, - 1.0000001192092896, - 1.0000014305114746 - ], - "translation" : [ - 0.06634333729743958, - 0.021777987480163574, - -0.000205356627702713 - ] - }, - { - "name" : "Head_end", - "rotation" : [ - 0, - 3.552713678800501e-15, - 0, - 1 - ], - "translation" : [ - -8.470329472543003e-22, - 0.11583378911018372, - 0 - ] - }, - { - "children" : [ - 6 - ], - "name" : "Head", - "rotation" : [ - 0, - 5.960462701182223e-08, - 0, - 1 - ], - "scale" : [ - 1, - 0.9999999403953552, - 1 - ], - "translation" : [ - 0, - 0.022377878427505493, - 0 - ] - }, - { - "children" : [ - 7 - ], - "name" : "Neck", - "translation" : [ - 0, - 0.10304805636405945, - 0 - ] - }, - { - "name" : "L_Hand_end", - "rotation" : [ - 1.3239958462918366e-08, - -2.4324227076988336e-09, - 1.4901161193847656e-08, - 1 - ], - "translation" : [ - 2.2351740014414645e-08, - 0.016836093738675117, - -5.329070518200751e-15 - ] - }, - { - "children" : [ - 9 - ], - "name" : "L_Hand", - "rotation" : [ - -0.10859407484531403, - -0.0013414795976132154, - -0.012280543334782124, - 0.9940094351768494 - ], - "scale" : [ - 1, - 1, - 0.9999999403953552 - ], - "translation" : [ - -5.215407838932151e-08, - 0.030574528500437737, - 4.579678858362968e-09 - ] - }, - { - "children" : [ - 10 - ], - "name" : "L_Forearm", - "rotation" : [ - 0.03182216361165047, - -0.010124370455741882, - -0.05386859551072121, - 0.9979895353317261 - ], - "scale" : [ - 1, - 0.9999999403953552, - 0.9999999403953552 - ], - "translation" : [ - -1.4001724224499412e-08, - 0.011892830953001976, - -4.656612873077393e-10 - ] - }, - { - "children" : [ - 11 - ], - "name" : "L_Elbow", - "rotation" : [ - 0.13403145968914032, - 0.0004466302052605897, - 0.0229647234082222, - 0.9907108545303345 - ], - "translation" : [ - 9.490547014934236e-09, - 0.07338026165962219, - 1.862645149230957e-09 - ] - }, - { - "children" : [ - 12 - ], - "name" : "L_Shoulder", - "rotation" : [ - -0.05528340861201286, - 0.01580565795302391, - -0.27442947030067444, - 0.9598866701126099 - ], - "translation" : [ - 1.1175854908174188e-08, - 0.034574370831251144, - -3.3306690738754696e-15 - ] - }, - { - "children" : [ - 13 - ], - "name" : "L_Clavicle", - "rotation" : [ - -4.527326780134899e-08, - -2.4482876170850432e-08, - -0.6586140990257263, - 0.7524808645248413 - ], - "scale" : [ - 0.9999998807907104, - 0.9999998807907104, - 1 - ], - "translation" : [ - 0.03500552102923393, - 0.07119831442832947, - -6.646381223163189e-10 - ] - }, - { - "name" : "R_Hand_end", - "rotation" : [ - 1.3239958462918366e-08, - 2.4324227076988336e-09, - -1.4901161193847656e-08, - 1 - ], - "translation" : [ - -2.2351740014414645e-08, - 0.016836093738675117, - -5.329070518200751e-15 - ] - }, - { - "children" : [ - 15 - ], - "name" : "R_Hand", - "rotation" : [ - -0.10859407484531403, - 0.0013414795976132154, - 0.012280543334782124, - 0.9940094351768494 - ], - "scale" : [ - 1, - 1, - 0.9999999403953552 - ], - "translation" : [ - 5.215407838932151e-08, - 0.030574528500437737, - 4.579678858362968e-09 - ] - }, - { - "children" : [ - 16 - ], - "name" : "R_Forearm", - "rotation" : [ - 0.03182216361165047, - 0.010124370455741882, - 0.05386859551072121, - 0.9979895353317261 - ], - "scale" : [ - 1, - 0.9999999403953552, - 0.9999999403953552 - ], - "translation" : [ - 1.4001724224499412e-08, - 0.011892830953001976, - -4.656612873077393e-10 - ] - }, - { - "children" : [ - 17 - ], - "name" : "R_Elbow", - "rotation" : [ - 0.13403145968914032, - -0.0004466302052605897, - -0.0229647234082222, - 0.9907108545303345 - ], - "translation" : [ - -9.490547014934236e-09, - 0.07338026165962219, - 1.862645149230957e-09 - ] - }, - { - "children" : [ - 18 - ], - "name" : "R_Shoulder", - "rotation" : [ - -0.05528340861201286, - -0.01580565795302391, - 0.27442947030067444, - 0.9598866701126099 - ], - "translation" : [ - -1.1175854908174188e-08, - 0.034574370831251144, - -3.3306690738754696e-15 - ] - }, - { - "children" : [ - 19 - ], - "name" : "R_Clavicle", - "rotation" : [ - -4.527326780134899e-08, - 2.4482876170850432e-08, - 0.6586140990257263, - 0.7524808645248413 - ], - "scale" : [ - 0.9999998807907104, - 0.9999998807907104, - 1 - ], - "translation" : [ - -0.03500552102923393, - 0.07119831442832947, - -6.646381223163189e-10 - ] - }, - { - "name" : "L_IK_Arm_Pole_end", - "rotation" : [ - -8.14913803104389e-10, - -2.8273916541365907e-08, - 3.597233089180918e-08, - 1 - ], - "translation" : [ - 1.3742706528319104e-08, - 0.04507105425000191, - 1.6264998237147665e-08 - ] - }, - { - "children" : [ - 21 - ], - "name" : "L_IK_Arm_Pole", - "rotation" : [ - -0.3575689494609833, - -0.6109033823013306, - 0.6082502007484436, - 0.3591284155845642 - ], - "scale" : [ - 0.9999999403953552, - 0.9999998807907104, - 0.9999999403953552 - ], - "translation" : [ - 0.0021197572350502014, - -0.04126967862248421, - -0.053202081471681595 - ] - }, - { - "children" : [ - 22 - ], - "name" : "L_IK_Arm_Target", - "rotation" : [ - -0.0011026781285181642, - 0.0018760154489427805, - -0.8620717525482178, - 0.5067814588546753 - ], - "scale" : [ - 0.9999999403953552, - 1, - 1 - ], - "translation" : [ - 0.17300567030906677, - 0.02745041251182556, - 3.304734264020226e-10 - ] - }, - { - "name" : "R_IK_Arm_Pole_end", - "rotation" : [ - -8.14913803104389e-10, - 2.8273916541365907e-08, - -3.597233089180918e-08, - 1 - ], - "translation" : [ - -1.3742706528319104e-08, - 0.04507105425000191, - 1.6264998237147665e-08 - ] - }, - { - "children" : [ - 24 - ], - "name" : "R_IK_Arm_Pole", - "rotation" : [ - -0.3575689494609833, - 0.6109033823013306, - -0.6082502007484436, - 0.3591284155845642 - ], - "scale" : [ - 0.9999999403953552, - 0.9999998807907104, - 0.9999999403953552 - ], - "translation" : [ - -0.0021197572350502014, - -0.04126967862248421, - -0.053202081471681595 - ] - }, - { - "children" : [ - 25 - ], - "name" : "R_IK_Arm_Target", - "rotation" : [ - -0.0011026781285181642, - -0.0018760154489427805, - 0.8620717525482178, - 0.5067814588546753 - ], - "scale" : [ - 0.9999999403953552, - 1, - 1 - ], - "translation" : [ - -0.17300567030906677, - 0.02745041251182556, - 3.304734264020226e-10 - ] - }, - { - "children" : [ - 8, - 14, - 20, - 23, - 26 - ], - "name" : "Upper_Spine", - "translation" : [ - 0, - 0.06622835993766785, - 0 - ] - }, - { - "children" : [ - 27 - ], - "name" : "Lower_Spine", - "translation" : [ - 0, - 0.06622838973999023, - 0 - ] - }, - { - "name" : "Tail_end", - "translation" : [ - 0, - 0.07595176249742508, - -1.3838050705317073e-09 - ] - }, - { - "children" : [ - 29 - ], - "name" : "Tail", - "rotation" : [ - -0.7071068286895752, - 0, - 0, - 0.7071068286895752 - ], - "translation" : [ - -5.8597615213960615e-18, - 0.03983837366104126, - -0.09847982972860336 - ] - }, - { - "name" : "L_Hip_end", - "translation" : [ - 0, - 0.032987553626298904, - -1.5967565047958487e-09 - ] - }, - { - "children" : [ - 31 - ], - "name" : "L_Hip", - "translation" : [ - 0.06953180581331253, - 0.04957667365670204, - 0.061330340802669525 - ] - }, - { - "name" : "L_Butt_end", - "translation" : [ - 0, - 0.03298754245042801, - 1.3750955929481279e-09 - ] - }, - { - "children" : [ - 33 - ], - "name" : "L_Butt", - "translation" : [ - 0.06953180581331253, - -0.0007792188553139567, - -0.04653617739677429 - ] - }, - { - "name" : "R_Toe_end", - "rotation" : [ - -1.304514398725587e-07, - 4.8278069232242024e-14, - 3.113858042524953e-07, - 1 - ], - "translation" : [ - -2.9270432744255004e-09, - 0.02392714098095894, - 1.3476908478082805e-10 - ] - }, - { - "children" : [ - 35 - ], - "name" : "R_Toe", - "rotation" : [ - 0.32702386379241943, - -1.1310142156162328e-07, - -1.641405731334089e-07, - 0.945016086101532 - ], - "scale" : [ - 1, - 0.9999999403953552, - 0.9999999403953552 - ], - "translation" : [ - 8.650776095464607e-09, - 0.03380582109093666, - -2.448857117087755e-09 - ] - }, - { - "children" : [ - 36 - ], - "name" : "R_Feet", - "rotation" : [ - 0.516292929649353, - 0.020581310614943504, - 0.05452270060777664, - 0.854426920413971 - ], - "translation" : [ - -1.2865877252465907e-09, - 0.06353945285081863, - 2.6193447411060333e-10 - ] - }, - { - "children" : [ - 37 - ], - "name" : "R_Shin", - "rotation" : [ - -0.054226718842983246, - -0.00034972387948073447, - 0.0027083493769168854, - 0.9985249042510986 - ], - "scale" : [ - 0.9999998807907104, - 0.9999999403953552, - 0.9999998807907104 - ], - "translation" : [ - 8.217813984856548e-09, - 0.012935775332152843, - -1.1059455573558807e-09 - ] - }, - { - "children" : [ - 38 - ], - "name" : "R_Knee", - "rotation" : [ - -0.117364302277565, - 0.00023353073629550636, - 0.005353146698325872, - 0.9930744767189026 - ], - "scale" : [ - 1, - 1.0000001192092896, - 1 - ], - "translation" : [ - 7.161837345392996e-09, - 0.08009886741638184, - -3.725290298461914e-09 - ] - }, - { - "children" : [ - 39 - ], - "name" : "R_Thigh", - "rotation" : [ - 0.005340703763067722, - 0.08032803982496262, - 0.9945576786994934, - 0.06613556295633316 - ], - "scale" : [ - 1.0000009536743164, - 1.0000001192092896, - 1.0000014305114746 - ], - "translation" : [ - -0.06634333729743958, - 0.021777987480163574, - -0.000205356627702713 - ] - }, - { - "name" : "R_Hip_end", - "translation" : [ - 0, - 0.032987553626298904, - -1.5967565047958487e-09 - ] - }, - { - "children" : [ - 41 - ], - "name" : "R_Hip", - "translation" : [ - -0.06953180581331253, - 0.04957667365670204, - 0.061330340802669525 - ] - }, - { - "name" : "R_Butt_end", - "translation" : [ - 0, - 0.03298754245042801, - 1.3750955929481279e-09 - ] - }, - { - "children" : [ - 43 - ], - "name" : "R_Butt", - "translation" : [ - -0.06953180581331253, - -0.0007792188553139567, - -0.04653617739677429 - ] - }, - { - "children" : [ - 5, - 28, - 30, - 32, - 34, - 40, - 42, - 44 - ], - "name" : "Pelvis", - "translation" : [ - 0, - 0.15915730595588684, - 0 - ] - }, - { - "name" : "L_IK_Leg_Pole_end", - "translation" : [ - 0, - 0.04320859909057617, - 2.2203057170600005e-09 - ] - }, - { - "children" : [ - 46 - ], - "name" : "L_IK_Leg_Pole", - "rotation" : [ - 0, - 0, - -1, - 0 - ], - "translation" : [ - -0.008841380476951599, - -0.08020301908254623, - 0.0748630166053772 - ] - }, - { - "children" : [ - 47 - ], - "name" : "L_IK_Leg_Target", - "rotation" : [ - -0.7071068286895752, - 0, - 0, - 0.7071068286895752 - ], - "translation" : [ - 0.08565311133861542, - 0.027707800269126892, - 0.00015427125617861748 - ] - }, - { - "name" : "R_IK_Leg_Pole_end", - "translation" : [ - 0, - 0.04320859909057617, - 2.2203057170600005e-09 - ] - }, - { - "children" : [ - 49 - ], - "name" : "R_IK_Leg_Pole", - "rotation" : [ - 0, - 0, - -1, - 0 - ], - "translation" : [ - 0.008841380476951599, - -0.08020301908254623, - 0.0748630166053772 - ] - }, - { - "children" : [ - 50 - ], - "name" : "R_IK_Leg_Target", - "rotation" : [ - -0.7071068286895752, - 0, - 0, - 0.7071068286895752 - ], - "translation" : [ - -0.08565311133861542, - 0.027707800269126892, - 0.00015427125617861748 - ] - }, - { - "children" : [ - 45, - 48, - 51 - ], - "name" : "Root" - }, - { - "mesh" : 0, - "name" : "Bag", - "skin" : 0 - }, - { - "mesh" : 1, - "name" : "Raccoon", - "skin" : 0 - }, - { - "children" : [ - 53, - 54, - 52 - ], - "name" : "Armature" - } - ], - "animations" : [ - { - "channels" : [ - { - "sampler" : 0, - "target" : { - "node" : 52, - "path" : "translation" - } - }, - { - "sampler" : 1, - "target" : { - "node" : 52, - "path" : "rotation" - } - }, - { - "sampler" : 2, - "target" : { - "node" : 52, - "path" : "scale" - } - }, - { - "sampler" : 3, - "target" : { - "node" : 45, - "path" : "translation" - } - }, - { - "sampler" : 4, - "target" : { - "node" : 45, - "path" : "rotation" - } - }, - { - "sampler" : 5, - "target" : { - "node" : 45, - "path" : "scale" - } - }, - { - "sampler" : 6, - "target" : { - "node" : 5, - "path" : "translation" - } - }, - { - "sampler" : 7, - "target" : { - "node" : 5, - "path" : "rotation" - } - }, - { - "sampler" : 8, - "target" : { - "node" : 5, - "path" : "scale" - } - }, - { - "sampler" : 9, - "target" : { - "node" : 4, - "path" : "translation" - } - }, - { - "sampler" : 10, - "target" : { - "node" : 4, - "path" : "rotation" - } - }, - { - "sampler" : 11, - "target" : { - "node" : 4, - "path" : "scale" - } - }, - { - "sampler" : 12, - "target" : { - "node" : 3, - "path" : "translation" - } - }, - { - "sampler" : 13, - "target" : { - "node" : 3, - "path" : "rotation" - } - }, - { - "sampler" : 14, - "target" : { - "node" : 3, - "path" : "scale" - } - }, - { - "sampler" : 15, - "target" : { - "node" : 2, - "path" : "translation" - } - }, - { - "sampler" : 16, - "target" : { - "node" : 2, - "path" : "rotation" - } - }, - { - "sampler" : 17, - "target" : { - "node" : 2, - "path" : "scale" - } - }, - { - "sampler" : 18, - "target" : { - "node" : 1, - "path" : "translation" - } - }, - { - "sampler" : 19, - "target" : { - "node" : 1, - "path" : "rotation" - } - }, - { - "sampler" : 20, - "target" : { - "node" : 1, - "path" : "scale" - } - }, - { - "sampler" : 21, - "target" : { - "node" : 0, - "path" : "translation" - } - }, - { - "sampler" : 22, - "target" : { - "node" : 0, - "path" : "rotation" - } - }, - { - "sampler" : 23, - "target" : { - "node" : 0, - "path" : "scale" - } - }, - { - "sampler" : 24, - "target" : { - "node" : 28, - "path" : "translation" - } - }, - { - "sampler" : 25, - "target" : { - "node" : 28, - "path" : "rotation" - } - }, - { - "sampler" : 26, - "target" : { - "node" : 28, - "path" : "scale" - } - }, - { - "sampler" : 27, - "target" : { - "node" : 27, - "path" : "translation" - } - }, - { - "sampler" : 28, - "target" : { - "node" : 27, - "path" : "rotation" - } - }, - { - "sampler" : 29, - "target" : { - "node" : 27, - "path" : "scale" - } - }, - { - "sampler" : 30, - "target" : { - "node" : 8, - "path" : "translation" - } - }, - { - "sampler" : 31, - "target" : { - "node" : 8, - "path" : "rotation" - } - }, - { - "sampler" : 32, - "target" : { - "node" : 8, - "path" : "scale" - } - }, - { - "sampler" : 33, - "target" : { - "node" : 7, - "path" : "translation" - } - }, - { - "sampler" : 34, - "target" : { - "node" : 7, - "path" : "rotation" - } - }, - { - "sampler" : 35, - "target" : { - "node" : 7, - "path" : "scale" - } - }, - { - "sampler" : 36, - "target" : { - "node" : 6, - "path" : "translation" - } - }, - { - "sampler" : 37, - "target" : { - "node" : 6, - "path" : "rotation" - } - }, - { - "sampler" : 38, - "target" : { - "node" : 6, - "path" : "scale" - } - }, - { - "sampler" : 39, - "target" : { - "node" : 14, - "path" : "translation" - } - }, - { - "sampler" : 40, - "target" : { - "node" : 14, - "path" : "rotation" - } - }, - { - "sampler" : 41, - "target" : { - "node" : 14, - "path" : "scale" - } - }, - { - "sampler" : 42, - "target" : { - "node" : 13, - "path" : "translation" - } - }, - { - "sampler" : 43, - "target" : { - "node" : 13, - "path" : "rotation" - } - }, - { - "sampler" : 44, - "target" : { - "node" : 13, - "path" : "scale" - } - }, - { - "sampler" : 45, - "target" : { - "node" : 12, - "path" : "translation" - } - }, - { - "sampler" : 46, - "target" : { - "node" : 12, - "path" : "rotation" - } - }, - { - "sampler" : 47, - "target" : { - "node" : 12, - "path" : "scale" - } - }, - { - "sampler" : 48, - "target" : { - "node" : 11, - "path" : "translation" - } - }, - { - "sampler" : 49, - "target" : { - "node" : 11, - "path" : "rotation" - } - }, - { - "sampler" : 50, - "target" : { - "node" : 11, - "path" : "scale" - } - }, - { - "sampler" : 51, - "target" : { - "node" : 10, - "path" : "translation" - } - }, - { - "sampler" : 52, - "target" : { - "node" : 10, - "path" : "rotation" - } - }, - { - "sampler" : 53, - "target" : { - "node" : 10, - "path" : "scale" - } - }, - { - "sampler" : 54, - "target" : { - "node" : 9, - "path" : "translation" - } - }, - { - "sampler" : 55, - "target" : { - "node" : 9, - "path" : "rotation" - } - }, - { - "sampler" : 56, - "target" : { - "node" : 9, - "path" : "scale" - } - }, - { - "sampler" : 57, - "target" : { - "node" : 20, - "path" : "translation" - } - }, - { - "sampler" : 58, - "target" : { - "node" : 20, - "path" : "rotation" - } - }, - { - "sampler" : 59, - "target" : { - "node" : 20, - "path" : "scale" - } - }, - { - "sampler" : 60, - "target" : { - "node" : 19, - "path" : "translation" - } - }, - { - "sampler" : 61, - "target" : { - "node" : 19, - "path" : "rotation" - } - }, - { - "sampler" : 62, - "target" : { - "node" : 19, - "path" : "scale" - } - }, - { - "sampler" : 63, - "target" : { - "node" : 18, - "path" : "translation" - } - }, - { - "sampler" : 64, - "target" : { - "node" : 18, - "path" : "rotation" - } - }, - { - "sampler" : 65, - "target" : { - "node" : 18, - "path" : "scale" - } - }, - { - "sampler" : 66, - "target" : { - "node" : 17, - "path" : "translation" - } - }, - { - "sampler" : 67, - "target" : { - "node" : 17, - "path" : "rotation" - } - }, - { - "sampler" : 68, - "target" : { - "node" : 17, - "path" : "scale" - } - }, - { - "sampler" : 69, - "target" : { - "node" : 16, - "path" : "translation" - } - }, - { - "sampler" : 70, - "target" : { - "node" : 16, - "path" : "rotation" - } - }, - { - "sampler" : 71, - "target" : { - "node" : 16, - "path" : "scale" - } - }, - { - "sampler" : 72, - "target" : { - "node" : 15, - "path" : "translation" - } - }, - { - "sampler" : 73, - "target" : { - "node" : 15, - "path" : "rotation" - } - }, - { - "sampler" : 74, - "target" : { - "node" : 15, - "path" : "scale" - } - }, - { - "sampler" : 75, - "target" : { - "node" : 23, - "path" : "translation" - } - }, - { - "sampler" : 76, - "target" : { - "node" : 23, - "path" : "rotation" - } - }, - { - "sampler" : 77, - "target" : { - "node" : 23, - "path" : "scale" - } - }, - { - "sampler" : 78, - "target" : { - "node" : 22, - "path" : "translation" - } - }, - { - "sampler" : 79, - "target" : { - "node" : 22, - "path" : "rotation" - } - }, - { - "sampler" : 80, - "target" : { - "node" : 22, - "path" : "scale" - } - }, - { - "sampler" : 81, - "target" : { - "node" : 21, - "path" : "translation" - } - }, - { - "sampler" : 82, - "target" : { - "node" : 21, - "path" : "rotation" - } - }, - { - "sampler" : 83, - "target" : { - "node" : 21, - "path" : "scale" - } - }, - { - "sampler" : 84, - "target" : { - "node" : 26, - "path" : "translation" - } - }, - { - "sampler" : 85, - "target" : { - "node" : 26, - "path" : "rotation" - } - }, - { - "sampler" : 86, - "target" : { - "node" : 26, - "path" : "scale" - } - }, - { - "sampler" : 87, - "target" : { - "node" : 25, - "path" : "translation" - } - }, - { - "sampler" : 88, - "target" : { - "node" : 25, - "path" : "rotation" - } - }, - { - "sampler" : 89, - "target" : { - "node" : 25, - "path" : "scale" - } - }, - { - "sampler" : 90, - "target" : { - "node" : 24, - "path" : "translation" - } - }, - { - "sampler" : 91, - "target" : { - "node" : 24, - "path" : "rotation" - } - }, - { - "sampler" : 92, - "target" : { - "node" : 24, - "path" : "scale" - } - }, - { - "sampler" : 93, - "target" : { - "node" : 30, - "path" : "translation" - } - }, - { - "sampler" : 94, - "target" : { - "node" : 30, - "path" : "rotation" - } - }, - { - "sampler" : 95, - "target" : { - "node" : 30, - "path" : "scale" - } - }, - { - "sampler" : 96, - "target" : { - "node" : 29, - "path" : "translation" - } - }, - { - "sampler" : 97, - "target" : { - "node" : 29, - "path" : "rotation" - } - }, - { - "sampler" : 98, - "target" : { - "node" : 29, - "path" : "scale" - } - }, - { - "sampler" : 99, - "target" : { - "node" : 32, - "path" : "translation" - } - }, - { - "sampler" : 100, - "target" : { - "node" : 32, - "path" : "rotation" - } - }, - { - "sampler" : 101, - "target" : { - "node" : 32, - "path" : "scale" - } - }, - { - "sampler" : 102, - "target" : { - "node" : 31, - "path" : "translation" - } - }, - { - "sampler" : 103, - "target" : { - "node" : 31, - "path" : "rotation" - } - }, - { - "sampler" : 104, - "target" : { - "node" : 31, - "path" : "scale" - } - }, - { - "sampler" : 105, - "target" : { - "node" : 34, - "path" : "translation" - } - }, - { - "sampler" : 106, - "target" : { - "node" : 34, - "path" : "rotation" - } - }, - { - "sampler" : 107, - "target" : { - "node" : 34, - "path" : "scale" - } - }, - { - "sampler" : 108, - "target" : { - "node" : 33, - "path" : "translation" - } - }, - { - "sampler" : 109, - "target" : { - "node" : 33, - "path" : "rotation" - } - }, - { - "sampler" : 110, - "target" : { - "node" : 33, - "path" : "scale" - } - }, - { - "sampler" : 111, - "target" : { - "node" : 40, - "path" : "translation" - } - }, - { - "sampler" : 112, - "target" : { - "node" : 40, - "path" : "rotation" - } - }, - { - "sampler" : 113, - "target" : { - "node" : 40, - "path" : "scale" - } - }, - { - "sampler" : 114, - "target" : { - "node" : 39, - "path" : "translation" - } - }, - { - "sampler" : 115, - "target" : { - "node" : 39, - "path" : "rotation" - } - }, - { - "sampler" : 116, - "target" : { - "node" : 39, - "path" : "scale" - } - }, - { - "sampler" : 117, - "target" : { - "node" : 38, - "path" : "translation" - } - }, - { - "sampler" : 118, - "target" : { - "node" : 38, - "path" : "rotation" - } - }, - { - "sampler" : 119, - "target" : { - "node" : 38, - "path" : "scale" - } - }, - { - "sampler" : 120, - "target" : { - "node" : 37, - "path" : "translation" - } - }, - { - "sampler" : 121, - "target" : { - "node" : 37, - "path" : "rotation" - } - }, - { - "sampler" : 122, - "target" : { - "node" : 37, - "path" : "scale" - } - }, - { - "sampler" : 123, - "target" : { - "node" : 36, - "path" : "translation" - } - }, - { - "sampler" : 124, - "target" : { - "node" : 36, - "path" : "rotation" - } - }, - { - "sampler" : 125, - "target" : { - "node" : 36, - "path" : "scale" - } - }, - { - "sampler" : 126, - "target" : { - "node" : 35, - "path" : "translation" - } - }, - { - "sampler" : 127, - "target" : { - "node" : 35, - "path" : "rotation" - } - }, - { - "sampler" : 128, - "target" : { - "node" : 35, - "path" : "scale" - } - }, - { - "sampler" : 129, - "target" : { - "node" : 42, - "path" : "translation" - } - }, - { - "sampler" : 130, - "target" : { - "node" : 42, - "path" : "rotation" - } - }, - { - "sampler" : 131, - "target" : { - "node" : 42, - "path" : "scale" - } - }, - { - "sampler" : 132, - "target" : { - "node" : 41, - "path" : "translation" - } - }, - { - "sampler" : 133, - "target" : { - "node" : 41, - "path" : "rotation" - } - }, - { - "sampler" : 134, - "target" : { - "node" : 41, - "path" : "scale" - } - }, - { - "sampler" : 135, - "target" : { - "node" : 44, - "path" : "translation" - } - }, - { - "sampler" : 136, - "target" : { - "node" : 44, - "path" : "rotation" - } - }, - { - "sampler" : 137, - "target" : { - "node" : 44, - "path" : "scale" - } - }, - { - "sampler" : 138, - "target" : { - "node" : 43, - "path" : "translation" - } - }, - { - "sampler" : 139, - "target" : { - "node" : 43, - "path" : "rotation" - } - }, - { - "sampler" : 140, - "target" : { - "node" : 43, - "path" : "scale" - } - }, - { - "sampler" : 141, - "target" : { - "node" : 48, - "path" : "translation" - } - }, - { - "sampler" : 142, - "target" : { - "node" : 48, - "path" : "rotation" - } - }, - { - "sampler" : 143, - "target" : { - "node" : 48, - "path" : "scale" - } - }, - { - "sampler" : 144, - "target" : { - "node" : 47, - "path" : "translation" - } - }, - { - "sampler" : 145, - "target" : { - "node" : 47, - "path" : "rotation" - } - }, - { - "sampler" : 146, - "target" : { - "node" : 47, - "path" : "scale" - } - }, - { - "sampler" : 147, - "target" : { - "node" : 46, - "path" : "translation" - } - }, - { - "sampler" : 148, - "target" : { - "node" : 46, - "path" : "rotation" - } - }, - { - "sampler" : 149, - "target" : { - "node" : 46, - "path" : "scale" - } - }, - { - "sampler" : 150, - "target" : { - "node" : 51, - "path" : "translation" - } - }, - { - "sampler" : 151, - "target" : { - "node" : 51, - "path" : "rotation" - } - }, - { - "sampler" : 152, - "target" : { - "node" : 51, - "path" : "scale" - } - }, - { - "sampler" : 153, - "target" : { - "node" : 50, - "path" : "translation" - } - }, - { - "sampler" : 154, - "target" : { - "node" : 50, - "path" : "rotation" - } - }, - { - "sampler" : 155, - "target" : { - "node" : 50, - "path" : "scale" - } - }, - { - "sampler" : 156, - "target" : { - "node" : 49, - "path" : "translation" - } - }, - { - "sampler" : 157, - "target" : { - "node" : 49, - "path" : "rotation" - } - }, - { - "sampler" : 158, - "target" : { - "node" : 49, - "path" : "scale" - } - }, - { - "sampler" : 159, - "target" : { - "node" : 55, - "path" : "translation" - } - }, - { - "sampler" : 160, - "target" : { - "node" : 55, - "path" : "rotation" - } - }, - { - "sampler" : 161, - "target" : { - "node" : 55, - "path" : "scale" - } - } - ], - "name" : "Armature|Armature|ArmatureAction", - "samplers" : [ - { - "input" : 15, - "interpolation" : "LINEAR", - "output" : 16 - }, - { - "input" : 15, - "interpolation" : "LINEAR", - "output" : 17 - }, - { - "input" : 15, - "interpolation" : "LINEAR", - "output" : 18 - }, - { - "input" : 15, - "interpolation" : "LINEAR", - "output" : 19 - }, - { - "input" : 15, - "interpolation" : "LINEAR", - "output" : 20 - }, - { - "input" : 15, - "interpolation" : "LINEAR", - "output" : 21 - }, - { - "input" : 15, - "interpolation" : "LINEAR", - "output" : 22 - }, - { - "input" : 15, - "interpolation" : "LINEAR", - "output" : 23 - }, - { - "input" : 15, - "interpolation" : "LINEAR", - "output" : 24 - }, - { - "input" : 15, - "interpolation" : "LINEAR", - "output" : 25 - }, - { - "input" : 15, - "interpolation" : "LINEAR", - "output" : 26 - }, - { - "input" : 15, - "interpolation" : "LINEAR", - "output" : 27 - }, - { - "input" : 15, - "interpolation" : "LINEAR", - "output" : 28 - }, - { - "input" : 15, - "interpolation" : "LINEAR", - "output" : 29 - }, - { - "input" : 15, - "interpolation" : "LINEAR", - "output" : 30 - }, - { - "input" : 15, - "interpolation" : "LINEAR", - "output" : 31 - }, - { - "input" : 15, - "interpolation" : "LINEAR", - "output" : 32 - }, - { - "input" : 15, - "interpolation" : "LINEAR", - "output" : 33 - }, - { - "input" : 15, - "interpolation" : "LINEAR", - "output" : 34 - }, - { - "input" : 15, - "interpolation" : "LINEAR", - "output" : 35 - }, - { - "input" : 15, - "interpolation" : "LINEAR", - "output" : 36 - }, - { - "input" : 15, - "interpolation" : "LINEAR", - "output" : 37 - }, - { - "input" : 15, - "interpolation" : "LINEAR", - "output" : 38 - }, - { - "input" : 15, - "interpolation" : "LINEAR", - "output" : 39 - }, - { - "input" : 15, - "interpolation" : "LINEAR", - "output" : 40 - }, - { - "input" : 15, - "interpolation" : "LINEAR", - "output" : 41 - }, - { - "input" : 15, - "interpolation" : "LINEAR", - "output" : 42 - }, - { - "input" : 15, - "interpolation" : "LINEAR", - "output" : 43 - }, - { - "input" : 15, - "interpolation" : "LINEAR", - "output" : 44 - }, - { - "input" : 15, - "interpolation" : "LINEAR", - "output" : 45 - }, - { - "input" : 15, - "interpolation" : "LINEAR", - "output" : 46 - }, - { - "input" : 15, - "interpolation" : "LINEAR", - "output" : 47 - }, - { - "input" : 15, - "interpolation" : "LINEAR", - "output" : 48 - }, - { - "input" : 15, - "interpolation" : "LINEAR", - "output" : 49 - }, - { - "input" : 15, - "interpolation" : "LINEAR", - "output" : 50 - }, - { - "input" : 15, - "interpolation" : "LINEAR", - "output" : 51 - }, - { - "input" : 15, - "interpolation" : "LINEAR", - "output" : 52 - }, - { - "input" : 15, - "interpolation" : "LINEAR", - "output" : 53 - }, - { - "input" : 15, - "interpolation" : "LINEAR", - "output" : 54 - }, - { - "input" : 15, - "interpolation" : "LINEAR", - "output" : 55 - }, - { - "input" : 15, - "interpolation" : "LINEAR", - "output" : 56 - }, - { - "input" : 15, - "interpolation" : "LINEAR", - "output" : 57 - }, - { - "input" : 15, - "interpolation" : "LINEAR", - "output" : 58 - }, - { - "input" : 15, - "interpolation" : "LINEAR", - "output" : 59 - }, - { - "input" : 15, - "interpolation" : "LINEAR", - "output" : 60 - }, - { - "input" : 15, - "interpolation" : "LINEAR", - "output" : 61 - }, - { - "input" : 15, - "interpolation" : "LINEAR", - "output" : 62 - }, - { - "input" : 15, - "interpolation" : "LINEAR", - "output" : 63 - }, - { - "input" : 15, - "interpolation" : "LINEAR", - "output" : 64 - }, - { - "input" : 15, - "interpolation" : "LINEAR", - "output" : 65 - }, - { - "input" : 15, - "interpolation" : "LINEAR", - "output" : 66 - }, - { - "input" : 15, - "interpolation" : "LINEAR", - "output" : 67 - }, - { - "input" : 15, - "interpolation" : "LINEAR", - "output" : 68 - }, - { - "input" : 15, - "interpolation" : "LINEAR", - "output" : 69 - }, - { - "input" : 15, - "interpolation" : "LINEAR", - "output" : 70 - }, - { - "input" : 15, - "interpolation" : "LINEAR", - "output" : 71 - }, - { - "input" : 15, - "interpolation" : "LINEAR", - "output" : 72 - }, - { - "input" : 15, - "interpolation" : "LINEAR", - "output" : 73 - }, - { - "input" : 15, - "interpolation" : "LINEAR", - "output" : 74 - }, - { - "input" : 15, - "interpolation" : "LINEAR", - "output" : 75 - }, - { - "input" : 15, - "interpolation" : "LINEAR", - "output" : 76 - }, - { - "input" : 15, - "interpolation" : "LINEAR", - "output" : 77 - }, - { - "input" : 15, - "interpolation" : "LINEAR", - "output" : 78 - }, - { - "input" : 15, - "interpolation" : "LINEAR", - "output" : 79 - }, - { - "input" : 15, - "interpolation" : "LINEAR", - "output" : 80 - }, - { - "input" : 15, - "interpolation" : "LINEAR", - "output" : 81 - }, - { - "input" : 15, - "interpolation" : "LINEAR", - "output" : 82 - }, - { - "input" : 15, - "interpolation" : "LINEAR", - "output" : 83 - }, - { - "input" : 15, - "interpolation" : "LINEAR", - "output" : 84 - }, - { - "input" : 15, - "interpolation" : "LINEAR", - "output" : 85 - }, - { - "input" : 15, - "interpolation" : "LINEAR", - "output" : 86 - }, - { - "input" : 15, - "interpolation" : "LINEAR", - "output" : 87 - }, - { - "input" : 15, - "interpolation" : "LINEAR", - "output" : 88 - }, - { - "input" : 15, - "interpolation" : "LINEAR", - "output" : 89 - }, - { - "input" : 15, - "interpolation" : "LINEAR", - "output" : 90 - }, - { - "input" : 15, - "interpolation" : "LINEAR", - "output" : 91 - }, - { - "input" : 15, - "interpolation" : "LINEAR", - "output" : 92 - }, - { - "input" : 15, - "interpolation" : "LINEAR", - "output" : 93 - }, - { - "input" : 15, - "interpolation" : "LINEAR", - "output" : 94 - }, - { - "input" : 15, - "interpolation" : "LINEAR", - "output" : 95 - }, - { - "input" : 15, - "interpolation" : "LINEAR", - "output" : 96 - }, - { - "input" : 15, - "interpolation" : "LINEAR", - "output" : 97 - }, - { - "input" : 15, - "interpolation" : "LINEAR", - "output" : 98 - }, - { - "input" : 15, - "interpolation" : "LINEAR", - "output" : 99 - }, - { - "input" : 15, - "interpolation" : "LINEAR", - "output" : 100 - }, - { - "input" : 15, - "interpolation" : "LINEAR", - "output" : 101 - }, - { - "input" : 15, - "interpolation" : "LINEAR", - "output" : 102 - }, - { - "input" : 15, - "interpolation" : "LINEAR", - "output" : 103 - }, - { - "input" : 15, - "interpolation" : "LINEAR", - "output" : 104 - }, - { - "input" : 15, - "interpolation" : "LINEAR", - "output" : 105 - }, - { - "input" : 15, - "interpolation" : "LINEAR", - "output" : 106 - }, - { - "input" : 15, - "interpolation" : "LINEAR", - "output" : 107 - }, - { - "input" : 15, - "interpolation" : "LINEAR", - "output" : 108 - }, - { - "input" : 15, - "interpolation" : "LINEAR", - "output" : 109 - }, - { - "input" : 15, - "interpolation" : "LINEAR", - "output" : 110 - }, - { - "input" : 15, - "interpolation" : "LINEAR", - "output" : 111 - }, - { - "input" : 15, - "interpolation" : "LINEAR", - "output" : 112 - }, - { - "input" : 15, - "interpolation" : "LINEAR", - "output" : 113 - }, - { - "input" : 15, - "interpolation" : "LINEAR", - "output" : 114 - }, - { - "input" : 15, - "interpolation" : "LINEAR", - "output" : 115 - }, - { - "input" : 15, - "interpolation" : "LINEAR", - "output" : 116 - }, - { - "input" : 15, - "interpolation" : "LINEAR", - "output" : 117 - }, - { - "input" : 15, - "interpolation" : "LINEAR", - "output" : 118 - }, - { - "input" : 15, - "interpolation" : "LINEAR", - "output" : 119 - }, - { - "input" : 15, - "interpolation" : "LINEAR", - "output" : 120 - }, - { - "input" : 15, - "interpolation" : "LINEAR", - "output" : 121 - }, - { - "input" : 15, - "interpolation" : "LINEAR", - "output" : 122 - }, - { - "input" : 15, - "interpolation" : "LINEAR", - "output" : 123 - }, - { - "input" : 15, - "interpolation" : "LINEAR", - "output" : 124 - }, - { - "input" : 15, - "interpolation" : "LINEAR", - "output" : 125 - }, - { - "input" : 15, - "interpolation" : "LINEAR", - "output" : 126 - }, - { - "input" : 15, - "interpolation" : "LINEAR", - "output" : 127 - }, - { - "input" : 15, - "interpolation" : "LINEAR", - "output" : 128 - }, - { - "input" : 15, - "interpolation" : "LINEAR", - "output" : 129 - }, - { - "input" : 15, - "interpolation" : "LINEAR", - "output" : 130 - }, - { - "input" : 15, - "interpolation" : "LINEAR", - "output" : 131 - }, - { - "input" : 15, - "interpolation" : "LINEAR", - "output" : 132 - }, - { - "input" : 15, - "interpolation" : "LINEAR", - "output" : 133 - }, - { - "input" : 15, - "interpolation" : "LINEAR", - "output" : 134 - }, - { - "input" : 15, - "interpolation" : "LINEAR", - "output" : 135 - }, - { - "input" : 15, - "interpolation" : "LINEAR", - "output" : 136 - }, - { - "input" : 15, - "interpolation" : "LINEAR", - "output" : 137 - }, - { - "input" : 15, - "interpolation" : "LINEAR", - "output" : 138 - }, - { - "input" : 15, - "interpolation" : "LINEAR", - "output" : 139 - }, - { - "input" : 15, - "interpolation" : "LINEAR", - "output" : 140 - }, - { - "input" : 15, - "interpolation" : "LINEAR", - "output" : 141 - }, - { - "input" : 15, - "interpolation" : "LINEAR", - "output" : 142 - }, - { - "input" : 15, - "interpolation" : "LINEAR", - "output" : 143 - }, - { - "input" : 15, - "interpolation" : "LINEAR", - "output" : 144 - }, - { - "input" : 15, - "interpolation" : "LINEAR", - "output" : 145 - }, - { - "input" : 15, - "interpolation" : "LINEAR", - "output" : 146 - }, - { - "input" : 15, - "interpolation" : "LINEAR", - "output" : 147 - }, - { - "input" : 15, - "interpolation" : "LINEAR", - "output" : 148 - }, - { - "input" : 15, - "interpolation" : "LINEAR", - "output" : 149 - }, - { - "input" : 15, - "interpolation" : "LINEAR", - "output" : 150 - }, - { - "input" : 15, - "interpolation" : "LINEAR", - "output" : 151 - }, - { - "input" : 15, - "interpolation" : "LINEAR", - "output" : 152 - }, - { - "input" : 15, - "interpolation" : "LINEAR", - "output" : 153 - }, - { - "input" : 15, - "interpolation" : "LINEAR", - "output" : 154 - }, - { - "input" : 15, - "interpolation" : "LINEAR", - "output" : 155 - }, - { - "input" : 15, - "interpolation" : "LINEAR", - "output" : 156 - }, - { - "input" : 15, - "interpolation" : "LINEAR", - "output" : 157 - }, - { - "input" : 15, - "interpolation" : "LINEAR", - "output" : 158 - }, - { - "input" : 15, - "interpolation" : "LINEAR", - "output" : 159 - }, - { - "input" : 15, - "interpolation" : "LINEAR", - "output" : 160 - }, - { - "input" : 15, - "interpolation" : "LINEAR", - "output" : 161 - }, - { - "input" : 15, - "interpolation" : "LINEAR", - "output" : 162 - }, - { - "input" : 15, - "interpolation" : "LINEAR", - "output" : 163 - }, - { - "input" : 15, - "interpolation" : "LINEAR", - "output" : 164 - }, - { - "input" : 15, - "interpolation" : "LINEAR", - "output" : 165 - }, - { - "input" : 15, - "interpolation" : "LINEAR", - "output" : 166 - }, - { - "input" : 15, - "interpolation" : "LINEAR", - "output" : 167 - }, - { - "input" : 15, - "interpolation" : "LINEAR", - "output" : 168 - }, - { - "input" : 15, - "interpolation" : "LINEAR", - "output" : 169 - }, - { - "input" : 15, - "interpolation" : "LINEAR", - "output" : 170 - }, - { - "input" : 15, - "interpolation" : "LINEAR", - "output" : 171 - }, - { - "input" : 15, - "interpolation" : "LINEAR", - "output" : 172 - }, - { - "input" : 15, - "interpolation" : "LINEAR", - "output" : 173 - }, - { - "input" : 15, - "interpolation" : "LINEAR", - "output" : 174 - }, - { - "input" : 15, - "interpolation" : "LINEAR", - "output" : 175 - }, - { - "input" : 15, - "interpolation" : "LINEAR", - "output" : 176 - }, - { - "input" : 15, - "interpolation" : "LINEAR", - "output" : 177 - } - ] - } - ], - "materials" : [ - { - "doubleSided" : true, - "name" : "BagMaterial", - "pbrMetallicRoughness" : { - "baseColorTexture" : { - "index" : 0 - }, - "metallicFactor" : 0, - "roughnessFactor" : 0.5 - } - }, - { - "alphaMode" : "BLEND", - "doubleSided" : true, - "extensions" : { - "KHR_materials_specular" : { - "specularColorFactor" : [ - 0, - 0, - 0 - ] - }, - "KHR_materials_ior" : { - "ior" : 1.4500000476837158 - } - }, - "name" : "BodyMaterial", - "pbrMetallicRoughness" : { - "baseColorTexture" : { - "index" : 1 - }, - "metallicFactor" : 0 - } - } - ], - "meshes" : [ - { - "name" : "Cube.003", - "primitives" : [ - { - "attributes" : { - "POSITION" : 0, - "NORMAL" : 1, - "TANGENT" : 2, - "TEXCOORD_0" : 3, - "JOINTS_0" : 4, - "WEIGHTS_0" : 5 - }, - "indices" : 6, - "material" : 0 - } - ] - }, - { - "name" : "Cube.012", - "primitives" : [ - { - "attributes" : { - "POSITION" : 8, - "NORMAL" : 9, - "TANGENT" : 10, - "TEXCOORD_0" : 11, - "JOINTS_0" : 12, - "WEIGHTS_0" : 13 - }, - "indices" : 14, - "material" : 1 - } - ] - } - ], - "textures" : [ - { - "sampler" : 0, - "source" : 0 - }, - { - "sampler" : 0, - "source" : 1 - } - ], - "images" : [ - { - "mimeType" : "image/png", - "name" : "RaccoonBag_Color_Ver4", - "uri" : "RaccoonBag_Color_Ver4.dds" - }, - { - "mimeType" : "image/png", - "name" : "RaccoonPreTexturedVer1_Base9-RaccoonPreTexturedVer1_Base9", - "uri" : "RaccoonPreTexturedVer1_Base9-RaccoonPreTexturedVer1_Base9.dds" - } - ], - "skins" : [ - { - "inverseBindMatrices" : 7, - "joints" : [ - 52, - 45, - 5, - 4, - 3, - 2, - 1, - 0, - 28, - 27, - 8, - 7, - 6, - 14, - 13, - 12, - 11, - 10, - 9, - 20, - 19, - 18, - 17, - 16, - 15, - 23, - 22, - 21, - 26, - 25, - 24, - 30, - 29, - 32, - 31, - 34, - 33, - 40, - 39, - 38, - 37, - 36, - 35, - 42, - 41, - 44, - 43, - 48, - 47, - 46, - 51, - 50, - 49 - ], - "name" : "Armature" - } - ], - "accessors" : [ - { - "bufferView" : 0, - "componentType" : 5126, - "count" : 512, - "max" : [ - 0.1090814545750618, - 0.40452075004577637, - 0.0857388824224472 - ], - "min" : [ - -0.09462108463048935, - 0.2630254030227661, - -0.11617939174175262 - ], - "type" : "VEC3" - }, - { - "bufferView" : 1, - "componentType" : 5126, - "count" : 512, - "type" : "VEC3" - }, - { - "bufferView" : 2, - "componentType" : 5126, - "count" : 512, - "type" : "VEC4" - }, - { - "bufferView" : 3, - "componentType" : 5126, - "count" : 512, - "type" : "VEC2" - }, - { - "bufferView" : 4, - "componentType" : 5121, - "count" : 512, - "type" : "VEC4" - }, - { - "bufferView" : 5, - "componentType" : 5126, - "count" : 512, - "type" : "VEC4" - }, - { - "bufferView" : 6, - "componentType" : 5123, - "count" : 2346, - "type" : "SCALAR" - }, - { - "bufferView" : 7, - "componentType" : 5126, - "count" : 53, - "type" : "MAT4" - }, - { - "bufferView" : 8, - "componentType" : 5126, - "count" : 3484, - "max" : [ - 0.2035536766052246, - 0.5987313389778137, - 0.09013944119215012 - ], - "min" : [ - -0.19493983685970306, - -0.0017474208725616336, - -0.19020147621631622 - ], - "type" : "VEC3" - }, - { - "bufferView" : 9, - "componentType" : 5126, - "count" : 3484, - "type" : "VEC3" - }, - { - "bufferView" : 10, - "componentType" : 5126, - "count" : 3484, - "type" : "VEC4" - }, - { - "bufferView" : 11, - "componentType" : 5126, - "count" : 3484, - "type" : "VEC2" - }, - { - "bufferView" : 12, - "componentType" : 5121, - "count" : 3484, - "type" : "VEC4" - }, - { - "bufferView" : 13, - "componentType" : 5126, - "count" : 3484, - "type" : "VEC4" - }, - { - "bufferView" : 14, - "componentType" : 5123, - "count" : 17472, - "type" : "SCALAR" - }, - { - "bufferView" : 15, - "componentType" : 5126, - "count" : 51, - "max" : [ - 2.125 - ], - "min" : [ - 0.041666666666666664 - ], - "type" : "SCALAR" - }, - { - "bufferView" : 16, - "componentType" : 5126, - "count" : 51, - "type" : "VEC3" - }, - { - "bufferView" : 17, - "componentType" : 5126, - "count" : 51, - "type" : "VEC4" - }, - { - "bufferView" : 18, - "componentType" : 5126, - "count" : 51, - "type" : "VEC3" - }, - { - "bufferView" : 19, - "componentType" : 5126, - "count" : 51, - "type" : "VEC3" - }, - { - "bufferView" : 20, - "componentType" : 5126, - "count" : 51, - "type" : "VEC4" - }, - { - "bufferView" : 21, - "componentType" : 5126, - "count" : 51, - "type" : "VEC3" - }, - { - "bufferView" : 22, - "componentType" : 5126, - "count" : 51, - "type" : "VEC3" - }, - { - "bufferView" : 23, - "componentType" : 5126, - "count" : 51, - "type" : "VEC4" - }, - { - "bufferView" : 24, - "componentType" : 5126, - "count" : 51, - "type" : "VEC3" - }, - { - "bufferView" : 25, - "componentType" : 5126, - "count" : 51, - "type" : "VEC3" - }, - { - "bufferView" : 26, - "componentType" : 5126, - "count" : 51, - "type" : "VEC4" - }, - { - "bufferView" : 27, - "componentType" : 5126, - "count" : 51, - "type" : "VEC3" - }, - { - "bufferView" : 28, - "componentType" : 5126, - "count" : 51, - "type" : "VEC3" - }, - { - "bufferView" : 29, - "componentType" : 5126, - "count" : 51, - "type" : "VEC4" - }, - { - "bufferView" : 30, - "componentType" : 5126, - "count" : 51, - "type" : "VEC3" - }, - { - "bufferView" : 31, - "componentType" : 5126, - "count" : 51, - "type" : "VEC3" - }, - { - "bufferView" : 32, - "componentType" : 5126, - "count" : 51, - "type" : "VEC4" - }, - { - "bufferView" : 33, - "componentType" : 5126, - "count" : 51, - "type" : "VEC3" - }, - { - "bufferView" : 34, - "componentType" : 5126, - "count" : 51, - "type" : "VEC3" - }, - { - "bufferView" : 35, - "componentType" : 5126, - "count" : 51, - "type" : "VEC4" - }, - { - "bufferView" : 36, - "componentType" : 5126, - "count" : 51, - "type" : "VEC3" - }, - { - "bufferView" : 37, - "componentType" : 5126, - "count" : 51, - "type" : "VEC3" - }, - { - "bufferView" : 38, - "componentType" : 5126, - "count" : 51, - "type" : "VEC4" - }, - { - "bufferView" : 39, - "componentType" : 5126, - "count" : 51, - "type" : "VEC3" - }, - { - "bufferView" : 40, - "componentType" : 5126, - "count" : 51, - "type" : "VEC3" - }, - { - "bufferView" : 41, - "componentType" : 5126, - "count" : 51, - "type" : "VEC4" - }, - { - "bufferView" : 42, - "componentType" : 5126, - "count" : 51, - "type" : "VEC3" - }, - { - "bufferView" : 43, - "componentType" : 5126, - "count" : 51, - "type" : "VEC3" - }, - { - "bufferView" : 44, - "componentType" : 5126, - "count" : 51, - "type" : "VEC4" - }, - { - "bufferView" : 45, - "componentType" : 5126, - "count" : 51, - "type" : "VEC3" - }, - { - "bufferView" : 46, - "componentType" : 5126, - "count" : 51, - "type" : "VEC3" - }, - { - "bufferView" : 47, - "componentType" : 5126, - "count" : 51, - "type" : "VEC4" - }, - { - "bufferView" : 48, - "componentType" : 5126, - "count" : 51, - "type" : "VEC3" - }, - { - "bufferView" : 49, - "componentType" : 5126, - "count" : 51, - "type" : "VEC3" - }, - { - "bufferView" : 50, - "componentType" : 5126, - "count" : 51, - "type" : "VEC4" - }, - { - "bufferView" : 51, - "componentType" : 5126, - "count" : 51, - "type" : "VEC3" - }, - { - "bufferView" : 52, - "componentType" : 5126, - "count" : 51, - "type" : "VEC3" - }, - { - "bufferView" : 53, - "componentType" : 5126, - "count" : 51, - "type" : "VEC4" - }, - { - "bufferView" : 54, - "componentType" : 5126, - "count" : 51, - "type" : "VEC3" - }, - { - "bufferView" : 55, - "componentType" : 5126, - "count" : 51, - "type" : "VEC3" - }, - { - "bufferView" : 56, - "componentType" : 5126, - "count" : 51, - "type" : "VEC4" - }, - { - "bufferView" : 57, - "componentType" : 5126, - "count" : 51, - "type" : "VEC3" - }, - { - "bufferView" : 58, - "componentType" : 5126, - "count" : 51, - "type" : "VEC3" - }, - { - "bufferView" : 59, - "componentType" : 5126, - "count" : 51, - "type" : "VEC4" - }, - { - "bufferView" : 60, - "componentType" : 5126, - "count" : 51, - "type" : "VEC3" - }, - { - "bufferView" : 61, - "componentType" : 5126, - "count" : 51, - "type" : "VEC3" - }, - { - "bufferView" : 62, - "componentType" : 5126, - "count" : 51, - "type" : "VEC4" - }, - { - "bufferView" : 63, - "componentType" : 5126, - "count" : 51, - "type" : "VEC3" - }, - { - "bufferView" : 64, - "componentType" : 5126, - "count" : 51, - "type" : "VEC3" - }, - { - "bufferView" : 65, - "componentType" : 5126, - "count" : 51, - "type" : "VEC4" - }, - { - "bufferView" : 66, - "componentType" : 5126, - "count" : 51, - "type" : "VEC3" - }, - { - "bufferView" : 67, - "componentType" : 5126, - "count" : 51, - "type" : "VEC3" - }, - { - "bufferView" : 68, - "componentType" : 5126, - "count" : 51, - "type" : "VEC4" - }, - { - "bufferView" : 69, - "componentType" : 5126, - "count" : 51, - "type" : "VEC3" - }, - { - "bufferView" : 70, - "componentType" : 5126, - "count" : 51, - "type" : "VEC3" - }, - { - "bufferView" : 71, - "componentType" : 5126, - "count" : 51, - "type" : "VEC4" - }, - { - "bufferView" : 72, - "componentType" : 5126, - "count" : 51, - "type" : "VEC3" - }, - { - "bufferView" : 73, - "componentType" : 5126, - "count" : 51, - "type" : "VEC3" - }, - { - "bufferView" : 74, - "componentType" : 5126, - "count" : 51, - "type" : "VEC4" - }, - { - "bufferView" : 75, - "componentType" : 5126, - "count" : 51, - "type" : "VEC3" - }, - { - "bufferView" : 76, - "componentType" : 5126, - "count" : 51, - "type" : "VEC3" - }, - { - "bufferView" : 77, - "componentType" : 5126, - "count" : 51, - "type" : "VEC4" - }, - { - "bufferView" : 78, - "componentType" : 5126, - "count" : 51, - "type" : "VEC3" - }, - { - "bufferView" : 79, - "componentType" : 5126, - "count" : 51, - "type" : "VEC3" - }, - { - "bufferView" : 80, - "componentType" : 5126, - "count" : 51, - "type" : "VEC4" - }, - { - "bufferView" : 81, - "componentType" : 5126, - "count" : 51, - "type" : "VEC3" - }, - { - "bufferView" : 82, - "componentType" : 5126, - "count" : 51, - "type" : "VEC3" - }, - { - "bufferView" : 83, - "componentType" : 5126, - "count" : 51, - "type" : "VEC4" - }, - { - "bufferView" : 84, - "componentType" : 5126, - "count" : 51, - "type" : "VEC3" - }, - { - "bufferView" : 85, - "componentType" : 5126, - "count" : 51, - "type" : "VEC3" - }, - { - "bufferView" : 86, - "componentType" : 5126, - "count" : 51, - "type" : "VEC4" - }, - { - "bufferView" : 87, - "componentType" : 5126, - "count" : 51, - "type" : "VEC3" - }, - { - "bufferView" : 88, - "componentType" : 5126, - "count" : 51, - "type" : "VEC3" - }, - { - "bufferView" : 89, - "componentType" : 5126, - "count" : 51, - "type" : "VEC4" - }, - { - "bufferView" : 90, - "componentType" : 5126, - "count" : 51, - "type" : "VEC3" - }, - { - "bufferView" : 91, - "componentType" : 5126, - "count" : 51, - "type" : "VEC3" - }, - { - "bufferView" : 92, - "componentType" : 5126, - "count" : 51, - "type" : "VEC4" - }, - { - "bufferView" : 93, - "componentType" : 5126, - "count" : 51, - "type" : "VEC3" - }, - { - "bufferView" : 94, - "componentType" : 5126, - "count" : 51, - "type" : "VEC3" - }, - { - "bufferView" : 95, - "componentType" : 5126, - "count" : 51, - "type" : "VEC4" - }, - { - "bufferView" : 96, - "componentType" : 5126, - "count" : 51, - "type" : "VEC3" - }, - { - "bufferView" : 97, - "componentType" : 5126, - "count" : 51, - "type" : "VEC3" - }, - { - "bufferView" : 98, - "componentType" : 5126, - "count" : 51, - "type" : "VEC4" - }, - { - "bufferView" : 99, - "componentType" : 5126, - "count" : 51, - "type" : "VEC3" - }, - { - "bufferView" : 100, - "componentType" : 5126, - "count" : 51, - "type" : "VEC3" - }, - { - "bufferView" : 101, - "componentType" : 5126, - "count" : 51, - "type" : "VEC4" - }, - { - "bufferView" : 102, - "componentType" : 5126, - "count" : 51, - "type" : "VEC3" - }, - { - "bufferView" : 103, - "componentType" : 5126, - "count" : 51, - "type" : "VEC3" - }, - { - "bufferView" : 104, - "componentType" : 5126, - "count" : 51, - "type" : "VEC4" - }, - { - "bufferView" : 105, - "componentType" : 5126, - "count" : 51, - "type" : "VEC3" - }, - { - "bufferView" : 106, - "componentType" : 5126, - "count" : 51, - "type" : "VEC3" - }, - { - "bufferView" : 107, - "componentType" : 5126, - "count" : 51, - "type" : "VEC4" - }, - { - "bufferView" : 108, - "componentType" : 5126, - "count" : 51, - "type" : "VEC3" - }, - { - "bufferView" : 109, - "componentType" : 5126, - "count" : 51, - "type" : "VEC3" - }, - { - "bufferView" : 110, - "componentType" : 5126, - "count" : 51, - "type" : "VEC4" - }, - { - "bufferView" : 111, - "componentType" : 5126, - "count" : 51, - "type" : "VEC3" - }, - { - "bufferView" : 112, - "componentType" : 5126, - "count" : 51, - "type" : "VEC3" - }, - { - "bufferView" : 113, - "componentType" : 5126, - "count" : 51, - "type" : "VEC4" - }, - { - "bufferView" : 114, - "componentType" : 5126, - "count" : 51, - "type" : "VEC3" - }, - { - "bufferView" : 115, - "componentType" : 5126, - "count" : 51, - "type" : "VEC3" - }, - { - "bufferView" : 116, - "componentType" : 5126, - "count" : 51, - "type" : "VEC4" - }, - { - "bufferView" : 117, - "componentType" : 5126, - "count" : 51, - "type" : "VEC3" - }, - { - "bufferView" : 118, - "componentType" : 5126, - "count" : 51, - "type" : "VEC3" - }, - { - "bufferView" : 119, - "componentType" : 5126, - "count" : 51, - "type" : "VEC4" - }, - { - "bufferView" : 120, - "componentType" : 5126, - "count" : 51, - "type" : "VEC3" - }, - { - "bufferView" : 121, - "componentType" : 5126, - "count" : 51, - "type" : "VEC3" - }, - { - "bufferView" : 122, - "componentType" : 5126, - "count" : 51, - "type" : "VEC4" - }, - { - "bufferView" : 123, - "componentType" : 5126, - "count" : 51, - "type" : "VEC3" - }, - { - "bufferView" : 124, - "componentType" : 5126, - "count" : 51, - "type" : "VEC3" - }, - { - "bufferView" : 125, - "componentType" : 5126, - "count" : 51, - "type" : "VEC4" - }, - { - "bufferView" : 126, - "componentType" : 5126, - "count" : 51, - "type" : "VEC3" - }, - { - "bufferView" : 127, - "componentType" : 5126, - "count" : 51, - "type" : "VEC3" - }, - { - "bufferView" : 128, - "componentType" : 5126, - "count" : 51, - "type" : "VEC4" - }, - { - "bufferView" : 129, - "componentType" : 5126, - "count" : 51, - "type" : "VEC3" - }, - { - "bufferView" : 130, - "componentType" : 5126, - "count" : 51, - "type" : "VEC3" - }, - { - "bufferView" : 131, - "componentType" : 5126, - "count" : 51, - "type" : "VEC4" - }, - { - "bufferView" : 132, - "componentType" : 5126, - "count" : 51, - "type" : "VEC3" - }, - { - "bufferView" : 133, - "componentType" : 5126, - "count" : 51, - "type" : "VEC3" - }, - { - "bufferView" : 134, - "componentType" : 5126, - "count" : 51, - "type" : "VEC4" - }, - { - "bufferView" : 135, - "componentType" : 5126, - "count" : 51, - "type" : "VEC3" - }, - { - "bufferView" : 136, - "componentType" : 5126, - "count" : 51, - "type" : "VEC3" - }, - { - "bufferView" : 137, - "componentType" : 5126, - "count" : 51, - "type" : "VEC4" - }, - { - "bufferView" : 138, - "componentType" : 5126, - "count" : 51, - "type" : "VEC3" - }, - { - "bufferView" : 139, - "componentType" : 5126, - "count" : 51, - "type" : "VEC3" - }, - { - "bufferView" : 140, - "componentType" : 5126, - "count" : 51, - "type" : "VEC4" - }, - { - "bufferView" : 141, - "componentType" : 5126, - "count" : 51, - "type" : "VEC3" - }, - { - "bufferView" : 142, - "componentType" : 5126, - "count" : 51, - "type" : "VEC3" - }, - { - "bufferView" : 143, - "componentType" : 5126, - "count" : 51, - "type" : "VEC4" - }, - { - "bufferView" : 144, - "componentType" : 5126, - "count" : 51, - "type" : "VEC3" - }, - { - "bufferView" : 145, - "componentType" : 5126, - "count" : 51, - "type" : "VEC3" - }, - { - "bufferView" : 146, - "componentType" : 5126, - "count" : 51, - "type" : "VEC4" - }, - { - "bufferView" : 147, - "componentType" : 5126, - "count" : 51, - "type" : "VEC3" - }, - { - "bufferView" : 148, - "componentType" : 5126, - "count" : 51, - "type" : "VEC3" - }, - { - "bufferView" : 149, - "componentType" : 5126, - "count" : 51, - "type" : "VEC4" - }, - { - "bufferView" : 150, - "componentType" : 5126, - "count" : 51, - "type" : "VEC3" - }, - { - "bufferView" : 151, - "componentType" : 5126, - "count" : 51, - "type" : "VEC3" - }, - { - "bufferView" : 152, - "componentType" : 5126, - "count" : 51, - "type" : "VEC4" - }, - { - "bufferView" : 153, - "componentType" : 5126, - "count" : 51, - "type" : "VEC3" - }, - { - "bufferView" : 154, - "componentType" : 5126, - "count" : 51, - "type" : "VEC3" - }, - { - "bufferView" : 155, - "componentType" : 5126, - "count" : 51, - "type" : "VEC4" - }, - { - "bufferView" : 156, - "componentType" : 5126, - "count" : 51, - "type" : "VEC3" - }, - { - "bufferView" : 157, - "componentType" : 5126, - "count" : 51, - "type" : "VEC3" - }, - { - "bufferView" : 158, - "componentType" : 5126, - "count" : 51, - "type" : "VEC4" - }, - { - "bufferView" : 159, - "componentType" : 5126, - "count" : 51, - "type" : "VEC3" - }, - { - "bufferView" : 160, - "componentType" : 5126, - "count" : 51, - "type" : "VEC3" - }, - { - "bufferView" : 161, - "componentType" : 5126, - "count" : 51, - "type" : "VEC4" - }, - { - "bufferView" : 162, - "componentType" : 5126, - "count" : 51, - "type" : "VEC3" - }, - { - "bufferView" : 163, - "componentType" : 5126, - "count" : 51, - "type" : "VEC3" - }, - { - "bufferView" : 164, - "componentType" : 5126, - "count" : 51, - "type" : "VEC4" - }, - { - "bufferView" : 165, - "componentType" : 5126, - "count" : 51, - "type" : "VEC3" - }, - { - "bufferView" : 166, - "componentType" : 5126, - "count" : 51, - "type" : "VEC3" - }, - { - "bufferView" : 167, - "componentType" : 5126, - "count" : 51, - "type" : "VEC4" - }, - { - "bufferView" : 168, - "componentType" : 5126, - "count" : 51, - "type" : "VEC3" - }, - { - "bufferView" : 169, - "componentType" : 5126, - "count" : 51, - "type" : "VEC3" - }, - { - "bufferView" : 170, - "componentType" : 5126, - "count" : 51, - "type" : "VEC4" - }, - { - "bufferView" : 171, - "componentType" : 5126, - "count" : 51, - "type" : "VEC3" - }, - { - "bufferView" : 172, - "componentType" : 5126, - "count" : 51, - "type" : "VEC3" - }, - { - "bufferView" : 173, - "componentType" : 5126, - "count" : 51, - "type" : "VEC4" - }, - { - "bufferView" : 174, - "componentType" : 5126, - "count" : 51, - "type" : "VEC3" - }, - { - "bufferView" : 175, - "componentType" : 5126, - "count" : 51, - "type" : "VEC3" - }, - { - "bufferView" : 176, - "componentType" : 5126, - "count" : 51, - "type" : "VEC4" - }, - { - "bufferView" : 177, - "componentType" : 5126, - "count" : 51, - "type" : "VEC3" - } - ], - "bufferViews" : [ - { - "buffer" : 0, - "byteLength" : 6144, - "byteOffset" : 0, - "target" : 34962 - }, - { - "buffer" : 0, - "byteLength" : 6144, - "byteOffset" : 6144, - "target" : 34962 - }, - { - "buffer" : 0, - "byteLength" : 8192, - "byteOffset" : 12288, - "target" : 34962 - }, - { - "buffer" : 0, - "byteLength" : 4096, - "byteOffset" : 20480, - "target" : 34962 - }, - { - "buffer" : 0, - "byteLength" : 2048, - "byteOffset" : 24576, - "target" : 34962 - }, - { - "buffer" : 0, - "byteLength" : 8192, - "byteOffset" : 26624, - "target" : 34962 - }, - { - "buffer" : 0, - "byteLength" : 4692, - "byteOffset" : 34816, - "target" : 34963 - }, - { - "buffer" : 0, - "byteLength" : 3392, - "byteOffset" : 39508 - }, - { - "buffer" : 0, - "byteLength" : 41808, - "byteOffset" : 42900, - "target" : 34962 - }, - { - "buffer" : 0, - "byteLength" : 41808, - "byteOffset" : 84708, - "target" : 34962 - }, - { - "buffer" : 0, - "byteLength" : 55744, - "byteOffset" : 126516, - "target" : 34962 - }, - { - "buffer" : 0, - "byteLength" : 27872, - "byteOffset" : 182260, - "target" : 34962 - }, - { - "buffer" : 0, - "byteLength" : 13936, - "byteOffset" : 210132, - "target" : 34962 - }, - { - "buffer" : 0, - "byteLength" : 55744, - "byteOffset" : 224068, - "target" : 34962 - }, - { - "buffer" : 0, - "byteLength" : 34944, - "byteOffset" : 279812, - "target" : 34963 - }, - { - "buffer" : 0, - "byteLength" : 204, - "byteOffset" : 314756 - }, - { - "buffer" : 0, - "byteLength" : 612, - "byteOffset" : 314960 - }, - { - "buffer" : 0, - "byteLength" : 816, - "byteOffset" : 315572 - }, - { - "buffer" : 0, - "byteLength" : 612, - "byteOffset" : 316388 - }, - { - "buffer" : 0, - "byteLength" : 612, - "byteOffset" : 317000 - }, - { - "buffer" : 0, - "byteLength" : 816, - "byteOffset" : 317612 - }, - { - "buffer" : 0, - "byteLength" : 612, - "byteOffset" : 318428 - }, - { - "buffer" : 0, - "byteLength" : 612, - "byteOffset" : 319040 - }, - { - "buffer" : 0, - "byteLength" : 816, - "byteOffset" : 319652 - }, - { - "buffer" : 0, - "byteLength" : 612, - "byteOffset" : 320468 - }, - { - "buffer" : 0, - "byteLength" : 612, - "byteOffset" : 321080 - }, - { - "buffer" : 0, - "byteLength" : 816, - "byteOffset" : 321692 - }, - { - "buffer" : 0, - "byteLength" : 612, - "byteOffset" : 322508 - }, - { - "buffer" : 0, - "byteLength" : 612, - "byteOffset" : 323120 - }, - { - "buffer" : 0, - "byteLength" : 816, - "byteOffset" : 323732 - }, - { - "buffer" : 0, - "byteLength" : 612, - "byteOffset" : 324548 - }, - { - "buffer" : 0, - "byteLength" : 612, - "byteOffset" : 325160 - }, - { - "buffer" : 0, - "byteLength" : 816, - "byteOffset" : 325772 - }, - { - "buffer" : 0, - "byteLength" : 612, - "byteOffset" : 326588 - }, - { - "buffer" : 0, - "byteLength" : 612, - "byteOffset" : 327200 - }, - { - "buffer" : 0, - "byteLength" : 816, - "byteOffset" : 327812 - }, - { - "buffer" : 0, - "byteLength" : 612, - "byteOffset" : 328628 - }, - { - "buffer" : 0, - "byteLength" : 612, - "byteOffset" : 329240 - }, - { - "buffer" : 0, - "byteLength" : 816, - "byteOffset" : 329852 - }, - { - "buffer" : 0, - "byteLength" : 612, - "byteOffset" : 330668 - }, - { - "buffer" : 0, - "byteLength" : 612, - "byteOffset" : 331280 - }, - { - "buffer" : 0, - "byteLength" : 816, - "byteOffset" : 331892 - }, - { - "buffer" : 0, - "byteLength" : 612, - "byteOffset" : 332708 - }, - { - "buffer" : 0, - "byteLength" : 612, - "byteOffset" : 333320 - }, - { - "buffer" : 0, - "byteLength" : 816, - "byteOffset" : 333932 - }, - { - "buffer" : 0, - "byteLength" : 612, - "byteOffset" : 334748 - }, - { - "buffer" : 0, - "byteLength" : 612, - "byteOffset" : 335360 - }, - { - "buffer" : 0, - "byteLength" : 816, - "byteOffset" : 335972 - }, - { - "buffer" : 0, - "byteLength" : 612, - "byteOffset" : 336788 - }, - { - "buffer" : 0, - "byteLength" : 612, - "byteOffset" : 337400 - }, - { - "buffer" : 0, - "byteLength" : 816, - "byteOffset" : 338012 - }, - { - "buffer" : 0, - "byteLength" : 612, - "byteOffset" : 338828 - }, - { - "buffer" : 0, - "byteLength" : 612, - "byteOffset" : 339440 - }, - { - "buffer" : 0, - "byteLength" : 816, - "byteOffset" : 340052 - }, - { - "buffer" : 0, - "byteLength" : 612, - "byteOffset" : 340868 - }, - { - "buffer" : 0, - "byteLength" : 612, - "byteOffset" : 341480 - }, - { - "buffer" : 0, - "byteLength" : 816, - "byteOffset" : 342092 - }, - { - "buffer" : 0, - "byteLength" : 612, - "byteOffset" : 342908 - }, - { - "buffer" : 0, - "byteLength" : 612, - "byteOffset" : 343520 - }, - { - "buffer" : 0, - "byteLength" : 816, - "byteOffset" : 344132 - }, - { - "buffer" : 0, - "byteLength" : 612, - "byteOffset" : 344948 - }, - { - "buffer" : 0, - "byteLength" : 612, - "byteOffset" : 345560 - }, - { - "buffer" : 0, - "byteLength" : 816, - "byteOffset" : 346172 - }, - { - "buffer" : 0, - "byteLength" : 612, - "byteOffset" : 346988 - }, - { - "buffer" : 0, - "byteLength" : 612, - "byteOffset" : 347600 - }, - { - "buffer" : 0, - "byteLength" : 816, - "byteOffset" : 348212 - }, - { - "buffer" : 0, - "byteLength" : 612, - "byteOffset" : 349028 - }, - { - "buffer" : 0, - "byteLength" : 612, - "byteOffset" : 349640 - }, - { - "buffer" : 0, - "byteLength" : 816, - "byteOffset" : 350252 - }, - { - "buffer" : 0, - "byteLength" : 612, - "byteOffset" : 351068 - }, - { - "buffer" : 0, - "byteLength" : 612, - "byteOffset" : 351680 - }, - { - "buffer" : 0, - "byteLength" : 816, - "byteOffset" : 352292 - }, - { - "buffer" : 0, - "byteLength" : 612, - "byteOffset" : 353108 - }, - { - "buffer" : 0, - "byteLength" : 612, - "byteOffset" : 353720 - }, - { - "buffer" : 0, - "byteLength" : 816, - "byteOffset" : 354332 - }, - { - "buffer" : 0, - "byteLength" : 612, - "byteOffset" : 355148 - }, - { - "buffer" : 0, - "byteLength" : 612, - "byteOffset" : 355760 - }, - { - "buffer" : 0, - "byteLength" : 816, - "byteOffset" : 356372 - }, - { - "buffer" : 0, - "byteLength" : 612, - "byteOffset" : 357188 - }, - { - "buffer" : 0, - "byteLength" : 612, - "byteOffset" : 357800 - }, - { - "buffer" : 0, - "byteLength" : 816, - "byteOffset" : 358412 - }, - { - "buffer" : 0, - "byteLength" : 612, - "byteOffset" : 359228 - }, - { - "buffer" : 0, - "byteLength" : 612, - "byteOffset" : 359840 - }, - { - "buffer" : 0, - "byteLength" : 816, - "byteOffset" : 360452 - }, - { - "buffer" : 0, - "byteLength" : 612, - "byteOffset" : 361268 - }, - { - "buffer" : 0, - "byteLength" : 612, - "byteOffset" : 361880 - }, - { - "buffer" : 0, - "byteLength" : 816, - "byteOffset" : 362492 - }, - { - "buffer" : 0, - "byteLength" : 612, - "byteOffset" : 363308 - }, - { - "buffer" : 0, - "byteLength" : 612, - "byteOffset" : 363920 - }, - { - "buffer" : 0, - "byteLength" : 816, - "byteOffset" : 364532 - }, - { - "buffer" : 0, - "byteLength" : 612, - "byteOffset" : 365348 - }, - { - "buffer" : 0, - "byteLength" : 612, - "byteOffset" : 365960 - }, - { - "buffer" : 0, - "byteLength" : 816, - "byteOffset" : 366572 - }, - { - "buffer" : 0, - "byteLength" : 612, - "byteOffset" : 367388 - }, - { - "buffer" : 0, - "byteLength" : 612, - "byteOffset" : 368000 - }, - { - "buffer" : 0, - "byteLength" : 816, - "byteOffset" : 368612 - }, - { - "buffer" : 0, - "byteLength" : 612, - "byteOffset" : 369428 - }, - { - "buffer" : 0, - "byteLength" : 612, - "byteOffset" : 370040 - }, - { - "buffer" : 0, - "byteLength" : 816, - "byteOffset" : 370652 - }, - { - "buffer" : 0, - "byteLength" : 612, - "byteOffset" : 371468 - }, - { - "buffer" : 0, - "byteLength" : 612, - "byteOffset" : 372080 - }, - { - "buffer" : 0, - "byteLength" : 816, - "byteOffset" : 372692 - }, - { - "buffer" : 0, - "byteLength" : 612, - "byteOffset" : 373508 - }, - { - "buffer" : 0, - "byteLength" : 612, - "byteOffset" : 374120 - }, - { - "buffer" : 0, - "byteLength" : 816, - "byteOffset" : 374732 - }, - { - "buffer" : 0, - "byteLength" : 612, - "byteOffset" : 375548 - }, - { - "buffer" : 0, - "byteLength" : 612, - "byteOffset" : 376160 - }, - { - "buffer" : 0, - "byteLength" : 816, - "byteOffset" : 376772 - }, - { - "buffer" : 0, - "byteLength" : 612, - "byteOffset" : 377588 - }, - { - "buffer" : 0, - "byteLength" : 612, - "byteOffset" : 378200 - }, - { - "buffer" : 0, - "byteLength" : 816, - "byteOffset" : 378812 - }, - { - "buffer" : 0, - "byteLength" : 612, - "byteOffset" : 379628 - }, - { - "buffer" : 0, - "byteLength" : 612, - "byteOffset" : 380240 - }, - { - "buffer" : 0, - "byteLength" : 816, - "byteOffset" : 380852 - }, - { - "buffer" : 0, - "byteLength" : 612, - "byteOffset" : 381668 - }, - { - "buffer" : 0, - "byteLength" : 612, - "byteOffset" : 382280 - }, - { - "buffer" : 0, - "byteLength" : 816, - "byteOffset" : 382892 - }, - { - "buffer" : 0, - "byteLength" : 612, - "byteOffset" : 383708 - }, - { - "buffer" : 0, - "byteLength" : 612, - "byteOffset" : 384320 - }, - { - "buffer" : 0, - "byteLength" : 816, - "byteOffset" : 384932 - }, - { - "buffer" : 0, - "byteLength" : 612, - "byteOffset" : 385748 - }, - { - "buffer" : 0, - "byteLength" : 612, - "byteOffset" : 386360 - }, - { - "buffer" : 0, - "byteLength" : 816, - "byteOffset" : 386972 - }, - { - "buffer" : 0, - "byteLength" : 612, - "byteOffset" : 387788 - }, - { - "buffer" : 0, - "byteLength" : 612, - "byteOffset" : 388400 - }, - { - "buffer" : 0, - "byteLength" : 816, - "byteOffset" : 389012 - }, - { - "buffer" : 0, - "byteLength" : 612, - "byteOffset" : 389828 - }, - { - "buffer" : 0, - "byteLength" : 612, - "byteOffset" : 390440 - }, - { - "buffer" : 0, - "byteLength" : 816, - "byteOffset" : 391052 - }, - { - "buffer" : 0, - "byteLength" : 612, - "byteOffset" : 391868 - }, - { - "buffer" : 0, - "byteLength" : 612, - "byteOffset" : 392480 - }, - { - "buffer" : 0, - "byteLength" : 816, - "byteOffset" : 393092 - }, - { - "buffer" : 0, - "byteLength" : 612, - "byteOffset" : 393908 - }, - { - "buffer" : 0, - "byteLength" : 612, - "byteOffset" : 394520 - }, - { - "buffer" : 0, - "byteLength" : 816, - "byteOffset" : 395132 - }, - { - "buffer" : 0, - "byteLength" : 612, - "byteOffset" : 395948 - }, - { - "buffer" : 0, - "byteLength" : 612, - "byteOffset" : 396560 - }, - { - "buffer" : 0, - "byteLength" : 816, - "byteOffset" : 397172 - }, - { - "buffer" : 0, - "byteLength" : 612, - "byteOffset" : 397988 - }, - { - "buffer" : 0, - "byteLength" : 612, - "byteOffset" : 398600 - }, - { - "buffer" : 0, - "byteLength" : 816, - "byteOffset" : 399212 - }, - { - "buffer" : 0, - "byteLength" : 612, - "byteOffset" : 400028 - }, - { - "buffer" : 0, - "byteLength" : 612, - "byteOffset" : 400640 - }, - { - "buffer" : 0, - "byteLength" : 816, - "byteOffset" : 401252 - }, - { - "buffer" : 0, - "byteLength" : 612, - "byteOffset" : 402068 - }, - { - "buffer" : 0, - "byteLength" : 612, - "byteOffset" : 402680 - }, - { - "buffer" : 0, - "byteLength" : 816, - "byteOffset" : 403292 - }, - { - "buffer" : 0, - "byteLength" : 612, - "byteOffset" : 404108 - }, - { - "buffer" : 0, - "byteLength" : 612, - "byteOffset" : 404720 - }, - { - "buffer" : 0, - "byteLength" : 816, - "byteOffset" : 405332 - }, - { - "buffer" : 0, - "byteLength" : 612, - "byteOffset" : 406148 - }, - { - "buffer" : 0, - "byteLength" : 612, - "byteOffset" : 406760 - }, - { - "buffer" : 0, - "byteLength" : 816, - "byteOffset" : 407372 - }, - { - "buffer" : 0, - "byteLength" : 612, - "byteOffset" : 408188 - }, - { - "buffer" : 0, - "byteLength" : 612, - "byteOffset" : 408800 - }, - { - "buffer" : 0, - "byteLength" : 816, - "byteOffset" : 409412 - }, - { - "buffer" : 0, - "byteLength" : 612, - "byteOffset" : 410228 - }, - { - "buffer" : 0, - "byteLength" : 612, - "byteOffset" : 410840 - }, - { - "buffer" : 0, - "byteLength" : 816, - "byteOffset" : 411452 - }, - { - "buffer" : 0, - "byteLength" : 612, - "byteOffset" : 412268 - }, - { - "buffer" : 0, - "byteLength" : 612, - "byteOffset" : 412880 - }, - { - "buffer" : 0, - "byteLength" : 816, - "byteOffset" : 413492 - }, - { - "buffer" : 0, - "byteLength" : 612, - "byteOffset" : 414308 - }, - { - "buffer" : 0, - "byteLength" : 612, - "byteOffset" : 414920 - }, - { - "buffer" : 0, - "byteLength" : 816, - "byteOffset" : 415532 - }, - { - "buffer" : 0, - "byteLength" : 612, - "byteOffset" : 416348 - }, - { - "buffer" : 0, - "byteLength" : 612, - "byteOffset" : 416960 - }, - { - "buffer" : 0, - "byteLength" : 816, - "byteOffset" : 417572 - }, - { - "buffer" : 0, - "byteLength" : 612, - "byteOffset" : 418388 - }, - { - "buffer" : 0, - "byteLength" : 612, - "byteOffset" : 419000 - }, - { - "buffer" : 0, - "byteLength" : 816, - "byteOffset" : 419612 - }, - { - "buffer" : 0, - "byteLength" : 612, - "byteOffset" : 420428 - }, - { - "buffer" : 0, - "byteLength" : 612, - "byteOffset" : 421040 - }, - { - "buffer" : 0, - "byteLength" : 816, - "byteOffset" : 421652 - }, - { - "buffer" : 0, - "byteLength" : 612, - "byteOffset" : 422468 - }, - { - "buffer" : 0, - "byteLength" : 612, - "byteOffset" : 423080 - }, - { - "buffer" : 0, - "byteLength" : 816, - "byteOffset" : 423692 - }, - { - "buffer" : 0, - "byteLength" : 612, - "byteOffset" : 424508 - } - ], - "samplers" : [ - { - "magFilter" : 9729, - "minFilter" : 9987 - } - ], - "buffers" : [ - { - "byteLength" : 425120, - "uri" : "racoon.bin" - } - ] -} diff --git a/SHADE_Application/src/Application/SBApplication.cpp b/SHADE_Application/src/Application/SBApplication.cpp index e7dc3fb4..335acbbe 100644 --- a/SHADE_Application/src/Application/SBApplication.cpp +++ b/SHADE_Application/src/Application/SBApplication.cpp @@ -74,7 +74,11 @@ namespace Sandbox SHADE::SHComponentManager::CreateComponentSparseSet(); SHADE::SHComponentManager::CreateComponentSparseSet(); + //TODO: REMOVE AFTER PRESENTATION SHADE::SHAssetManager::LoadDataTemp("../../Assets/racoon.fbx"); + SHADE::SHAssetManager::LoadDataTemp("../../Assets/RaccoonBag_Color_Ver4.dds"); + SHADE::SHAssetManager::LoadDataTemp("../../Assets/RaccoonPreTexturedVer1_Base9.dds"); + //TODO: REMOVE AFTER PRESENTATION // Set up graphics system and windows graphicsSystem->SetWindow(&window); diff --git a/SHADE_Application/src/Scenes/SBTestScene.cpp b/SHADE_Application/src/Scenes/SBTestScene.cpp index 0caf3c7e..24f3f4cb 100644 --- a/SHADE_Application/src/Scenes/SBTestScene.cpp +++ b/SHADE_Application/src/Scenes/SBTestScene.cpp @@ -10,6 +10,8 @@ #include "Scripting/SHScriptEngine.h" #include "Math/Transform/SHTransformComponent.h" +#include "Assets/SHAssetManager.h" + using namespace SHADE; namespace Sandbox @@ -33,6 +35,23 @@ namespace Sandbox SHADE::SHGraphicsSystem* graphicsSystem = static_cast(SHADE::SHSystemManager::GetSystem()); // Create temp meshes const auto CUBE_MESH = SHADE::SHPrimitiveGenerator::Cube(*graphicsSystem); + //graphicsSystem->BuildMeshBuffers(); + + //Test Racoon mesh + auto meshes = SHADE::SHAssetManager::GetAllMeshes(); + std::vector> handles; + for (auto const& mesh : meshes) + { + handles.push_back(graphicsSystem->AddMesh( + mesh.header.vertexCount, + mesh.vertexPosition.data(), + mesh.texCoords.data(), + mesh.vertexTangent.data(), + mesh.vertexNormal.data(), + mesh.header.indexCount, + mesh.indices.data() + )); + } graphicsSystem->BuildMeshBuffers(); // Create Materials @@ -44,22 +63,33 @@ namespace Sandbox constexpr int NUM_COLS = 100; static const SHVec3 TEST_OBJ_SPACING = { 1.0f, 1.0f, 1.0f }; static const SHVec3 TEST_OBJ_START_POS = { - (NUM_COLS / 2 * TEST_OBJ_SPACING.x ), 0.0f, 0.0f }; - for (int z = 0; z < NUM_ROWS; ++z) - for (int x = 0; x < NUM_COLS; ++x) - { + //for (int z = 0; z < NUM_ROWS; ++z) + //for (int x = 0; x < NUM_COLS; ++x) + //{ + // auto entity = SHEntityManager::CreateEntity(); + // auto& renderable = *SHComponentManager::GetComponent_s(entity); + // auto& transform = *SHComponentManager::GetComponent_s(entity); + + // renderable.Mesh = handles.front(); + // renderable.SetMaterial(matInst); + + // // Set initial positions + // transform.SetWorldPosition(TEST_OBJ_START_POS + SHVec3{ x * TEST_OBJ_SPACING.x, 0.0f, z * TEST_OBJ_SPACING.z }); + // //transform.SetLocalScale(TEST_OBJ_SCALE); + + // stressTestObjects.emplace_back(entity); + //} + auto entity = SHEntityManager::CreateEntity(); auto& renderable = *SHComponentManager::GetComponent_s(entity); auto& transform = *SHComponentManager::GetComponent_s(entity); - renderable.Mesh = CUBE_MESH; + renderable.Mesh = handles.front(); renderable.SetMaterial(matInst); - // Set initial positions - transform.SetWorldPosition(TEST_OBJ_START_POS + SHVec3{ x * TEST_OBJ_SPACING.x, 0.0f, z * TEST_OBJ_SPACING.z }); //transform.SetLocalScale(TEST_OBJ_SCALE); stressTestObjects.emplace_back(entity); - } // Create blank entity with a script testObj = SHADE::SHEntityManager::CreateEntity(); diff --git a/SHADE_Engine/src/Assets/Libraries/SHDDSLoader.cpp b/SHADE_Engine/src/Assets/Libraries/SHDDSLoader.cpp index bcd7b65b..32eab9a9 100644 --- a/SHADE_Engine/src/Assets/Libraries/SHDDSLoader.cpp +++ b/SHADE_Engine/src/Assets/Libraries/SHDDSLoader.cpp @@ -26,25 +26,13 @@ namespace SHADE } } - void SHDDSLoader::LoadImageAsset(std::vector const& paths, std::vector& images) + void SHDDSLoader::LoadImageAsset(AssetPath path, SHDDSAsset& asset) { - std::vector result; tinyddsloader::Result loadResult = tinyddsloader::Result::Success; - AssetPath lastPath; - for (auto const& path : paths) + loadResult = asset.image.Load(path.string().c_str()); + if (loadResult != tinyddsloader::Result::Success) { - if (loadResult == tinyddsloader::Result::Success) - { - result.emplace_back(); - } - else - { - SHLOG_ERROR("Unable to load DDS file: {} at {}", TinyDDSResultToString(loadResult), lastPath.string()); - } - loadResult = result.back().image.Load(path.string().c_str()); - lastPath = path; + SHLOG_ERROR("Unable to load DDS file: {} at {}", TinyDDSResultToString(loadResult), path.string()); } - - std::swap(images, result); } } diff --git a/SHADE_Engine/src/Assets/Libraries/SHDDSLoader.h b/SHADE_Engine/src/Assets/Libraries/SHDDSLoader.h index 4a136db4..e2bd734a 100644 --- a/SHADE_Engine/src/Assets/Libraries/SHDDSLoader.h +++ b/SHADE_Engine/src/Assets/Libraries/SHDDSLoader.h @@ -13,6 +13,6 @@ namespace SHADE private: static std::string TinyDDSResultToString(tinyddsloader::Result value); public: - static void LoadImageAsset(std::vector const& paths, std::vector& images); + static void LoadImageAsset(AssetPath paths, SHDDSAsset& image); }; } diff --git a/SHADE_Engine/src/Assets/Libraries/SHMeshLoader.cpp b/SHADE_Engine/src/Assets/Libraries/SHMeshLoader.cpp index 6f50d4dc..c1637e1f 100644 --- a/SHADE_Engine/src/Assets/Libraries/SHMeshLoader.cpp +++ b/SHADE_Engine/src/Assets/Libraries/SHMeshLoader.cpp @@ -14,7 +14,7 @@ namespace SHADE meshes.push_back(ProcessMesh(*mesh, scene)); } - for (size_t i{ 0 }; i < node.mNumMeshes; ++i) + for (size_t i{ 0 }; i < node.mNumChildren; ++i) { ProcessNode(*node.mChildren[i], scene, meshes); } @@ -85,7 +85,7 @@ namespace SHADE return result; } - bool SHMeshLoader::LoadMesh(std::vector& meshes, std::vector& images, AssetPath path) + bool SHMeshLoader::LoadMesh(std::vector& meshes, AssetPath path) { const aiScene* scene = aiImporter.ReadFile(path.string().c_str(), aiProcess_Triangulate @@ -111,11 +111,18 @@ namespace SHADE SHLOG_ERROR("ERROR in GLTF::ASSIMP: {}\nFile: {}", aiImporter.GetErrorString(), path.string()); return false; } - - for (size_t i {0}; i < scene->mNumTextures; ++i) - { - images.push_back(AssetPath(scene->mTextures[i]->mFilename.C_Str())); - } + //TODO MATERIALS FROM MESHES + //if (scene->HasMaterials()) + //{ + // for (int i{0}; i < scene->mNumMaterials; ++i) + // { + // if (scene->mMaterials[i]->mNumProperties > 0) + // { + // for (int j{0}; j < scene->mMaterials[i]->mProperties[j].) + // } + //std::cout << scene->mMaterials[i]->; + // } + //} ProcessNode(*scene->mRootNode, *scene, meshes); diff --git a/SHADE_Engine/src/Assets/Libraries/SHMeshLoader.h b/SHADE_Engine/src/Assets/Libraries/SHMeshLoader.h index 8580102e..fc8b548a 100644 --- a/SHADE_Engine/src/Assets/Libraries/SHMeshLoader.h +++ b/SHADE_Engine/src/Assets/Libraries/SHMeshLoader.h @@ -16,6 +16,6 @@ namespace SHADE static SHMeshAsset ProcessMesh(aiMesh const& mesh, aiScene const& scene); public: - static bool LoadMesh(std::vector& meshes, std::vector& images, AssetPath path); + static bool LoadMesh(std::vector& meshes, AssetPath path); }; } \ No newline at end of file diff --git a/SHADE_Engine/src/Assets/SHAssetMacros.h b/SHADE_Engine/src/Assets/SHAssetMacros.h index 4a90cd58..b8940d3e 100644 --- a/SHADE_Engine/src/Assets/SHAssetMacros.h +++ b/SHADE_Engine/src/Assets/SHAssetMacros.h @@ -70,7 +70,7 @@ enum class AssetType : uint8_t #define PREFAB_EXTENSION ".SHPrefab" #define MATERIAL_EXTENSION ".SHMat" #define TEXTURE_EXTENSION ".dds" -#define MESH_EXTENSION ".gltf" +#define MESH_EXTENSION ".fbx" std::string const EXTENSIONS[] = { AUDIO_EXTENSION, diff --git a/SHADE_Engine/src/Assets/SHAssetManager.cpp b/SHADE_Engine/src/Assets/SHAssetManager.cpp index b5d701db..ac05df59 100644 --- a/SHADE_Engine/src/Assets/SHAssetManager.cpp +++ b/SHADE_Engine/src/Assets/SHAssetManager.cpp @@ -199,17 +199,41 @@ namespace SHADE { AssetPath path{ p }; - LoadGLTF( - { - .name {path.filename().string()}, - .id {0}, - .type {AssetType::MESH}, - .path {path}, - .location {0} - } - ); + if (path.extension().string() == MESH_EXTENSION) + { + LoadGLTF( + { + .name {path.filename().string()}, + .id {0}, + .type {AssetType::MESH}, + .path {path}, + .location {0} + } + ); + } + else if (path.extension().string() == TEXTURE_EXTENSION) + { + LoadDDS( + { + .name {path.filename().string()}, + .id {0}, + .type {AssetType::DDS}, + .path {path}, + .location {0} + } + ); + } + } - SHLOG_INFO("Loaded meshes\n"); + std::vector SHAssetManager::GetAllMeshes() noexcept + { + std::vector result; + for (auto const& mesh : meshCollection) + { + result.push_back(mesh.second); + } + + return result; } /**************************************************************************** @@ -259,24 +283,22 @@ namespace SHADE void SHAssetManager::LoadGLTF(SHAsset asset) noexcept { std::vector meshes; - std::vector imagePaths; - std::vector images; - SHMeshLoader::LoadMesh(meshes, imagePaths, asset.path); - SHDDSLoader::LoadImageAsset(imagePaths, images); - - //TODO Recognise new meshes as asset as well and write mesh into binary - //TODO + SHMeshLoader::LoadMesh(meshes, asset.path); for (auto const& mesh : meshes) { meshCollection.emplace(GenerateAssetID(AssetType::MESH), mesh); } + } - for (auto const& image : images) - { - ddsCollection.emplace(GenerateAssetID(AssetType::DDS), image); - } + void SHAssetManager::LoadDDS(SHAsset asset) noexcept + { + SHDDSAsset image; + + SHDDSLoader::LoadImageAsset(asset.path, image); + + ddsCollection.emplace(GenerateAssetID(AssetType::DDS), image); } /**************************************************************************** diff --git a/SHADE_Engine/src/Assets/SHAssetManager.h b/SHADE_Engine/src/Assets/SHAssetManager.h index f9ebe6f3..8547e9e3 100644 --- a/SHADE_Engine/src/Assets/SHAssetManager.h +++ b/SHADE_Engine/src/Assets/SHAssetManager.h @@ -72,6 +72,7 @@ namespace SHADE //TODO: TEMPORARY FOR TESTING GLTF & DDS static void LoadDataTemp(std::string path) noexcept; + static std::vector GetAllMeshes() noexcept; private: /**************************************************************************** @@ -116,6 +117,7 @@ namespace SHADE // Specialised load calls static void LoadGLTF(SHAsset asset) noexcept; + static void LoadDDS(SHAsset asset) noexcept; static FMOD::System* audioSystem; static std::unordered_map* audioSoundList;