Last active
August 12, 2016 01:09
-
-
Save ryanbartley/51b73b27f3013713c9a4423446ed4303 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| -------------------------------------------------------------------------------------- | |
| Target UID; Cylinder name: Cylinder trans count: 5 | |
| Trans type: 1 Animation List Id: 15121024111196223619 | |
| Animation list: UniqueID(1000,0,1) | |
| Trans type: 2 Animation List Id: 7254564494236738206 | |
| Animation list: UniqueID(1000,3,1) | |
| Trans type: 2 Animation List Id: 2561621927562181433 | |
| Animation list: UniqueID(1000,2,1) | |
| Trans type: 2 Animation List Id: 1367222604161228776 | |
| Animation list: UniqueID(1000,1,1) | |
| Trans type: 3 Animation List Id: 17342568380378954181 | |
| In AnimationList: SEPARATED X, Y, Z: | |
| About to mess with index: 0 3 size of targets: 1 | |
| animated target index: 0 | |
| TargetId: UniqueID(424,0,0) | |
| Path: translation transformId: UniqueID(1000,0,1) | |
| -------------------------------------------------------------------------------------- | |
| Target UID; Cylinder name: Cylinder trans count: 5 | |
| Trans type: 1 Animation List Id: 15121024111196223619 | |
| Animation list: UniqueID(1000,0,1) | |
| Trans type: 2 Animation List Id: 7254564494236738206 | |
| Animation list: UniqueID(1000,3,1) | |
| Trans type: 2 Animation List Id: 2561621927562181433 | |
| Animation list: UniqueID(1000,2,1) | |
| Trans type: 2 Animation List Id: 1367222604161228776 | |
| Animation list: UniqueID(1000,1,1) | |
| Trans type: 3 Animation List Id: 17342568380378954181 | |
| In AnimationList: SEPARATED X, Y, Z: | |
| About to mess with index: 1 4 size of targets: 1 | |
| animated target index: 0 | |
| TargetId: UniqueID(424,0,0) | |
| Path: translation transformId: UniqueID(1000,0,1) | |
| -------------------------------------------------------------------------------------- | |
| Target UID; Cylinder name: Cylinder trans count: 5 | |
| Trans type: 1 Animation List Id: 15121024111196223619 | |
| Animation list: UniqueID(1000,0,1) | |
| Trans type: 2 Animation List Id: 7254564494236738206 | |
| Animation list: UniqueID(1000,3,1) | |
| Trans type: 2 Animation List Id: 2561621927562181433 | |
| Animation list: UniqueID(1000,2,1) | |
| Trans type: 2 Animation List Id: 1367222604161228776 | |
| Animation list: UniqueID(1000,1,1) | |
| Trans type: 3 Animation List Id: 17342568380378954181 | |
| In AnimationList: SEPARATED X, Y, Z: | |
| About to mess with index: 2 5 size of targets: 1 | |
| animated target index: 0 | |
| TargetId: UniqueID(424,0,0) | |
| Path: translation transformId: UniqueID(1000,0,1) | |
| -------------------------------------------------------------------------------------- | |
| Target UID; Cylinder name: Cylinder trans count: 5 | |
| Trans type: 1 Animation List Id: 15121024111196223619 | |
| Animation list: UniqueID(1000,0,1) | |
| Trans type: 2 Animation List Id: 7254564494236738206 | |
| Animation list: UniqueID(1000,3,1) | |
| Trans type: 2 Animation List Id: 2561621927562181433 | |
| Animation list: UniqueID(1000,2,1) | |
| Trans type: 2 Animation List Id: 1367222604161228776 | |
| Animation list: UniqueID(1000,1,1) | |
| Trans type: 3 Animation List Id: 17342568380378954181 | |
| In AnimationList: ANGLE: | |
| animated target index: 0 | |
| TargetId: UniqueID(424,0,0) | |
| Path: rotation transformId: UniqueID(1000,1,1) | |
| -------------------------------------------------------------------------------------- | |
| Target UID; Cylinder name: Cylinder trans count: 5 | |
| Trans type: 1 Animation List Id: 15121024111196223619 | |
| Animation list: UniqueID(1000,0,1) | |
| Trans type: 2 Animation List Id: 7254564494236738206 | |
| Animation list: UniqueID(1000,3,1) | |
| Trans type: 2 Animation List Id: 2561621927562181433 | |
| Animation list: UniqueID(1000,2,1) | |
| Trans type: 2 Animation List Id: 1367222604161228776 | |
| Animation list: UniqueID(1000,1,1) | |
| Trans type: 3 Animation List Id: 17342568380378954181 | |
| In AnimationList: ANGLE: | |
| animated target index: 0 | |
| TargetId: UniqueID(424,0,0) | |
| Path: rotation transformId: UniqueID(1000,2,1) | |
| -------------------------------------------------------------------------------------- | |
| Target UID; Cylinder name: Cylinder trans count: 5 | |
| Trans type: 1 Animation List Id: 15121024111196223619 | |
| Animation list: UniqueID(1000,0,1) | |
| Trans type: 2 Animation List Id: 7254564494236738206 | |
| Animation list: UniqueID(1000,3,1) | |
| Trans type: 2 Animation List Id: 2561621927562181433 | |
| Animation list: UniqueID(1000,2,1) | |
| Trans type: 2 Animation List Id: 1367222604161228776 | |
| Animation list: UniqueID(1000,1,1) | |
| Trans type: 3 Animation List Id: 17342568380378954181 | |
| In AnimationList: ANGLE: | |
| animated target index: 0 | |
| TargetId: UniqueID(424,0,0) | |
| Path: rotation transformId: UniqueID(1000,3,1) | |
| -------------------------------------------------------------------------------------- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| GLTFAnimationFlattener(COLLADAFW::Node *node) { | |
| this->_transformsOrder = std::shared_ptr <std::vector<std::string> > (new std::vector<std::string>); | |
| const COLLADAFW::TransformationPointerArray& transformations = node->getTransformations(); | |
| size_t transformationsCount = transformations.getCount(); | |
| int index = 0; | |
| std::cout << "--------------------------------------------------------------------------------------" << std::endl; | |
| this->_hasAnimatedScale = this->_hasAnimatedTranslation = this->_hasAnimatedRotation = false; | |
| this->_targetUID = node->getOriginalId(); | |
| std::cout << "Target UID; " << this->_targetUID << " name: " << node->getName() << " trans count: " << transformationsCount << std::endl; | |
| _idIndex = (int*)malloc(sizeof(int) * transformationsCount); | |
| for (size_t i = 0 ; i < transformationsCount ; i++) { | |
| const COLLADAFW::Transformation* tr = transformations[i]; | |
| std::shared_ptr<COLLADAFW::Transformation> clonedTransform(tr->clone()); | |
| std::cout << "Trans type: " << clonedTransform->getTransformationType() << " Animation List Id: " << clonedTransform->getAnimationList() << std::endl; | |
| const COLLADAFW::UniqueId& animationListID = tr->getAnimationList(); | |
| if (animationListID.isValid()) { | |
| _idIndex[i] = index++; | |
| _idToTransform[animationListID.toAscii()] = clonedTransform; | |
| std::cout << "Animation list: " << animationListID.toAscii() << std::endl; | |
| this->_transformsOrder->push_back(animationListID.toAscii()); | |
| } else { | |
| _idIndex[i] = -1; | |
| } | |
| _originalTransforms.push_back(clonedTransform); | |
| } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Output from "Cylinder" Animation values contained in GLTF from below Collada file... | |
| 0.041666601 = [ 0.302, -0.060, 7.299] | |
| 1.125000000 = [ 0.302, -0.060, 7.267] | |
| 1.166669965 = [ 0.302, -0.060, 7.231] | |
| 1.208329916 = [ 0.302, -0.060, 7.185] | |
| 1.250000000 = [ 0.302, -0.060, 7.095] | |
| 1.291669965 = [ 0.302, -0.060, 7.022] | |
| 1.333329916 = [ 0.302, -0.060, 6.892] | |
| 1.375000119 = [ 0.302, -0.060, 6.792] | |
| 1.416669965 = [ 0.302, -0.060, 6.621] | |
| 1.458329916 = [ 0.302, -0.060, 6.494] | |
| 1.500000000 = [ 0.302, -0.060, 6.283] | |
| 1.541669965 = [ 0.302, -0.060, 6.130] | |
| 1.583329916 = [ 0.302, -0.060, 5.879] | |
| 1.625000119 = [ 0.302, -0.060, 5.698] | |
| 1.666669965 = [ 0.302, -0.060, 5.407] | |
| 1.708329916 = [ 0.302, -0.060, 5.200] | |
| 1.750000000 = [ 0.302, -0.060, 4.870] | |
| 1.791669965 = [ 0.302, -0.060, 4.636] | |
| 1.833329916 = [ 0.302, -0.060, 4.266] | |
| 1.875000119 = [ 0.302, -0.060, 4.005] | |
| 1.916669965 = [ 0.302, -0.060, 3.596] | |
| 1.958329916 = [ 0.302, -0.060, 3.309] | |
| 2.000000000 = [ 0.302, -0.060, 2.860] | |
| 2.041669846 = [ 0.302, -0.060, 2.547] | |
| 2.083329916 = [ 0.302, -0.060, 2.058] | |
| 2.125000000 = [ 0.021, 0.228, 7.307] | |
| 2.166669846 = [ 0.021, 0.228, 1.720] | |
| 2.208329916 = [ 0.045, 0.234, 1.318] | |
| 2.250000000 = [ 0.133, 0.244, 1.120] | |
| 2.291669846 = [ 0.217, 0.234, 0.999] | |
| 2.333329916 = [ 0.229, 0.208, 1.020] | |
| 2.375000000 = [ 0.254, 0.166, 1.046] | |
| 2.416669846 = [ 0.271, 0.155, 1.109] | |
| 2.458329916 = [ 0.295, 0.141, 1.182] | |
| 2.500000000 = [ 0.310, 0.132, 1.217] | |
| 2.541669846 = [ 0.333, 0.118, 1.249] | |
| 2.583329916 = [ 0.348, 0.108, 1.260] | |
| 2.625000238 = [ 0.368, 0.093, 1.261] | |
| 2.666669846 = [ 0.381, 0.083, 1.250] | |
| 2.708329916 = [ 0.399, 0.066, 1.216] | |
| 2.750000000 = [ 0.410, 0.055, 1.184] | |
| 2.791669846 = [ 0.425, 0.037, 1.121] | |
| 2.833329916 = [ 0.433, 0.023, 1.070] | |
| 2.875000238 = [ 0.437, -0.003, 0.995] | |
| 2.916669846 = [ 0.436, -0.017, 0.987] | |
| 2.958329916 = [ 0.434, -0.030, 0.990] | |
| 3.000000000 = [ 0.432, -0.038, 0.993] | |
| 3.041669846 = [ 0.430, -0.047, 0.994] | |
| 3.083329916 = [ 0.430, -0.051, 0.993] | |
| 3.125000238 = [ 0.429, -0.054, 0.990] | |
| 3.166669846 = [ 0.428, -0.055, 0.988] | |
| 3.208329916 = [ 0.426, -0.055, 0.983] | |
| 3.250000000 = [ 0.424, -0.055, 0.977] | |
| 3.291669846 = [ 0.422, -0.053, 0.964] | |
| 3.333329916 = [ 0.420, -0.052, 0.951] | |
| 3.375000238 = [ 0.414, -0.050, 0.932] | |
| 3.416669846 = [ 0.401, -0.050, 0.928] | |
| 3.458329916 = [ 0.383, -0.050, 0.921] | |
| 3.500000000 = [ 0.372, -0.050, 0.914] | |
| 3.541669846 = [ 0.357, -0.051, 0.904] | |
| 3.583329916 = [ 0.348, -0.052, 0.898] | |
| 3.625000238 = [ 0.336, -0.054, 0.892] | |
| 3.666669846 = [ 0.330, -0.057, 0.889] | |
| 3.708329916 = [ 0.322, -0.061, 0.888] | |
| 3.750000000 = [ 0.319, -0.065, 0.888] | |
| 3.791669846 = [ 0.320, -0.070, 0.889] | |
| 3.833329916 = [ 0.320, -0.073, 0.889] | |
| 3.875000238 = [ 0.319, -0.075, 0.889] | |
| 3.916669846 = [ 0.319, -0.076, 0.889] | |
| 3.958329916 = [ 0.319, -0.077, 0.888] | |
| 4.000000000 = [ 0.318, -0.077, 0.887] | |
| 4.041669846 = [ 0.317, -0.075, 0.884] | |
| 4.083329678 = [ 0.316, -0.074, 0.883] | |
| 4.125000000 = [ 0.314, -0.072, 0.880] | |
| 4.166669846 = [ 0.312, -0.070, 0.879] | |
| Collada file params: x and y are pretty wildly different and z is correct for the most part. | |
| <float_array id="Cylinder_location_X-output-array" count="75">0.02090656 0.02090656 0.04546189 0.1332108 0.2170181 0.2293071 0.2542362 0.2707944 0.2945037 0.3101611 0.333395 0.3479994 0.3681243 0.381008 0.3990322 0.4100202 0.424507 0.4325837 0.4373159 0.4361544 0.4340919 0.4321535 0.4302978 0.4301236 0.4293215 0.4280782 0.425526 0.4237735 0.4215618 0.4199597 0.4137144 0.4007499 0.3826149 0.3718687 0.3570323 0.3480902 0.3363901 0.3299301 0.3224856 0.3190035 0.3195462 0.3197214 0.3194155 0.3191319 0.3185341 0.3179417 0.3166917 0.3156545 0.3136737 0.3120791 0.3093492 0.3073046 0.304288 0.3022429 0.2991764 0.2973627 0.2951007 0.2940532 0.2929858 0.2927179 0.2928765 0.2933904 0.2946698 0.2957512 0.2975876 0.2988556 0.300648 0.3018441 0.3031778 0.3038226 0.3043734 0.3044415 0.3045468 0.3045542 0.303635</float_array> | |
| <float_array id="Cylinder_location_Y-output-array" count="75">0.2276139 0.2276139 0.2336291 0.2441797 0.2339596 0.2081746 0.1658177 0.1552007 0.141029 0.1316698 0.11776 0.1081881 0.09301739 0.08267122 0.06644546 0.05501902 0.03656494 0.02311885 -0.002900242 -0.01735615 -0.0301252 -0.03843355 -0.04737496 -0.05077272 -0.0537123 -0.05472767 -0.05522018 -0.05474847 -0.05299019 -0.05151653 -0.04955524 -0.04972767 -0.04991066 -0.04988694 -0.05066186 -0.05175381 -0.05437827 -0.05678063 -0.06122887 -0.06452947 -0.06984812 -0.07253205 -0.07519203 -0.07630914 -0.07693052 -0.07669776 -0.07548135 -0.07414335 -0.07158523 -0.06972199 -0.06698757 -0.06487405 -0.06176334 -0.05967783 -0.05708009 -0.05554443 -0.05351126 -0.05265313 -0.05190449 -0.05164211 -0.05159872 -0.05191576 -0.05294293 -0.05380696 -0.05533361 -0.05661278 -0.0588324 -0.06009137 -0.06215649 -0.06348598 -0.06523382 -0.06610298 -0.06684476 -0.06726771 -0.06725335</float_array> | |
| <float_array id="Cylinder_location_Z-output-array" count="100">7.307505 7.299331 7.266666 7.231307 7.185101 7.095483 7.02222 6.892087 6.79186 6.62135 6.494251 6.2835 6.129619 5.878765 5.698194 5.407372 5.200201 4.869547 4.635867 4.265517 4.005418 3.595506 3.309077 2.859738 2.547069 2.058436 1.719616 1.318228 1.12018 0.9985396 1.019506 1.045868 1.108943 1.182191 1.217081 1.248859 1.259668 1.260892 1.249695 1.216391 1.183728 1.120574 1.06979 0.994879 0.987302 0.9900516 0.9928113 0.9939113 0.9925513 0.9901626 0.9882455 0.9831846 0.9773963 0.9637715 0.9514023 0.931513 0.9278756 0.9207651 0.9137286 0.903787 0.8981404 0.8919053 0.8893106 0.8879313 0.8881447 0.8890728 0.8894012 0.8893222 0.8889391 0.8877434 0.8865886 0.8844538 0.8828425 0.8804697 0.8790391 0.8773373 0.8768086 0.876669 0.8770488 0.8777898 0.878286 0.8785275 0.878757 0.8784899 0.8779092 0.8765619 0.8754791 0.8736974 0.8725404 0.870981 0.8701813 0.869478 0.8690259 0.8690524 0.8692839 0.8696306 0.8698794 0.8699511 0.8697132 0.869037</float_array> | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| "animations": { | |
| "animation_0": { | |
| "channels": [ | |
| { | |
| "sampler": "animation_0_translation_sampler", | |
| "target": { | |
| "id": "Cylinder", | |
| "path": "translation" | |
| } | |
| } | |
| ], | |
| "parameters": { | |
| "TIME": "animAccessor_0", | |
| "translation": "animAccessor_1" | |
| }, | |
| "samplers": { | |
| "animation_0_translation_sampler": { | |
| "input": "TIME", | |
| "interpolation": "LINEAR", | |
| "output": "translation" | |
| } | |
| } | |
| }, | |
| "animation_1": { | |
| "channels": [], | |
| "parameters": { | |
| "TIME": "animAccessor_0" | |
| }, | |
| "samplers": {} | |
| }, | |
| "animation_10": { | |
| "channels": [], | |
| "parameters": { | |
| "TIME": "animAccessor_2" | |
| }, | |
| "samplers": {} | |
| }, | |
| "animation_11": { | |
| "channels": [], | |
| "parameters": { | |
| "TIME": "animAccessor_2" | |
| }, | |
| "samplers": {} | |
| }, | |
| "animation_12": { | |
| "channels": [ | |
| { | |
| "sampler": "animation_12_translation_sampler", | |
| "target": { | |
| "id": "Cylinder_002", | |
| "path": "translation" | |
| } | |
| } | |
| ], | |
| "parameters": { | |
| "TIME": "animAccessor_3", | |
| "translation": "animAccessor_4" | |
| }, | |
| "samplers": { | |
| "animation_12_translation_sampler": { | |
| "input": "TIME", | |
| "interpolation": "LINEAR", | |
| "output": "translation" | |
| } | |
| } | |
| }, | |
| "animation_13": { | |
| "channels": [], | |
| "parameters": { | |
| "TIME": "animAccessor_3" | |
| }, | |
| "samplers": {} | |
| }, | |
| "animation_14": { | |
| "channels": [], | |
| "parameters": { | |
| "TIME": "animAccessor_5" | |
| }, | |
| "samplers": {} | |
| }, | |
| "animation_15": { | |
| "channels": [ | |
| { | |
| "sampler": "animation_15_rotation_sampler", | |
| "target": { | |
| "id": "Cylinder_002", | |
| "path": "rotation" | |
| } | |
| } | |
| ], | |
| "parameters": { | |
| "TIME": "animAccessor_6", | |
| "rotation": "animAccessor_7" | |
| }, | |
| "samplers": { | |
| "animation_15_rotation_sampler": { | |
| "input": "TIME", | |
| "interpolation": "LINEAR", | |
| "output": "rotation" | |
| } | |
| } | |
| }, | |
| "animation_16": { | |
| "channels": [], | |
| "parameters": { | |
| "TIME": "animAccessor_8" | |
| }, | |
| "samplers": {} | |
| }, | |
| "animation_17": { | |
| "channels": [], | |
| "parameters": { | |
| "TIME": "animAccessor_9" | |
| }, | |
| "samplers": {} | |
| }, | |
| "animation_18": { | |
| "channels": [ | |
| { | |
| "sampler": "animation_18_translation_sampler", | |
| "target": { | |
| "id": "Cylinder_003", | |
| "path": "translation" | |
| } | |
| } | |
| ], | |
| "parameters": { | |
| "TIME": "animAccessor_10", | |
| "translation": "animAccessor_11" | |
| }, | |
| "samplers": { | |
| "animation_18_translation_sampler": { | |
| "input": "TIME", | |
| "interpolation": "LINEAR", | |
| "output": "translation" | |
| } | |
| } | |
| }, | |
| "animation_19": { | |
| "channels": [], | |
| "parameters": { | |
| "TIME": "animAccessor_10" | |
| }, | |
| "samplers": {} | |
| }, | |
| "animation_2": { | |
| "channels": [], | |
| "parameters": { | |
| "TIME": "animAccessor_12" | |
| }, | |
| "samplers": {} | |
| }, | |
| "animation_20": { | |
| "channels": [], | |
| "parameters": { | |
| "TIME": "animAccessor_12" | |
| }, | |
| "samplers": {} | |
| }, | |
| "animation_21": { | |
| "channels": [ | |
| { | |
| "sampler": "animation_21_rotation_sampler", | |
| "target": { | |
| "id": "Cylinder_003", | |
| "path": "rotation" | |
| } | |
| } | |
| ], | |
| "parameters": { | |
| "TIME": "animAccessor_10", | |
| "rotation": "animAccessor_13" | |
| }, | |
| "samplers": { | |
| "animation_21_rotation_sampler": { | |
| "input": "TIME", | |
| "interpolation": "LINEAR", | |
| "output": "rotation" | |
| } | |
| } | |
| }, | |
| "animation_22": { | |
| "channels": [], | |
| "parameters": { | |
| "TIME": "animAccessor_10" | |
| }, | |
| "samplers": {} | |
| }, | |
| "animation_23": { | |
| "channels": [], | |
| "parameters": { | |
| "TIME": "animAccessor_10" | |
| }, | |
| "samplers": {} | |
| }, | |
| "animation_24": { | |
| "channels": [ | |
| { | |
| "sampler": "animation_24_translation_sampler", | |
| "target": { | |
| "id": "Cylinder_004", | |
| "path": "translation" | |
| } | |
| } | |
| ], | |
| "parameters": { | |
| "TIME": "animAccessor_14", | |
| "translation": "animAccessor_15" | |
| }, | |
| "samplers": { | |
| "animation_24_translation_sampler": { | |
| "input": "TIME", | |
| "interpolation": "LINEAR", | |
| "output": "translation" | |
| } | |
| } | |
| }, | |
| "animation_25": { | |
| "channels": [], | |
| "parameters": { | |
| "TIME": "animAccessor_14" | |
| }, | |
| "samplers": {} | |
| }, | |
| "animation_26": { | |
| "channels": [], | |
| "parameters": { | |
| "TIME": "animAccessor_12" | |
| }, | |
| "samplers": {} | |
| }, | |
| "animation_27": { | |
| "channels": [ | |
| { | |
| "sampler": "animation_27_rotation_sampler", | |
| "target": { | |
| "id": "Cylinder_004", | |
| "path": "rotation" | |
| } | |
| } | |
| ], | |
| "parameters": { | |
| "TIME": "animAccessor_14", | |
| "rotation": "animAccessor_16" | |
| }, | |
| "samplers": { | |
| "animation_27_rotation_sampler": { | |
| "input": "TIME", | |
| "interpolation": "LINEAR", | |
| "output": "rotation" | |
| } | |
| } | |
| }, | |
| "animation_28": { | |
| "channels": [], | |
| "parameters": { | |
| "TIME": "animAccessor_14" | |
| }, | |
| "samplers": {} | |
| }, | |
| "animation_29": { | |
| "channels": [], | |
| "parameters": { | |
| "TIME": "animAccessor_14" | |
| }, | |
| "samplers": {} | |
| }, | |
| "animation_3": { | |
| "channels": [ | |
| { | |
| "sampler": "animation_3_rotation_sampler", | |
| "target": { | |
| "id": "Cylinder", | |
| "path": "rotation" | |
| } | |
| } | |
| ], | |
| "parameters": { | |
| "TIME": "animAccessor_0", | |
| "rotation": "animAccessor_17" | |
| }, | |
| "samplers": { | |
| "animation_3_rotation_sampler": { | |
| "input": "TIME", | |
| "interpolation": "LINEAR", | |
| "output": "rotation" | |
| } | |
| } | |
| }, | |
| "animation_30": { | |
| "channels": [ | |
| { | |
| "sampler": "animation_30_translation_sampler", | |
| "target": { | |
| "id": "Cylinder_005", | |
| "path": "translation" | |
| } | |
| } | |
| ], | |
| "parameters": { | |
| "TIME": "animAccessor_10", | |
| "translation": "animAccessor_18" | |
| }, | |
| "samplers": { | |
| "animation_30_translation_sampler": { | |
| "input": "TIME", | |
| "interpolation": "LINEAR", | |
| "output": "translation" | |
| } | |
| } | |
| }, | |
| "animation_31": { | |
| "channels": [], | |
| "parameters": { | |
| "TIME": "animAccessor_10" | |
| }, | |
| "samplers": {} | |
| }, | |
| "animation_32": { | |
| "channels": [], | |
| "parameters": { | |
| "TIME": "animAccessor_12" | |
| }, | |
| "samplers": {} | |
| }, | |
| "animation_33": { | |
| "channels": [ | |
| { | |
| "sampler": "animation_33_rotation_sampler", | |
| "target": { | |
| "id": "Cylinder_005", | |
| "path": "rotation" | |
| } | |
| } | |
| ], | |
| "parameters": { | |
| "TIME": "animAccessor_10", | |
| "rotation": "animAccessor_19" | |
| }, | |
| "samplers": { | |
| "animation_33_rotation_sampler": { | |
| "input": "TIME", | |
| "interpolation": "LINEAR", | |
| "output": "rotation" | |
| } | |
| } | |
| }, | |
| "animation_34": { | |
| "channels": [], | |
| "parameters": { | |
| "TIME": "animAccessor_10" | |
| }, | |
| "samplers": {} | |
| }, | |
| "animation_35": { | |
| "channels": [], | |
| "parameters": { | |
| "TIME": "animAccessor_10" | |
| }, | |
| "samplers": {} | |
| }, | |
| "animation_36": { | |
| "channels": [ | |
| { | |
| "sampler": "animation_36_translation_sampler", | |
| "target": { | |
| "id": "Cylinder_006", | |
| "path": "translation" | |
| } | |
| } | |
| ], | |
| "parameters": { | |
| "TIME": "animAccessor_0", | |
| "translation": "animAccessor_20" | |
| }, | |
| "samplers": { | |
| "animation_36_translation_sampler": { | |
| "input": "TIME", | |
| "interpolation": "LINEAR", | |
| "output": "translation" | |
| } | |
| } | |
| }, | |
| "animation_37": { | |
| "channels": [], | |
| "parameters": { | |
| "TIME": "animAccessor_0" | |
| }, | |
| "samplers": {} | |
| }, | |
| "animation_38": { | |
| "channels": [], | |
| "parameters": { | |
| "TIME": "animAccessor_12" | |
| }, | |
| "samplers": {} | |
| }, | |
| "animation_39": { | |
| "channels": [ | |
| { | |
| "sampler": "animation_39_rotation_sampler", | |
| "target": { | |
| "id": "Cylinder_006", | |
| "path": "rotation" | |
| } | |
| } | |
| ], | |
| "parameters": { | |
| "TIME": "animAccessor_0", | |
| "rotation": "animAccessor_21" | |
| }, | |
| "samplers": { | |
| "animation_39_rotation_sampler": { | |
| "input": "TIME", | |
| "interpolation": "LINEAR", | |
| "output": "rotation" | |
| } | |
| } | |
| }, | |
| "animation_4": { | |
| "channels": [], | |
| "parameters": { | |
| "TIME": "animAccessor_0" | |
| }, | |
| "samplers": {} | |
| }, | |
| "animation_40": { | |
| "channels": [], | |
| "parameters": { | |
| "TIME": "animAccessor_0" | |
| }, | |
| "samplers": {} | |
| }, | |
| "animation_41": { | |
| "channels": [], | |
| "parameters": { | |
| "TIME": "animAccessor_0" | |
| }, | |
| "samplers": {} | |
| }, | |
| "animation_42": { | |
| "channels": [ | |
| { | |
| "sampler": "animation_42_translation_sampler", | |
| "target": { | |
| "id": "Cylinder_007", | |
| "path": "translation" | |
| } | |
| } | |
| ], | |
| "parameters": { | |
| "TIME": "animAccessor_22", | |
| "translation": "animAccessor_23" | |
| }, | |
| "samplers": { | |
| "animation_42_translation_sampler": { | |
| "input": "TIME", | |
| "interpolation": "LINEAR", | |
| "output": "translation" | |
| } | |
| } | |
| }, | |
| "animation_43": { | |
| "channels": [], | |
| "parameters": { | |
| "TIME": "animAccessor_24" | |
| }, | |
| "samplers": {} | |
| }, | |
| "animation_44": { | |
| "channels": [], | |
| "parameters": { | |
| "TIME": "animAccessor_25" | |
| }, | |
| "samplers": {} | |
| }, | |
| "animation_45": { | |
| "channels": [ | |
| { | |
| "sampler": "animation_45_rotation_sampler", | |
| "target": { | |
| "id": "Cylinder_007", | |
| "path": "rotation" | |
| } | |
| } | |
| ], | |
| "parameters": { | |
| "TIME": "animAccessor_26", | |
| "rotation": "animAccessor_27" | |
| }, | |
| "samplers": { | |
| "animation_45_rotation_sampler": { | |
| "input": "TIME", | |
| "interpolation": "LINEAR", | |
| "output": "rotation" | |
| } | |
| } | |
| }, | |
| "animation_46": { | |
| "channels": [], | |
| "parameters": { | |
| "TIME": "animAccessor_28" | |
| }, | |
| "samplers": {} | |
| }, | |
| "animation_47": { | |
| "channels": [], | |
| "parameters": { | |
| "TIME": "animAccessor_29" | |
| }, | |
| "samplers": {} | |
| }, | |
| "animation_48": { | |
| "channels": [ | |
| { | |
| "sampler": "animation_48_translation_sampler", | |
| "target": { | |
| "id": "Cylinder_008", | |
| "path": "translation" | |
| } | |
| } | |
| ], | |
| "parameters": { | |
| "TIME": "animAccessor_30", | |
| "translation": "animAccessor_31" | |
| }, | |
| "samplers": { | |
| "animation_48_translation_sampler": { | |
| "input": "TIME", | |
| "interpolation": "LINEAR", | |
| "output": "translation" | |
| } | |
| } | |
| }, | |
| "animation_49": { | |
| "channels": [], | |
| "parameters": { | |
| "TIME": "animAccessor_32" | |
| }, | |
| "samplers": {} | |
| }, | |
| "animation_5": { | |
| "channels": [], | |
| "parameters": { | |
| "TIME": "animAccessor_0" | |
| }, | |
| "samplers": {} | |
| }, | |
| "animation_50": { | |
| "channels": [], | |
| "parameters": { | |
| "TIME": "animAccessor_33" | |
| }, | |
| "samplers": {} | |
| }, | |
| "animation_51": { | |
| "channels": [ | |
| { | |
| "sampler": "animation_51_rotation_sampler", | |
| "target": { | |
| "id": "Cylinder_008", | |
| "path": "rotation" | |
| } | |
| } | |
| ], | |
| "parameters": { | |
| "TIME": "animAccessor_34", | |
| "rotation": "animAccessor_35" | |
| }, | |
| "samplers": { | |
| "animation_51_rotation_sampler": { | |
| "input": "TIME", | |
| "interpolation": "LINEAR", | |
| "output": "rotation" | |
| } | |
| } | |
| }, | |
| "animation_52": { | |
| "channels": [], | |
| "parameters": { | |
| "TIME": "animAccessor_36" | |
| }, | |
| "samplers": {} | |
| }, | |
| "animation_53": { | |
| "channels": [], | |
| "parameters": { | |
| "TIME": "animAccessor_37" | |
| }, | |
| "samplers": {} | |
| }, | |
| "animation_54": { | |
| "channels": [ | |
| { | |
| "sampler": "animation_54_translation_sampler", | |
| "target": { | |
| "id": "Cylinder_009", | |
| "path": "translation" | |
| } | |
| } | |
| ], | |
| "parameters": { | |
| "TIME": "animAccessor_38", | |
| "translation": "animAccessor_39" | |
| }, | |
| "samplers": { | |
| "animation_54_translation_sampler": { | |
| "input": "TIME", | |
| "interpolation": "LINEAR", | |
| "output": "translation" | |
| } | |
| } | |
| }, | |
| "animation_55": { | |
| "channels": [], | |
| "parameters": { | |
| "TIME": "animAccessor_38" | |
| }, | |
| "samplers": {} | |
| }, | |
| "animation_56": { | |
| "channels": [], | |
| "parameters": { | |
| "TIME": "animAccessor_40" | |
| }, | |
| "samplers": {} | |
| }, | |
| "animation_57": { | |
| "channels": [ | |
| { | |
| "sampler": "animation_57_rotation_sampler", | |
| "target": { | |
| "id": "Cylinder_009", | |
| "path": "rotation" | |
| } | |
| } | |
| ], | |
| "parameters": { | |
| "TIME": "animAccessor_41", | |
| "rotation": "animAccessor_42" | |
| }, | |
| "samplers": { | |
| "animation_57_rotation_sampler": { | |
| "input": "TIME", | |
| "interpolation": "LINEAR", | |
| "output": "rotation" | |
| } | |
| } | |
| }, | |
| "animation_58": { | |
| "channels": [], | |
| "parameters": { | |
| "TIME": "animAccessor_43" | |
| }, | |
| "samplers": {} | |
| }, | |
| "animation_59": { | |
| "channels": [], | |
| "parameters": { | |
| "TIME": "animAccessor_44" | |
| }, | |
| "samplers": {} | |
| }, | |
| "animation_6": { | |
| "channels": [ | |
| { | |
| "sampler": "animation_6_translation_sampler", | |
| "target": { | |
| "id": "Cylinder_001", | |
| "path": "translation" | |
| } | |
| } | |
| ], | |
| "parameters": { | |
| "TIME": "animAccessor_0", | |
| "translation": "animAccessor_45" | |
| }, | |
| "samplers": { | |
| "animation_6_translation_sampler": { | |
| "input": "TIME", | |
| "interpolation": "LINEAR", | |
| "output": "translation" | |
| } | |
| } | |
| }, | |
| "animation_7": { | |
| "channels": [], | |
| "parameters": { | |
| "TIME": "animAccessor_2" | |
| }, | |
| "samplers": {} | |
| }, | |
| "animation_8": { | |
| "channels": [], | |
| "parameters": { | |
| "TIME": "animAccessor_46" | |
| }, | |
| "samplers": {} | |
| }, | |
| "animation_9": { | |
| "channels": [ | |
| { | |
| "sampler": "animation_9_rotation_sampler", | |
| "target": { | |
| "id": "Cylinder_001", | |
| "path": "rotation" | |
| } | |
| } | |
| ], | |
| "parameters": { | |
| "TIME": "animAccessor_2", | |
| "rotation": "animAccessor_47" | |
| }, | |
| "samplers": { | |
| "animation_9_rotation_sampler": { | |
| "input": "TIME", | |
| "interpolation": "LINEAR", | |
| "output": "rotation" | |
| } | |
| } | |
| } | |
| }, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| "animations": { | |
| "animation_0": { | |
| "channels": [ | |
| { | |
| "sampler": "animation_0_translation_sampler", | |
| "target": { | |
| "id": "Cylinder", | |
| "path": "translation" | |
| } | |
| } | |
| ], | |
| "parameters": { | |
| "TIME": "animAccessor_0", | |
| "translation": "animAccessor_1" | |
| }, | |
| "samplers": { | |
| "animation_0_translation_sampler": { | |
| "input": "TIME", | |
| "interpolation": "LINEAR", | |
| "output": "translation" | |
| } | |
| } | |
| }, | |
| "animation_3": { | |
| "channels": [ | |
| { | |
| "sampler": "animation_3_rotation_sampler", | |
| "target": { | |
| "id": "Cylinder", | |
| "path": "rotation" | |
| } | |
| } | |
| ], | |
| "parameters": { | |
| "TIME": "animAccessor_0", | |
| "rotation": "animAccessor_17" | |
| }, | |
| "samplers": { | |
| "animation_3_rotation_sampler": { | |
| "input": "TIME", | |
| "interpolation": "LINEAR", | |
| "output": "rotation" | |
| } | |
| } | |
| }, | |
| "animation_6": { | |
| "channels": [ | |
| { | |
| "sampler": "animation_6_translation_sampler", | |
| "target": { | |
| "id": "Cylinder_001", | |
| "path": "translation" | |
| } | |
| } | |
| ], | |
| "parameters": { | |
| "TIME": "animAccessor_0", | |
| "translation": "animAccessor_45" | |
| }, | |
| "samplers": { | |
| "animation_6_translation_sampler": { | |
| "input": "TIME", | |
| "interpolation": "LINEAR", | |
| "output": "translation" | |
| } | |
| } | |
| }, | |
| "animation_9": { | |
| "channels": [ | |
| { | |
| "sampler": "animation_9_rotation_sampler", | |
| "target": { | |
| "id": "Cylinder_001", | |
| "path": "rotation" | |
| } | |
| } | |
| ], | |
| "parameters": { | |
| "TIME": "animAccessor_2", | |
| "rotation": "animAccessor_47" | |
| }, | |
| "samplers": { | |
| "animation_9_rotation_sampler": { | |
| "input": "TIME", | |
| "interpolation": "LINEAR", | |
| "output": "rotation" | |
| } | |
| } | |
| } | |
| "animation_12": { | |
| "channels": [ | |
| { | |
| "sampler": "animation_12_translation_sampler", | |
| "target": { | |
| "id": "Cylinder_002", | |
| "path": "translation" | |
| } | |
| } | |
| ], | |
| "parameters": { | |
| "TIME": "animAccessor_3", | |
| "translation": "animAccessor_4" | |
| }, | |
| "samplers": { | |
| "animation_12_translation_sampler": { | |
| "input": "TIME", | |
| "interpolation": "LINEAR", | |
| "output": "translation" | |
| } | |
| } | |
| }, | |
| "animation_15": { | |
| "channels": [ | |
| { | |
| "sampler": "animation_15_rotation_sampler", | |
| "target": { | |
| "id": "Cylinder_002", | |
| "path": "rotation" | |
| } | |
| } | |
| ], | |
| "parameters": { | |
| "TIME": "animAccessor_6", | |
| "rotation": "animAccessor_7" | |
| }, | |
| "samplers": { | |
| "animation_15_rotation_sampler": { | |
| "input": "TIME", | |
| "interpolation": "LINEAR", | |
| "output": "rotation" | |
| } | |
| } | |
| }, | |
| "animation_18": { | |
| "channels": [ | |
| { | |
| "sampler": "animation_18_translation_sampler", | |
| "target": { | |
| "id": "Cylinder_003", | |
| "path": "translation" | |
| } | |
| } | |
| ], | |
| "parameters": { | |
| "TIME": "animAccessor_10", | |
| "translation": "animAccessor_11" | |
| }, | |
| "samplers": { | |
| "animation_18_translation_sampler": { | |
| "input": "TIME", | |
| "interpolation": "LINEAR", | |
| "output": "translation" | |
| } | |
| } | |
| }, | |
| "animation_21": { | |
| "channels": [ | |
| { | |
| "sampler": "animation_21_rotation_sampler", | |
| "target": { | |
| "id": "Cylinder_003", | |
| "path": "rotation" | |
| } | |
| } | |
| ], | |
| "parameters": { | |
| "TIME": "animAccessor_10", | |
| "rotation": "animAccessor_13" | |
| }, | |
| "samplers": { | |
| "animation_21_rotation_sampler": { | |
| "input": "TIME", | |
| "interpolation": "LINEAR", | |
| "output": "rotation" | |
| } | |
| } | |
| }, | |
| "animation_24": { | |
| "channels": [ | |
| { | |
| "sampler": "animation_24_translation_sampler", | |
| "target": { | |
| "id": "Cylinder_004", | |
| "path": "translation" | |
| } | |
| } | |
| ], | |
| "parameters": { | |
| "TIME": "animAccessor_14", | |
| "translation": "animAccessor_15" | |
| }, | |
| "samplers": { | |
| "animation_24_translation_sampler": { | |
| "input": "TIME", | |
| "interpolation": "LINEAR", | |
| "output": "translation" | |
| } | |
| } | |
| }, | |
| "animation_27": { | |
| "channels": [ | |
| { | |
| "sampler": "animation_27_rotation_sampler", | |
| "target": { | |
| "id": "Cylinder_004", | |
| "path": "rotation" | |
| } | |
| } | |
| ], | |
| "parameters": { | |
| "TIME": "animAccessor_14", | |
| "rotation": "animAccessor_16" | |
| }, | |
| "samplers": { | |
| "animation_27_rotation_sampler": { | |
| "input": "TIME", | |
| "interpolation": "LINEAR", | |
| "output": "rotation" | |
| } | |
| } | |
| }, | |
| "animation_30": { | |
| "channels": [ | |
| { | |
| "sampler": "animation_30_translation_sampler", | |
| "target": { | |
| "id": "Cylinder_005", | |
| "path": "translation" | |
| } | |
| } | |
| ], | |
| "parameters": { | |
| "TIME": "animAccessor_10", | |
| "translation": "animAccessor_18" | |
| }, | |
| "samplers": { | |
| "animation_30_translation_sampler": { | |
| "input": "TIME", | |
| "interpolation": "LINEAR", | |
| "output": "translation" | |
| } | |
| } | |
| }, | |
| "animation_33": { | |
| "channels": [ | |
| { | |
| "sampler": "animation_33_rotation_sampler", | |
| "target": { | |
| "id": "Cylinder_005", | |
| "path": "rotation" | |
| } | |
| } | |
| ], | |
| "parameters": { | |
| "TIME": "animAccessor_10", | |
| "rotation": "animAccessor_19" | |
| }, | |
| "samplers": { | |
| "animation_33_rotation_sampler": { | |
| "input": "TIME", | |
| "interpolation": "LINEAR", | |
| "output": "rotation" | |
| } | |
| } | |
| }, | |
| "animation_36": { | |
| "channels": [ | |
| { | |
| "sampler": "animation_36_translation_sampler", | |
| "target": { | |
| "id": "Cylinder_006", | |
| "path": "translation" | |
| } | |
| } | |
| ], | |
| "parameters": { | |
| "TIME": "animAccessor_0", | |
| "translation": "animAccessor_20" | |
| }, | |
| "samplers": { | |
| "animation_36_translation_sampler": { | |
| "input": "TIME", | |
| "interpolation": "LINEAR", | |
| "output": "translation" | |
| } | |
| } | |
| }, | |
| "animation_39": { | |
| "channels": [ | |
| { | |
| "sampler": "animation_39_rotation_sampler", | |
| "target": { | |
| "id": "Cylinder_006", | |
| "path": "rotation" | |
| } | |
| } | |
| ], | |
| "parameters": { | |
| "TIME": "animAccessor_0", | |
| "rotation": "animAccessor_21" | |
| }, | |
| "samplers": { | |
| "animation_39_rotation_sampler": { | |
| "input": "TIME", | |
| "interpolation": "LINEAR", | |
| "output": "rotation" | |
| } | |
| } | |
| }, | |
| "animation_42": { | |
| "channels": [ | |
| { | |
| "sampler": "animation_42_translation_sampler", | |
| "target": { | |
| "id": "Cylinder_007", | |
| "path": "translation" | |
| } | |
| } | |
| ], | |
| "parameters": { | |
| "TIME": "animAccessor_22", | |
| "translation": "animAccessor_23" | |
| }, | |
| "samplers": { | |
| "animation_42_translation_sampler": { | |
| "input": "TIME", | |
| "interpolation": "LINEAR", | |
| "output": "translation" | |
| } | |
| } | |
| }, | |
| "animation_45": { | |
| "channels": [ | |
| { | |
| "sampler": "animation_45_rotation_sampler", | |
| "target": { | |
| "id": "Cylinder_007", | |
| "path": "rotation" | |
| } | |
| } | |
| ], | |
| "parameters": { | |
| "TIME": "animAccessor_26", | |
| "rotation": "animAccessor_27" | |
| }, | |
| "samplers": { | |
| "animation_45_rotation_sampler": { | |
| "input": "TIME", | |
| "interpolation": "LINEAR", | |
| "output": "rotation" | |
| } | |
| } | |
| }, | |
| "animation_48": { | |
| "channels": [ | |
| { | |
| "sampler": "animation_48_translation_sampler", | |
| "target": { | |
| "id": "Cylinder_008", | |
| "path": "translation" | |
| } | |
| } | |
| ], | |
| "parameters": { | |
| "TIME": "animAccessor_30", | |
| "translation": "animAccessor_31" | |
| }, | |
| "samplers": { | |
| "animation_48_translation_sampler": { | |
| "input": "TIME", | |
| "interpolation": "LINEAR", | |
| "output": "translation" | |
| } | |
| } | |
| }, | |
| "animation_51": { | |
| "channels": [ | |
| { | |
| "sampler": "animation_51_rotation_sampler", | |
| "target": { | |
| "id": "Cylinder_008", | |
| "path": "rotation" | |
| } | |
| } | |
| ], | |
| "parameters": { | |
| "TIME": "animAccessor_34", | |
| "rotation": "animAccessor_35" | |
| }, | |
| "samplers": { | |
| "animation_51_rotation_sampler": { | |
| "input": "TIME", | |
| "interpolation": "LINEAR", | |
| "output": "rotation" | |
| } | |
| } | |
| }, | |
| "animation_54": { | |
| "channels": [ | |
| { | |
| "sampler": "animation_54_translation_sampler", | |
| "target": { | |
| "id": "Cylinder_009", | |
| "path": "translation" | |
| } | |
| } | |
| ], | |
| "parameters": { | |
| "TIME": "animAccessor_38", | |
| "translation": "animAccessor_39" | |
| }, | |
| "samplers": { | |
| "animation_54_translation_sampler": { | |
| "input": "TIME", | |
| "interpolation": "LINEAR", | |
| "output": "translation" | |
| } | |
| } | |
| }, | |
| "animation_57": { | |
| "channels": [ | |
| { | |
| "sampler": "animation_57_rotation_sampler", | |
| "target": { | |
| "id": "Cylinder_009", | |
| "path": "rotation" | |
| } | |
| } | |
| ], | |
| "parameters": { | |
| "TIME": "animAccessor_41", | |
| "rotation": "animAccessor_42" | |
| }, | |
| "samplers": { | |
| "animation_57_rotation_sampler": { | |
| "input": "TIME", | |
| "interpolation": "LINEAR", | |
| "output": "rotation" | |
| } | |
| } | |
| }, | |
| }, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment