Pages

Friday, March 26, 2010

Blocking Keys Without Setting Keys!

Ok, so the title to this article may be a little exaggerated, but hey, I'm an animator and it is one of the principles of animation. I will also explain how the title is a white lie by the end of this article...

An important phase in most character animations is the blocking phase. This is where you focus on your golden poses, then phase into your keyframes, breakdowns, and finally, block in your extremes. Assuming you have your planning sketches handy, you would normally start at the beginning of the scene, setting a keyframe on every control while treating every key as drawing. After setting several poses, your timeline can easily become cluttered with red ticks representing your keyframes. If you wanted to adjust the timing of your animation, you would normally select all your controls and scale the keys either on your timeline or the dope sheet.

The Character Set
Aside from the usual workflow, Maya has built in tools, that if used properly, can allow us to focus on the blocking phase without having us worry much about what the computer is doing down at the key level. It is possible to abstract all your rigs' control curves into a single Character Set and capture Poses on a higher level.

 

The first step is to grab all the control curves on your character rig and navigate to Animation:Character:Create Character Set:Options. Name your set Poser. Select Poser as your current Character Set to the left of the Auto Keyframe Toggle button. Now that you have a Character Set active, navigate to Animation:Animate:Create Pose:Options. Name it bindPose.


The Visor

To see what just happened, open up the Visor by navigating to Window:General Editors:Visor and finding the Character Poses tab. From now on, when when pose your character, your poses will be stored here. If you would like to apply a pose or go back to the default pose you just created, RMB the pose in the Visor and select Apply Pose. Try posing your toon and storing a few of more poses to play with.



The Trax Editor

As you lay out all your key poses, it would be helpful to see them played in time. They are the building blocks of your animations after all. This is where non-linear animation tools comes to the rescue. Allow me to introduce the Trax Editor. This editor alone can fill several chapters in a book so I am only going to to skim the surface of what it can do. Basically, the Trax Editor can play your poses in time, blend them together, which is synonymous with tweening, group blended pieces into Animation Clips, allow you to layer, replace, cycle, mute, stretch, and time warp animations. That being said, let's jump right in.


Open the Trax Editor by navigating to Window:Animation Editors:Trax Editor. Since your current Character Set is selected, you will see a blue strip with the name of your set on it. Drag a pose from the Visor onto here. If you zoom into the block that you just created, you will notice that it will have the name of the pose, and a few numbers. We can overlook the numbers for now--they simply tell you how many cycles of this animation will be played, what percentage it is scaled in time, and how long it is being held for. Basically, if you pull the top right corner using the Shift key, you can extend your holds and if you pull the bottom right corner, you can cycle your animation. If you pull the bottom right corner without using the Shift key, you will scale the animation in time.You can check the Maya help files for more information.

If you were to drag another pose from your Visor onto the Trax timeline, you'll be able to play your blocked animation. Adjusted the timing and holds for each pose is as easy as dragging them around. To blend the poses, Shift+Select two of them on the track and click on the Create Blend button. This will have Maya tween the two poses for you. If you would like to adjust the anim curve in the Graph Editor, select the Blend arrow and navigate to View:Graph Anim Curves... and your animBlendInOut node will appear in the GE.


If you were to look at what is happening here behind the scenes in your Hypergraph, you would see a neatly integrated network of useful nodes making your life easier. Thank you Maya! If you marquee select all your poses and blended objects in the Trax Editor, you will noticed that each pose is indeed recorded with keys--you just didn't set them directly, but you set them nonetheless. This is why the title to this article is a white lie.

In order to be able to edit your animation directly in the Graph Editor, grab all the current poses in Trax and navigate to Edit:Merge:Options and name your animation. You are now left with a bunch of curves that need some cleaning up. You may now use the standard GE utilities to do this.


Best of all, you can treat this animation as a whole. If you would like to change the timing of it, try scaling the clip or applying a time warp node to it. You can also chop up this clip into little pieces and eat it for breakfast. After you do that, you can even merge it with new clips you create. If this is not enough, you can still set keys on the timeline during the refining stage of your animation to give it that extra polish.

Oh, one more thing, you can always go back to your controls and bake the channels if you do not want to work in the Trax Editor at some point. It is easy to go back and forth between these workflows.

I hope have you enjoyed this article as much as I had writing it. Comments?

1 comment:

Note: Only a member of this blog may post a comment.