SPLINE CURVES, or just “splines” (or even just “curves”), are the lifeblood of computer animation. They're a surprisingly efficient and comprehensive method of representing motion. Much of your time animating will be spent perusing these little red, blue, and green intertwined curves, so it makes sense to get comfortable with them. This chapter is all about facilitating your comfort.
Opening the Graph editor to what looks like a spaghetti dinner gone bad can be intimidating, but we'll make understanding splines a quick study. We'll go through the simple concepts that make reading them easy and powerful. Then we'll try out some cheats on editing splines that will have you wrangling them under control in no time. Get ready to meet your new best friends in animation!
U NDERSTANDING HOW SPLINES display their information is the key to making them work for you. Some beginner animators are intimidated when they see all those intertwined curves, but the concepts behind them are really quite straightforward. It takes a little practice to make it second nature, but only a few moments to really grasp the concepts we'll go over in this cheat. In no time, you will find that they are a surprisingly elegant way of working with your animation, and understanding them thoroughly will quickly create a noticeable improvement in your work. The main idea with splines is that they represent changes in value over time. As the curve travels to the right, frames are ticking by. As the curve rises and falls, it's an increase (travelling up) or decrease (travelling down) in the value of the attribute. If the curve changes direction, as it does at the middle key in the following diagram, the object it represents will change direction. The thing to remember, and where it's easy to get confused, is that up and down do not necessarily correspond to up and down for what you are seeing in the viewport. That may seem counterintuitive at first, but it has to do with how the character rig is set up and there are many possible scenarios with that. For some attributes, like translate Y, the curve will actually look like what the body part is doing, but most don't. The thing to take from this cheat is that up and down are simply changes in value, not a direct visual correlation to what you see in the viewport.
HowSplinesWork.ma
When you first start working with splines, one of the best things to do is have both a viewport and Graph Editor open. Instead of manipulating the character with the tools or channel box, move the keys in the Graph Editor and observe how it affects the character. Then do the opposite, moving the character in the viewport and observing the changes in the splines. This will help you learn how everything correlates.
Every character can be rigged differently. While rotating this one's arm up in Z increases the negative value of the attribute, another could increase the positive. That's why it's important to get a grasp on up-down simply representing value, not direction.
LET'S TAKE A MORE IN-DEPTH look at how changes in our spline curves affect the spacing of a motion. If the curve's direction over a given range of frames is mainly horizontal, the value is not changing much. Therefore the attribute will be moving very little in the viewport.
If the direction over the frame range is predominantly vertical, a larger change in value is happening and the movement will be large.
Finally, if the curve is perfectly horizontal for a frame range, that curve's attribute will hold perfectly still, as there is no change in value. We'll try some things in this cheat that will make these ideas perfectly clear.
Throughout this cheat, we'll make some pretty stark changes in the speed of the movement while never changing the number of frames it happens over (timing). Timing and spacing are intertwined, but problems in spacing tend to be less forgiving than the number of frames you're using.
TimingSpacing.ma
To track the spacing of a movement, many animators use dry erase markers right on their monitor. If your monitor is an LCD, put clear plastic over it to avoid staining the screen, and press very gently. CRT monitors should be fine as-is, since they have glass screens.
We'll go over spline technique in later cheats, but it's good practice to avoid letting curves drift past the value of a key where it changes direction, like in step 11. Curves that do this are much more trouble to edit predictably.
TANGENTS AND THE STYLES AVAILABLE in Maya are the other side of understanding splines. If you've used graphics programs like Illustrator, tangents will be familiar to you. They're the handles that exist around a keyframe and are used to adjust the curve's angle and direction before and after the key. As we've just seen in the previous cheats, the curve's slopes have a profound effect on the animation's spacing, so having a solid grasp on how tangents work is invaluable.
Maya has several different tangent types, which are really just preset angles for the handles (albeit useful ones). The handles are completely customizable, and Maya's tangent types are mostly a starting point. Using only the “out-of-the-box” tangent types tends to make the motion look very “CG” and uninteresting. However, knowing which ones will bring you most of the way to your desired result will go a long way towards speeding up your workflow.
Here we'll take a look at Maya's tangent types and what sort of situations they're best for. The icon with the “A” over it is the AutoTangent function, which is a great time saver. This isn't a tangent type per se, it's a setting that will adjust your keys' tangents automatically depending on their location. Keys at the extremes (wherever a change in curve direction happens) will be flat, while transitional keys (keys where the curve is the same direction on both sides) will be smooth. As you edit the keys, the tangents will automatically orient to whatever situation they're in. Awesome!
TangentTypes.ma
Once you're refining an animation, you usually won't use one tangent type for all keys, but rather the appropriate type for the particular key and situation you're working on.
Plateau, clamped, or auto tangents are the best all-around choice when you're moving out of stepped blocking into splined curves. They're a great starting point since you don't have to worry about cleaning up overshoots, and manually making transitional keys spline and extreme keys flat.
NOW THAT WE HAVE A GOOD UNDERSTANDING of Maya's tangent types, we can look at customizing the handles to create any type of curve we want. Maya's tangent handles offer the most flexibility of any animation/graphics program, so we should obviously take advantage of this power. Keep thinking about the spacing you want for your animation, then how a spline should look when it has that spacing, and use the handles to make it happen.
There are two types of tangent handles: weighted, and non-weighted. We'll go over them in this cheat, but they're really just styles of working and all up to preference in the end. Everything we talk about here is simply a way to get differing levels of control using the tangent handles. Note that I didn't say more control! Any curve shape you can get using handles you can also get by using more keyframes. At the end of the day, it's up to you and how you like working, so experiment with everything. My philosophy is it's best to get a handle (ahem) on all of the tools available, and then pick the best one for the job at hand.
TangentHandles.ma
As powerful as tangent handles can be, they do add another layer of complexity to your spline editing. Don't break handles or free their weights needlessly. Using the simplest solution is always the best.
If you're new to animation, it may be a good idea to hold off on a lot of tangent handle weighting and breaking. Once you learn to control the animation using only keys, it will be much easier to understand what the handles are doing to the spacing.
Y OU NOW HAVE a good grasp of the capabilities splines have and how you can approach using them, so let's go over some things that can tighten up your spline workflow. We're all about making things easier here, and there are a few tendencies splines have which can sabotage that. Having good spline technique means you have control, and that means you're making the animation look the way you want, not the way the computer happens to do it.
As I've said before, none of these things are really rules and there will be situations where actually doing them may be the best approach. But those are the exceptions and for general guidelines, especially if you're still becoming acclimated to splines, this cheat will go a long way towards helping you get ahead.
SplineTechnique.ma
As awesome as the new AutoTangent functionality is, don't let it make you lazy! In the end it's still spacing and slow ins or outs generated by a computer algorithm. It will get your curves closer to what you want with less work, but you still need to maintain control of what the computer is doing. Finely calibrated curves are the mark of a great animator.
W E'VE SEEN THAT SPLINES are simple tools, yet capable of describing any movement with pinpoint accuracy. It takes some practice to make looking at them second nature, and as you keep animating, you'll get better at reading them. One thing many beginning animators don't realize at first is that reading splines is just recognizing common shapes. An ease in will always look pretty much the same as far as the general spline shape goes. The size and angle of the shape will simply determine how big (or small) of an ease in it is. You know when a circle is a circle regardless of how large or small it is. It's really the same idea.
The file for this cheat, SplineReference.ma, contains six spline shape examples that you can use as a reference for common animation spacings. Every 50 frames has a separate animation and description. Move the time range slider to start at frames 1, 50, 100, 150, 200, and 250 to see each one. The upper arm's Rotate Z curve has the animation. Memorizing these shapes will make looking at the Graph Editor an enlightening experience, rather than a puzzling one. Happy wrangling!
SplineReference.ma
Adding an extra key to shape your ease outs and ease ins will really help make them better. Maya's default eases are always the same ratio and tend to feel a bit flat timing-wise.
Linear tangents are a great starting point for any key where an object is hitting another and ricocheting off of it, such as when a bouncing ball hits the ground.
THESE DAYS, THE NUMBER of animation programs out there has young artists' heads spinning. Traditional colleges have added animation curriculums by the dozens, film schools have followed in lock-step, and it seemed the minute online animation training was en vogue, as a result of trailblazers www.AnimationMentor.com, a handful of similar programs sprouted around the globe. Is animation a skill that you can teach yourself and still be competitive in this burgeoning industry? I think so! But there are many common pitfalls and blunders that the self-taught animator must try to avoid if they want to make it to the big leagues one day.
Let's say you want to go it alone. I am entirely self-taught, just by the way. If you think this could work for you, congratulations, but let's start off with some tips that should hopefully keep you on your feet. First off, there really is no such thing as “entirely self-taught.” Okay, so I lied. You got me. What I mean is, animation is a medium that is made for consumption. If you are only animating in a vacuum, you'll never learn how to engage an audience. Viewers of your work will be left with a totally cold feeling; animation made just for oneself is a really lonely thing to behold. So if you are teaching yourself animation at the very least you need constant feedback from your peers or another audience.
Where do you go for the best feedback? Wherever there is a big audience willing to help. For me, it was posting at least five times a day on my favorite forums. Over three years, I had 5000+ posts. This kind of immersion in the craft does wonders for the speed of your learning. What happens is, the more you teach, the faster you master the concepts yourself. So giving feedback on forums is actually a very selfish thing to do! So, find a forum (for animation, the ones at www.11secondclub.com are fantastic, and for general CG, forums.cgsociety.org has an immense user base. See “Giving Feedback” on page 244 for more suggestions.) Once you have registered, put together a post with an introduction to your work. Put a couple of different pieces in there and ask for feedback on all of it. You may not actually be looking for feedback on anything you posted but you can see who comments right away on a newbie's animation. These people are going to become your best friends. Actually I've met three or four people who I knew only “digitally” when I was a member of the forums. They've all turned out to be great animators and great people. Take a second when you meet a few people on the forums to look at their old posts – maybe there's some animation that they posted for feedback, and you can oblige them. Basically, get to know your audience, and start right away looking critically at animation for the purpose of training your animation eye.
Once feedback is squared away, are you ready to really work hard to learn? Are you disciplined enough to ‘chew the fat’ of the early animation tests like a bouncing ball, a flour sack, a pendulum, a ball with a tail? Or are you a gung-ho animation daredevil that wants to start your education with a four-character, multi-shot dialogue sequence? SLOW DOWN! One of the biggest traps that snares beginner animators is the temptation to try to produce feature-quality animation from the get-go. This will have disastrous results. The most discouraging experience you can put yourself through is starting and stopping scene after scene, when you decide that the animation is not turning out good enough. For some reason, students of animation have a false sense of how much time and effort it takes to produce quality animation, even after they've been at it for years! To give you some perspective, it was about five years into my personal training before I was producing animation that I thought was at least worth showing to a company on a demo reel (VHS at the time!). And it was about three years after THAT I got my first feature animation job. So keep things in perspective, and don't try to create Pixarquality work when you are just starting out. Would you be disappointed if you didn't hit a home run your first time playing baseball? Would you be disappointed if you didn't win an Oscar with your first film? Then don't base your assessment of your current skill on the ULTIMATE goal!
Create some SHORT-TERM goals that you know you can achieve. You will feel the enjoyment of creating something start to finish and a sense of accomplishment that you hit a goal. Even though you know the goal is short term and was set at an easily achievable level, you'll still feel a lot better about your progress than attempting and failing at a really difficult shot. After enough of these little shots, you may be ready to move on to something more complex. But don't go too fast! I whole-heartedly support the idea of doing many bouncing-ball and flour-sack-type character shots before even attempting a shot with a biped or other complex character. There is an extra benefit to doing these tests with simple characters; you will become very well versed in using simple shapes to convey intent and meaning. When you finally are ready for bipeds and complex characters, the amount of practice you have creating performances from simple, inanimate objects will mean your humans and animals will ALWAYS look alive and meaningful. Their body language will be stronger because you had to create a complex idea using very simple shapes; now that you have limbs to work with, everything just got easier. The motion will also be more unified and appealing; again, practicing with simple shapes means that you are looking at the overall composition and body positions of your bipeds and creating stellar staging.
You will of course need learning materials. Books like this one (ahem) are great, and there are many free and paid resources online that offer tutorials and walkthroughs; like www.kennyroy.com (double ahem). But whatever resources you use to learn the techniques of animation, you'll need a constant flow of ideas for shots to animate. That's why I highly endorse the “Mini-Challenges” that go on over at www.11secondclub.com's forums, as well as the “Animation Sessions” on forums. cgsociety.org. The advantage of participating in these is two-fold: first, the constant practice will make you improve very quickly. Second, the fact that you are taking an outside idea and animating it replicates a production environment very closely. As animators, we rarely get to work on something that is 100 percent our own creation, so these challenges will give you valuable practice as a real animator.
The great thing about animation is that many of the skills required to be a great animator are free and easy to practice. Observing humans in public places is free and easy. Watching animated films and framing through the awesome shots is about as fun as it gets. Practicing acting out shots in front of a mirror is not only a great way to spend a Saturday afternoon, but it will improve your performance choices in your shots immensely. So before you think of any excuses, know that as a dedicated student of animation, you can always be busy learning what you need to rise to the top. Now, if you are indeed looking for a school, there are a few criteria that I think you should take into account.
Many city colleges and small trade schools add “CG” or “Computer animation” to their class lists, and then hire an animator or generalist to come in and teach the course. I've seen the job postings for these positions increase more and more each year. The problem is that, in all but a few cases, this person is a professional animator or 3D artist with little or no teaching experience. In nearly all cases, there is also no set curriculum and nobody is thinking or planning on how to make sure students are learning a logical and applicable progression of skills in these courses. In effect, these schools are just trying to offer a course they know will be popular. They are taking advantage of a trend. On the other hand, these courses can be EXTREMELY good value if the instructor is talented and thoughtful. Since city colleges and small trade schools are generally cheaper, getting training in animation from a professional who does have a course path in mind can be the best bang for your buck. Just be very careful choosing a course at a school like this. Look for schools that have had the course for a long time, and see if you can see how long the instructor has been teaching the course.
Large universities have their advantages and disadvantages as well. The main advantage is you know there is a curriculum and a path to graduation that has been pored over by the faculty. The main disadvantage (for some) is that you may be required to take general education credits and be paying high tuition while doing so. It's a tradeoff. Most accomplished animators are well educated and certainly well rounded. On the other hand, I've also met many animators, myself included, who only have a high school diploma. One of the other main factors for you might be financial. If animation is offered at a university and they have academic or athletic scholarships, you might actually have a better financial option in a four-year university. I was offered a full scholarship to a few schools on academic merit and this was the path I took. (I didn't graduate, I was recruited in my sophomore year).
The last category is online schools. No doubt you have heard (or perhaps are attending!) schools like AnimationMentor, AnimSchool, etc. Some of the most important criteria to consider are cost, job placements, availability for immediate help or feedback, size of classes, and the size of the student body. The teachers should all be working professionals and have good standing within the industry. Most of all, the school should offer more than a cold, online experience. Look for a school that seems like it still embodies the camaraderie and community feeling of a brick-and-mortar college.
In order to teach yourself animation, you have to be extremely self-motivated and passionate about the art. And in order to learn animation at a trade school or university, you need to be extremely self-motivated and passionate about the art! Really, it comes down to disciplining yourself to follow a steady and practical curriculum at home, or leaving the course design to a faculty. Either way, you are in for a very challenging road ahead. But it is a fulfilling road too; one that offers many rewards to the diligent and dedicated animation student.