Tuesday, 6 September 2016

When Should Maya Animators Use File Referencing?

What is referencing, and when should animators use it? File referencing ("referencing", for short) is the process in Autodesk Maya which allows the animator to make changes to an animation rig in the course of production and have the new rig automatically update itself to all your existing animation files. It's pretty much what most studios use to manage their animation pipeline, one way or another, as most production rigs are a work in progress.

The question for animators working and studying from home is, should you import the rig directly into your shot, or should you use referencing? Here are the pros and cons.

The pros

1. Protection from accidentally breaking your rig
If you are animating in Maya and the rig breaks, or something goes wrong with it, then you may be in trouble. If you didn't reference the rig, then you will have to go back to an older version of your animation, or press undo until you fix whatever it is that you did to break the rig.  Or you could try and export your animation and load it onto another rig (the PAIE animation tool is useful for this). However, if you referenced your rig, then you can just replace the damaged rig with with the same rig, and all your animation will be saved.

2. Studio preparedness
Referencing is widely used in studio pipelines so it's good to get in the habit of using this method of working. On a production, animators often work with a rig that isn't 100% complete. Maybe it doesn't have textures yet, or maybe it lacks some of the controllers. But the animator can start working on their shots right away, if they reference the rig. Then, once the final rig is finished, it will automatically update in your scene.

3. Smaller file sizes
Referencing makes for much smaller file sizes. If you are using "incremental save," which you should  do (because Maya crashes often), you won't be using too much of your computer's memory.

The cons

1. Simplicity
Referencing is a more complex way of working than simply importing the rig into your shot, and it can create a few headaches. For example, it doesn't work well with render layers, and rendering generally can be a problem, as well as wraps and geo caches. Some plugins, such as the free Parentmaster plugin (very useful for attaching and un-attaching objects), may not work well with referencing.

How to setup a File Reference.
So, how do you do file referencing? Before you start your animation, you will need a character rig file. Let's call it MorpheusRig.ma
  1. File/New Scene
  2. File/Create Reference/Options Box
  3. Reference Options/Edit/Reset Settings
  4. Reference Options/Resolve "All Nodes" with "this String:"/"Morpheus"
  5. Click Reference
  6. Select your rig file, in this case MorpheusRig.ma 
General Tips on How to Do Referencing Right
  1. Save your rig as an ASCII file. Ascii files are uncompressed files - they allow the user to edit the data inside the file. 
  2. Don't forget to delete any history on the base model. Delete History and Freeze Transformations on everything you can. This reduces the amount of nodes and connections being referenced. 
  3. Before you start work, make sure you group the rig elements under a single group in the Outliner, to keep it tidy. Once you reference your rig, you cannot change the Outliner.
  4. If you are working with Character Sets, create the set before any animation is started. If the rig is referenced and keys set before the character set is created, the existing keys will not go inside the character set.
  5. Name your elements properly. Keep your scene clean with proper naming conventions.
The Escape Studios Animation Blog offers a personal view on the art of animation and visual effects. To apply for our BA/MArt (September 2017), follow this link. To apply for one of our intensive 3 month animation short courses, click here.



No comments:

Post a Comment