-How to Refine a Shot –
PART1: Before start to show my workflow to Refine a Shot I need to do a quick explanation of the main tools of the Graph Editor (for Beginners), here the main topic:
– Introduction to the Graph Editor
– Main Useful Tools
– Create a Cycle Animation
– How to Bake an Animation
– Quick fix gimbal Lock and Flipping with Euler Filter
In the Tutorial I used the “Alya’s Rig” https://www.facebook.com/AlyaRig/
PART2: I will use an animation I made a while ago to show you my workflow when I have to refine a shot! 😉 ANIMATION SHOT
In the Tutorial I used the “Eleven Rig” http://elevenrig.blogspot.it/
“Refine a Shot – Graph Editor” – RECAP (BEGINNERS)
First of all, it’s not something you have to be scared of!
I know exactly how you feel when you open it for the first time, ’cause when I started this job, I tried to avoid it as mush as possible, I found it too
…. “technical”, I had the feeling to lose part of my instinct and I always preferred to work directly in the viewport, like “I don’t care how my curves look like! The animation works so ….it doesn’t matter!” but…in hindsight, now that I’m used to work with it and I know how useful and important is to make beautiful animation, I would like to show you and explain the Graph Editor in the easiest way, so that you can focus on the important aspects and you don’t be too much intimidated by it!
When you have your keys on the timeline, open the Graph Editor
Window –> Animation Editors –> Graph Editor
(I’M USING MAYA 2015, so … if you have other versions you may find it a bit visually different!)
Like any other panel you can click in the button right angle to scale it and adjust it as you want
Or, you can change the layout of you view scene by choosing the Persp/Graph option and you will have the view scene splitted in 2 windows: with your camera in the upper part (in this case you have the persp but you can change it with the camera you prefer) and the Graph Editor below. By clicking in the middle you can change the size of the windows
Select all the controls of your character and … as you can see your animation is visualized in the Graph Editor as CURVES
Each curve is the rapresentation of the motion of the different axis, that you can see on the left
You can select each axis one by one, or select multiple axis by keeping press shift!
To Move in the Graph Editor, just do as with the viewport navigation:
- Pan: press Alt or Option and middle-drag
- Zoom: press Alt or Option and right-drag
To Fit the entire curve in the window: point on the graph editor and press A
If you want to zoom on a part of the curves: select the keys and press F
I’m going to show you the tools you’ll use most of the time from this menu:
When you have an animation and you want to create a cycle (a walk cycle or anything else you need to loop) the first thing to do is to open the Graph Editor and switch on the Infinity to visualize the cycle from VIEW –> INFINITY
then… select the curves and from the menu Curves turn on the cycle on both Pre Infinity and Post Infinity. In this way you will cycle before and after your first and last keys
an other type of cycle you can use is the CYCLE with OFFSET, in this case when you have the first and last keys values different (for example like in a walk cycle forward, or in a cycle in place when you move forward the main control with the first and last keys with different values) the cycle starts from the values of the last and the first keys (in a progressive way)
If you want to take off the cycle: just select Curves –> Pre and Post Infinity –> Constant
in some cases you will need to bake your animation: this means that the software will convert each frame in keyframe (this is useful in case you need to convert in keyframe a cycle or to keyframe a constraint, or to export your animation for a game engine and other cases)
to bake the keys, go on CURVES –> BAKE CHANNEL and open the options:
here you can choose which part of the animation you want to bake: you can decide to bake a range of frames based on your current time slider or to chose a range typing the start and the end.
And the interval between the keys: you decide if have a keys any 1/2/3 or more frames
this is not the only way to fix a Gimbal Lock or a Flipping rotation issues, and it doesn’t work always, but it works in many cases! 😉
so, if you have this type of issues you can try to use the EULER FILTER: you can see in the graph editor the curve with the issue (should be pretty visible :P)
select the keys and go to CURVES –> EULER FILTER!
This is my personal workflow when I go to refine an animation.
I’ll use this animation I made a while ago, this is the final version
For a matter of time I’ll show just a little part of the animation and this is the blocking I started from
If I’m sure that the blocking works well, that everything is readable, that I have the right timing, appealing poses (nice and readable) that perfectly fit’s the character mood …..so… when the biggest part is done, what we are going to see in the shot is already there, I just need to refine the animation: make everything fluid, polish the curves, adjust the spacing, offset some parts and add some details!
I set in spline (or auto tangent) all the keys and…let’s see how it looks like
if you have done good blocking (adding the right keys in the right position, with a good timing) when you’ll convert your tangents in spline, the result should be something enough clear and polished! 😉
BUT … if you just started to animate recently…you may have something more chaotic the first times!
Some animator tends to add too much key poses during the blocking, two many acting choices or too much breakdowns and in-betweens, and when they convert in spline … the graph editor is a bit confusing! Sometimes they have to delate most of the blocking and re-do the work, so here some tips for your blocking:
so don’t be angry if the first times you will have something more confusing, you’ll get used to it with the experience! 😉
My version already works but the movements are a bit robotic the character needs life and a bit of love ! (Don’t care about the lip-sync ’cause I just added some poses in the BLK and I’ll try do do an entire lesson just for the lip-sync ’cause it would take too much time)
the first thing I’ll go to adjust is the:
for example: the first movement is too slow, everything starts to move too soon so I want to keep the first pose for more frame. But I don’t want to freeze it, I just go to slow it down!
In the timeline I quickly add keys and move them back or forth to edit the spacing! This will make the process faster, ’cause after that… I’ll go to clean them in the graph editor but I already have the right spacing to work with and is also faster ’cause in this way I can move all the controls at the same time and not one by one
after I worked on the timeline, I go to clean and adjust the curves in the graph editor, trying to smooth the motion.
Now I will adjust the Moving Holds at the end of a movement, slowing down the spacing in the final part! To do that I add an in-between before the last key pose, with a value really close to the final one, so the animation stops more softly.
If you reach the final position too fast and then you don’t keep a bit of motion (a great motion and suddenly a flat curve with no motion at all) the resault will be an abrupt stop and very mechanic motion.
If the stop is too slow (so if we have too much motion at the end) the result is not realistic anyway and would result too floaty
Now I go to add Follow-through and Overlap offsetting same parts, example:
- offset the upper torso from the middle torso, the neck from the torso, the head from the neck
- the same for the arm, I need to offset the forearm, from the arm, the wrist from the forearm, and the fingers from the wrist
- same for the leg, shin offsetted compare to leg, foot offsetted from the shin, and toes from the foot
after the blocking I have all the keys on the same frames, so each part of the body reacts, starts to move and ends the motion at the same time, on the same frame with exactly the same timing! We need to add variation, ’cause each part would react in a different way and time!
To offset the keys I just select all of them (a controller at the time) and I drag them forward in the graph editor or directly in the timeline as much frames as I need, then I adjust the curves in the graph editor and I add some in-betweens when necessary (adjusting shapes, arcs etc)
Then I add more Breakdowns: I add the blinks where needed or I simply adjust them, I animate the squash for the head and I check my arcs!
I want to be sure that each movement follows a nice path: the arm, the head, the chest…you can use motion trail to visualize the paths of your movements and adjust them to create smooth and nice arcs!
To use the motion trail you have to select the control of the parts of the body you want to check, and in the Animation Tab, go on Animate —> Create Editable Motion Trails and then turn on the visibility from Show —> Motion Trails
the software will displays a red line that is your path of action. Anytime we move the control (so we change the position), the trail changes. You can also turn on the handles to adjust the arc. In this example you can also see a motion trail displaying a figure 8 path, that is very used in animation, for example for the swing of the arms during a walk.
Why arcs are so important? Most of the movement should create an arc in their path of action, this makes the animation more fluid and more realistic!
BUT There some particular cases where straight paths are necessary so … always keep in mind the type of animation you are doing and make your decision based on that.
In the in-betweens and breakdowns you can use deformers to adjust the shapes to better follow the arc.
before the arms stops I added this little settle back and forth ‘cause the gesture is pretty fast and strong, so adding a simple slowing down at the end would take off a bit of power from the gesture, resulting too soft! I already have a smooth and slow movement before, when she moves the pencil while she thinks and stalling before make the question, so… it’s more interesting to break this rhythm adding a faster and stronger movement when she finish the question, also the contrast with the soft bended arm before and this straight rigid line at the end helps to emphasize the acting!
What is a settle at the end of a motion? Some type of movements need to settle after the stop! A sort of soft or strong rebound back and forth
An object reaches a forward position, then goes back and forth 1 or more times!
If the object (or the character) is composed by different parts, they will stop at different time and different way to settle!
Now I add a bit of movement to each part of the body, this because we should always move the entire body!
A human body is composed by parts connected to each other and each part has an influence on the closest one!
So even if with very subtle movements, in most of the cases we should consider that when we animate a part this should affect an other one.
In my blocking I didn’t add any movement to the right arm, it’s totally freezed in position and also there’s no movement to the lower part of the body, the hip, ’cause this parts actually don’t do nothing, but they need to react anyway! Something soft, but enough to make it part of a body in motion, and not a separate object and also to add vitality to the entire animation!
I look throw each poses to be sure that are nice and readable, I use deformers if necessary to adjust arm and legs shapes
I check if there’s some compenetrations with props and environments or with the body itself!
I check the eyes, the more important part to make a character alive, eyes are so important, the look have to be focused on something (unless the character is thinking to something, or…other particular cases where the eyes just stares off) I check the pupils position, when a look is on a side, keep attention to don’t put the pupil too inward, it’s unnatural, and we lose the characters life! So keep at least half of the pupils visible!
I go to add all the little details at the end, like the offset of the prop, the pencil, that must has a bit of delay compared to the hand movement. I add the hair animation and….that’s it!
I hope this video helps a bit to show you how useful the graph editor can be, and how to approach refine to make your animation looks better! 🙂