| |
XTRA! |
|
Character Animation & Rigging | ||
| Using Maestro to auto-rig then animate your character for LightWave |
|
BY BRIAN PACE Greetings! My name is Brian Pace, and I work at Stillwater Pictures located in Santa Maria, Ca. We recently released a plug-in called Maestro for LightWave that improves the workflow of rigging and animating characters. In this article, I'll show you how Maestro works and how it can make animating a fun and easy process. |
|
Rigging Multiple Characters In order to understand Maestro, it helps to know the reasons for its development. We are working on a movie with several characters in it, and continually upgrading the rig and propagating it to the other characters can be a real time-sink. If we add a feature to Character A, and five expressions need changing, then those five expressions also need changing on Characters B, C, and D. We modify each expression, then test it, and then save properly so that the next revision doesn't cause us to lose changes. Then, if a new Character (like an extra) comes along, we install ALL of the features of the rig into that character. LightWave has quite a few tools to help with this problem, but a great deal of time is lost doing this. This is the problem that kicked off Maestro's conception. We needed a way of automating the rigging process. For this to work the way we needed, it had to be easy to customize the rig. LScript Commander really inspired us. Not only are the commands simple, but LScript Commander also lets you see how to make those changes as you work on it. It was a great start, but a couple of problems quickly surfaced. The first was that there really aren't any variables when using LScript Commander. This was a huge speed bump in rapidly deploying up-to-date rigs to all the characters. The second problem that arose was that LScript Commander either didn't have a command we needed, or the command that we needed required too many steps to create. For example, we wanted to apply ItemShape to some of the control Nulls. Unfortunately, you cannot set up ItemShape through LScript Commander. We needed a little assistance from LScript to make that possible. In the end, LScript Commander got us about 90% of the way there, but we still needed a little extra to make it work for us. So, we developed our own LS Macro interpreter and we put in some commands of our own to fill in that extra 10%. Since we had developed our own interpreter, we were also able to solve the problem of applying this rig automatically to a number of characters. So what does all this mean for Maestro? Maestro comes with a rig that we've been developing for over two years. However, you are not limited to using that rig. If you have ever used LScript Commander before, you're qualified to modify the Maestro rig file or even develop your own! Best of all, the rigging tools are set up so that you can make one script file work with just about any model. How to use Maestro's Rig With Your Character We developed Maestro's auto rigger so that a minimum amount of work is required when applying it to an existing character. What that means is that taking your existing models and applying Maestro's rig to them is easy and doesn't require many steps.
Hit the appropriate rigging button, and let it go. In about 20 seconds, your character is rigged. You'll notice, though, that your rigging panel has changed. Not only did Maestro rig your character, but it also loaded up a control panel intended to make all the various features of the rig become available in a nice intuitive interface. Controlling your Character Before I begin this next phase of the tutorial, I would like to explain a little bit of how the control panel concept in Maestro came about. Animating an object in LightWave typically involves three steps:
When you have a fully rigged character in a scene, you'll use up a lot of time with this process. The list of items to control in the scene can be very long and difficult to choose from. Left Click to Select helps, but sometimes you select the wrong item and have to orient the view to make your particular item visible. Often the tool you wish to select isn't what is active. Even if it is, you end up having to check just to be sure. We simplified this process down to one step: 1. Drag on an appropriate hotspot. We created Maestro's Controller mode to act as an intuitive and easily configurable remote control for characters in LightWave. First, a background image representing the character is loaded. Next, hotspots representing various controllable aspects of the character are drawn on top of that image, and then configured for their task. The hotspot knows what to select and what its job is, as opposed to having to establish that on every pose operation. You save significant amount of time, with the added benefit being that the operation of the character is more intuitive.
Once you've rigged your character, a new panel is available. Click on the hotspot indicated in the image and drag left and right. Notice your character's head is shaking? Try up and down. Now his head is nodding. Now, use the Right Mouse Button and move left and right again. Now he's tilting his head. So what's happening here? These hotspots are very much like sliders. Their key difference is that they're two-dimensional instead of one, so they're measuring up/down as well as left/right. Right-clicking activates an entirely different pair of channels. In this case, we made the right-click into an alternative mode. If you use the Middle Mouse Button, the channels reset based on a value defined in the hotspot.
Features of the Rigs Maestro comes with rigs that are quite advanced, providing a balance between complex automation and easy control over every element of the character. Legs: The default rig uses the standard three-point foot setup, so you can pivot on the toe, ball, or heel. There is a hotspot in the controller that allows you to both lift the heel and point the knee easily. There is also an option to just have one goal at the ball of the foot instead of the three pivot points. This option doesn't offer as much control, but is easier to use in situations where you don't need all those pivot points. Hips and spine: This is perhaps the most advanced part of the rig. Hip centering can be keyframed on and off, and can even be set at varying strengths in between. There are controls to move and twist the hips independent of the torso (like the Isner spine concept), and you can bend the torso over the length of the spine as well as isolating the shoulder area. There's also a unique controller that rocks the hips side-to-side, pivoting on each hip joint. This control is great for easily incorporating hip sway into a female walk cycle. Arms: The default rig uses IK for the arms, but has a parenting scheme that makes them move more like FK. This gives you the ease of IK when moving the goals around, without the popping and snapping problems that usually go with IK arms. Hand pinning basically turns off this parenting effect so the arms work more like standard IK, and like hip centering, can be keyframed on and off and can be set to varying strengths in between. There is also a hotspot that allows you to rotate the wrist and point the elbow, as well as rotate the hand at the wrist. Additionally, there is a hotspot that controls the shoulder, both up and down, and forward and backwards. While this IK arm solution offers the best of both worlds, there is an FK arm component available if you really need it. Head and neck: There are controls that allow you to translate and rotate the head. Additionally, you can point the eyes independently, as well as rotate the head while keeping the eyes fixed. This last one is great for making really expressive dialogue, without having to worry about keeping your character looking at whomever they are talking to. Hands: There are really nice global controls for making a fist and spreading the fingers, as well as controllers for each finger, so you can precisely shape the hand. The thumb is IK, so it is easy to position by simply moving its goal. Creating your own Hotspots One of Maestro's biggest strengths is that it is very customizable. It allows you to easily create new controls and store them with the scene file. To show you just how easy this is, I'm going to take you through the process of creating three different types of hotspots. Tool Hotspot I'm going to start with a basic hotspot. We call it the 'Tool Hotspot' because it behaves very similarly to Layout's Move, Rotate, or Scale tool. We're going to use it to rotate the light in the scene with your character. In the lower left, there's a button labeled "Edit." This puts Maestro into Edit Mode. From this mode you can create, move, resize, or delete hotspots. Click on 'Tool' to light it up. Pick an open area on the image of the man and drag to create a box. We made this tool with the idea that one might want to draw a bunch of hotspots first before defining their properties. So, if you wanted, you could draw another box right here. However, that is not necessary for this tutorial. On the right, there's a button labeled "Hotspot"; click it to open its properties. Here you'll see all the properties available for this hotspot. The first thing we want to do is pick an item to modify. Since we've decided that should be the light, simply scroll down until you see it. (Or uncheck Meshes and Cameras; that'll leave the light remaining.) Just to the right of the list of items in the scene it says LMB. This is the Item that the Left Mouse Button will control. Next to it, it says "Get Object." Click on "Get Object." Notice how 'Light' appears in that field? That button grabs the selection from the Item List on the left and sucks it in to the appropriate field. You could do the same for RMB, if you like, and that will yield a different behavior when that button is used. Select 'Rotate' from Move/Rotate/Scale, since we're going to rotate the light with this tool. We could define more options here, but for the purposes of this tutorial, we'll keep it this simple. Maestro has some pretty good initial defaults to prevent each hotspot from needing a lot of information. Press [OK] to leave the properties panel, then click on the 'Run' button to put Maestro into Run mode. Once you're in Run mode, click and drag on the hotspot. See how the light starts turning? See how quick it was to set up that little control? Now when changing the direction of that light, you don't have to select it or change to the Rotate tool. It's already there and ready. Channel Hotspot The Tool Hotspot is great for rotating, moving, or scaling items in a scene just like you normally would with the Move, Rotate, or Scale tool. A Channel hotspot operates directly on a specific channel. It works very much like modifying individual channels from within Graph Editor. There are two very distinct advantages to using this type of hotspot: With one hotspot, you can control two different items. They don't even have to be the same type of item. Left and right can move a Light, while up and down can rotate a Camera. You can access other channels of an item such as the intensity of a light, which is exactly what we're going to do next in this tutorial. 3.
Maestro's support of overlapping hotspots is quite innovative. One of the important design choices we made during development was that you could manually override anything automated. Overlapping hotspots provide a unique solution to this particular problem. One of the examples we like to use is eyeball control. You could, for example, create two hotspots, one to each eyeball. If the hotspots overlapped in the middle, then you could click on one hotspot to move just the left eyeball, then click on the right to control just the right eyeball, and clicking in the middle rotates them both. With only one mouse-movement, any of these three things can happen. Command Hotspots A command hotspot is simply a hotspot that runs a command like you'd find in LScript Commander. This provides direct access to a lot of the features provided in Layout. For this tutorial, we'll set up two command hotspots. The first will turn on Camera Targeting, and the second will turn off Camera Targeting.
So how is this useful? With the rig you're using now, there is a hotspot for changing the subdivision level. Traditionally, to do this, you'd have to select the mesh object, click on the properties button, then alter the settings in the panel. This isn't a huge chore, but if there is a lot going on, it's a slow process. The hotspot goes straight to the point; it only takes one click. You can even use text files for more common scripts. This allows you to use longer scripts and even make them reusable. Actually, this is the foundation for how the rigging system works! The same process used in making these two hotspots is virtually the same procedure used to make your own rigging file. Conclusion Maestro is a very powerful tool that makes the job of rigging and animating much smoother and easier, but ultimately, its usefulness goes far beyond the boundaries of character animation. You can use it to automate and control virtually any aspect of LightWave. From creating your own camera or light control panels, to hooking up complex mechanical structures to easy-to-access sliders, Maestro gives you the ability to customize your workflow in ways never before possible. Maestro is available for $150 US. For more information, or to download a demo version, go to: http://www.stillwaterpictures.com/maestro
|
|
©DMG Publishing 2005 as bonus content from Issue 5 of HDRI 3D, ISSN 1551-689X |