summaryrefslogtreecommitdiffstats
path: root/tests/manual/animation-keyframe-simple/cubeanimation.json
diff options
context:
space:
mode:
Diffstat (limited to 'tests/manual/animation-keyframe-simple/cubeanimation.json')
-rw-r--r--tests/manual/animation-keyframe-simple/cubeanimation.json333
1 files changed, 248 insertions, 85 deletions
diff --git a/tests/manual/animation-keyframe-simple/cubeanimation.json b/tests/manual/animation-keyframe-simple/cubeanimation.json
index addf92907..3faff409c 100644
--- a/tests/manual/animation-keyframe-simple/cubeanimation.json
+++ b/tests/manual/animation-keyframe-simple/cubeanimation.json
@@ -1,87 +1,250 @@
{
"animations": [
- { "object": "Cube",
- "action": "CubeAction",
- "range": [0.0, 60.0],
- "groups": [
- { "group": "Location",
- "channels": [
- { "name": "x",
- "keyframes": [
- { "co": [0.0, 0.0],
- "handle_left": [-0.4717472394307454, 0.0],
- "handle_right": [0.4717472394307454, 0.0]}
- ,{ "co": [1.2083333333333333, 2.430499792098999],
- "handle_left": [0.7365860939025879, 1.4711904525756836],
- "handle_right": [1.696347713470459, 3.42288875579834]}
- ,{ "co": [2.4583333333333335, 5.0],
- "handle_left": [1.9703189531962078, 5.0],
- "handle_right": [2.9463475545247397, 5.0]}
- ]}
- ,{ "name": "z",
- "keyframes": [
- { "co": [0.0, 0.0],
- "handle_left": [-0.4717472394307454, 0.0],
- "handle_right": [0.4717472394307454, 0.0]}
- ,{ "co": [1.2083333333333333, 0.0],
- "handle_left": [0.7365860939025879, 0.0],
- "handle_right": [1.696347713470459, 0.0]}
- ,{ "co": [2.4583333333333335, 0.0],
- "handle_left": [1.9703189531962078, 0.0],
- "handle_right": [2.9463475545247397, 0.0]}
- ]}
- ,{ "name": "y",
- "keyframes": [
- { "co": [0.0, 0.0],
- "handle_left": [-0.4717472394307454, 0.0],
- "handle_right": [0.4717472394307454, 0.0]}
- ,{ "co": [1.2083333333333333, 3.0],
- "handle_left": [0.7365860939025879, 3.0],
- "handle_right": [1.696347713470459, 3.0]}
- ,{ "co": [2.4583333333333335, 0.0],
- "handle_left": [1.9703189531962078, 0.0],
- "handle_right": [2.9463475545247397, 0.0]}
- ]}
- ]}
- ,{ "group": "Rotation",
- "channels": [
- { "name": "w",
- "keyframes": [
- { "co": [0.0, 1.0],
- "handle_left": [-0.9597616195678711, 1.0],
- "handle_right": [0.9597616195678711, 1.0]}
- ,{ "co": [2.4583333333333335, -4.371138828673793e-08],
- "handle_left": [1.4985717137654622, -4.371138828673793e-08],
- "handle_right": [3.4180949529012046, -4.371138828673793e-08]}
- ]}
- ,{ "name": "x",
- "keyframes": [
- { "co": [0.0, 0.0],
- "handle_left": [-0.9597616195678711, 0.0],
- "handle_right": [0.9597616195678711, 0.0]}
- ,{ "co": [2.4583333333333335, 0.0],
- "handle_left": [1.4985717137654622, 0.0],
- "handle_right": [3.4180949529012046, 0.0]}
- ]}
- ,{ "name": "z",
- "keyframes": [
- { "co": [0.0, -0.0],
- "handle_left": [-0.9597616195678711, -0.0],
- "handle_right": [0.9597616195678711, -0.0]}
- ,{ "co": [2.4583333333333335, -1.0],
- "handle_left": [1.4985717137654622, -1.0],
- "handle_right": [3.4180949529012046, -1.0]}
- ]}
- ,{ "name": "y",
- "keyframes": [
- { "co": [0.0, 0.0],
- "handle_left": [-0.9597616195678711, 0.0],
- "handle_right": [0.9597616195678711, 0.0]}
- ,{ "co": [2.4583333333333335, 0.0],
- "handle_left": [1.4985717137654622, 0.0],
- "handle_right": [3.4180949529012046, 0.0]}
- ]}
- ]}
- ]}
- ]
-}
+ {
+ "animationName": "CubeAction",
+ "channels": [
+ {
+ "channelComponents": [
+ {
+ "channelComponentName": "Location X",
+ "keyFrames": [
+ {
+ "coords": [
+ 0.0,
+ 0.0
+ ],
+ "leftHandle": [
+ -0.9597616195678711,
+ 0.0
+ ],
+ "rightHandle": [
+ 0.9597616195678711,
+ 0.0
+ ]
+ },
+ {
+ "coords": [
+ 2.4583333333333335,
+ 5.0
+ ],
+ "leftHandle": [
+ 1.4985717137654622,
+ 5.0
+ ],
+ "rightHandle": [
+ 3.4180949529012046,
+ 5.0
+ ]
+ }
+ ]
+ },
+ {
+ "channelComponentName": "Location Z",
+ "keyFrames": [
+ {
+ "coords": [
+ 0.0,
+ 0.0
+ ],
+ "leftHandle": [
+ -0.9597616195678711,
+ 0.0
+ ],
+ "rightHandle": [
+ 0.9597616195678711,
+ 0.0
+ ]
+ },
+ {
+ "coords": [
+ 2.4583333333333335,
+ 0.0
+ ],
+ "leftHandle": [
+ 1.4985717137654622,
+ 0.0
+ ],
+ "rightHandle": [
+ 3.4180949529012046,
+ 0.0
+ ]
+ }
+ ]
+ },
+ {
+ "channelComponentName": "Location Y",
+ "keyFrames": [
+ {
+ "coords": [
+ 0.0,
+ 0.0
+ ],
+ "leftHandle": [
+ -0.9597616195678711,
+ 0.0
+ ],
+ "rightHandle": [
+ 0.9597616195678711,
+ 0.0
+ ]
+ },
+ {
+ "coords": [
+ 2.4583333333333335,
+ 0.0
+ ],
+ "leftHandle": [
+ 1.4985717137654622,
+ 0.0
+ ],
+ "rightHandle": [
+ 3.4180949529012046,
+ 0.0
+ ]
+ }
+ ]
+ }
+ ],
+ "channelName": "Location"
+ },
+ {
+ "channelComponents": [
+ {
+ "channelComponentName": "Rotation W",
+ "keyFrames": [
+ {
+ "coords": [
+ 0.0,
+ 1.0
+ ],
+ "leftHandle": [
+ -0.9597616195678711,
+ 1.0
+ ],
+ "rightHandle": [
+ 0.9597616195678711,
+ 1.0
+ ]
+ },
+ {
+ "coords": [
+ 2.4583333333333335,
+ -4.371138828673793e-08
+ ],
+ "leftHandle": [
+ 1.4985717137654622,
+ -4.371138828673793e-08
+ ],
+ "rightHandle": [
+ 3.4180949529012046,
+ -4.371138828673793e-08
+ ]
+ }
+ ]
+ },
+ {
+ "channelComponentName": "Rotation X",
+ "keyFrames": [
+ {
+ "coords": [
+ 0.0,
+ 0.0
+ ],
+ "leftHandle": [
+ -0.9597616195678711,
+ 0.0
+ ],
+ "rightHandle": [
+ 0.9597616195678711,
+ 0.0
+ ]
+ },
+ {
+ "coords": [
+ 2.4583333333333335,
+ 0.0
+ ],
+ "leftHandle": [
+ 1.4985717137654622,
+ 0.0
+ ],
+ "rightHandle": [
+ 3.4180949529012046,
+ 0.0
+ ]
+ }
+ ]
+ },
+ {
+ "channelComponentName": "Rotation Z",
+ "keyFrames": [
+ {
+ "coords": [
+ 0.0,
+ -0.0
+ ],
+ "leftHandle": [
+ -0.9597616195678711,
+ -0.0
+ ],
+ "rightHandle": [
+ 0.9597616195678711,
+ -0.0
+ ]
+ },
+ {
+ "coords": [
+ 2.4583333333333335,
+ -1.0
+ ],
+ "leftHandle": [
+ 1.4985717137654622,
+ -1.0
+ ],
+ "rightHandle": [
+ 3.4180949529012046,
+ -1.0
+ ]
+ }
+ ]
+ },
+ {
+ "channelComponentName": "Rotation Y",
+ "keyFrames": [
+ {
+ "coords": [
+ 0.0,
+ 0.0
+ ],
+ "leftHandle": [
+ -0.9597616195678711,
+ 0.0
+ ],
+ "rightHandle": [
+ 0.9597616195678711,
+ 0.0
+ ]
+ },
+ {
+ "coords": [
+ 2.4583333333333335,
+ 0.0
+ ],
+ "leftHandle": [
+ 1.4985717137654622,
+ 0.0
+ ],
+ "rightHandle": [
+ 3.4180949529012046,
+ 0.0
+ ]
+ }
+ ]
+ }
+ ],
+ "channelName": "Rotation"
+ }
+ ]
+ }
+ ]
+} \ No newline at end of file