Once you have finished all your motion for a shot, then you are now ready to light and render it out. While you can think of lighting as its own stage in the pipeline, in reality it tends to be intimately linked to rendering. There are four phases for end of the pipeline. First, in Maya, doing lighting for the shot and decomposing it into render layers. Second, using the renderfarm, sending shots to be rendered. Third, in After Effects, compositing the layers and doing post-production on the images as necessary. Lastly, in Premiere, taking the individual shot movie clips and editing them together into your final film. This guide will be concerned
mostly with the first two steps.
Keeping your files organized in a logical way is imperative for the success of your film and the maintenance of your sanity. Nobody on your team should ever have to ask where any file is because there should only be one place where it should be. Below is the structure we will be using in production, so it would benefit you to adopt it now.
Please note that none of the files above have any capital letters or spaces in them. This is very important and is a convention you should follow for any file you have on the network. Failure to do this will result in failed renders when sending them to the renderfarm and generally headaches for everyone.
Render Layers are created in the Layer Editor. You may be familiar with this from rigging since Display Layers are used to color different types of anims. You can find the Layer Editor below the Channel Editor (click at the top right of the screen if it does not appear). Click the Render tab to switch to Render Layers.
You can create an empty layer by clicking or create a layer containing objects you have selected by clicking . Simply left click a layer in the list to select it and make it the active layer. Everything displayed in the scene is based on what is contained in the active render layer. To add objects to or remove them from an existing layer select the objects, right click the layer, and choose the appropriate option. These layers not only have the ability to contain differing objects, but they can also override material assignments and render settings. Note that the master layer contains all objects in the scene and their base materials, uses global render settings, and does not allow overrides.
New layers will have some default name such as "layer1." Double click the layer to rename it something more relevant. At this point you should also click the rightmost grayed-out button on the layer (). This will bring up your render settings. All the attributes you see are global render settings, however they can be indiviually overidden on a given layer. For example, right-click the "File name prefix:" setting and select "Create Layer Override." This should turn the field name orange to indicate that this particular setting is overridden. Now change the name to the same name you made for the layer. This will make it easier to recognize which rendered files are which.
Layers are very important tools for rendering, but they are not without their problems. Here are some things to keep in mind:
ProsAfter everything is in layers and lit, the next step toward rendering is making sure your Render Settings are correct. Always be sure to check that these settings are correct before rendering, as you are just wasting time if they're not.
First, under the Common tab there are several settings you will need to change:
Second, you need to specify the renderer you will be using through the Render Using setting. There are two renderers primarily used in the capstone: "Maya Software" (the default renderer) and "mental ray". There are several advantages and disadvantages for both. Maya Software's primary advantage is speed, while mental ray has more features and can output higher quality renders. For the Mousetrap project you will want to utilize Maya Software for simplicity and faster render turnaround, while Mental Ray is recommended for the main production.
Once you have the renderer set you should make sure the quality is set pretty high, particularly for final renders. To set high quality for Maya Software, navigate to the Maya Software tab and set Quality to "Production". To set high quality for Mental Ray, navigate to the Quality tab and set Quality Presets to "Production".
The next step is to smooth all of the objects in your scene. This differs slightly depending on the type of renderer you're using:
Finally, you want to make sure that the file paths of all texture nodes, references, and effects caches use lowercase letters, have no spaces, and start with "//ntdfs/cs" instead of "O:/" (more on why later). Though this is more of a concern for when you are using the render farm, since you will most likely be using the farm for most of your rendering needs it's good to always conform to these conventions.
If you are
using layers, you may have noticed the to the left of each layer. Only layers with this green check mark next to them will
be rendered, so be sure to set these correctly before intiating your render (left click to toggle).
As an alternative to using the renderfarm, you can render using your local machine. This is not ideal since it will swamp the CPU and you won't be able to do any meaningful work on the computer. However, if the renderfarm is not available or there are many people using it, batch rendering is a good alternative. When batch rendering, the first step is to set your project. Go to File → Project → Set... and select the "project" folder for your shot (See File Structure above).
To start the batch render, select the Rendering menu set and go to Render → Batch Render. To monitor the rendering process, go to the Script Editor (Window → General Editors → Script Editor or click at the bottom right corner of Maya's interface).
You can find the rendered frames in the project folder separated by layer.
To see how your render jobs are progressing you will want to pull up the Tractor web interface. This can be accessed through any of the lab machines by going to this URL:
After the welcome screen loads enter your CS account name and click "Login". You will be brought to a screen like the one below.
The list of all your render jobs, both finished and currently active, is found in the left panel labeled Job List. Left click a job to pull up more information on it.
You can set a job's priority, which dictates how often its frames are sent to machines when multiple jobs are on the farm, by right-clicking the job and choosing "Edit Jobs". As a general rule keep the priority at the default value. If you have a particularly long or intensive job, you may want to set it to a bit lower priority (~.5-.7) as a courtesy to others who need to use the farm as well.
Each box in the list on the right panel labeled Task Graph represents a single frame from the selected job. Green frames are in the process of being rendered, light gray frames are finished, and dark gray frames haven't been assigned to render nodes yet (a render node is just a machine on the farm, each of which contains several render slots for frames). Red frames, though not pictured above, are something you will inevitably see at some point - this means that the frame errored out.
There are a multitude of reasons a frame could error out. Here's a brief list to help in debugging errors:
In addition to viewing your jobs with Tractor, you can also see a summary of the render farm as a whole by clicking on "Blades" at the top left of the interface. Here you will see a list of all of the farm's render nodes. Take a look at the Slots list. This is a good place to look to get an idea of how busy the farm is. Each machine should have four slots, with each slot able to render a frame or set of frames (specified by "Frames per Server" in the TractorForMaya UI).
If you click on a render node and scroll down in the Server Info panel you can see which users have jobs assigned to the machine (check Active Cmds and see each listed id).
To disable a problematic machine from recieving jobs, right click it and choose "NIMBY Restriction ON". However, BEWARE: this will disable the machine for everybody using the farm! So make absolutely sure before doing this that other people are having problems with it as well, and let the staff know that you have done so. Disabled machines can be re-enabled by choosing "NIMBY Restriction OFF". Additionally, if the farm is crippled to the point of hindering everybody's renders, send an e-mail to support@cs.washington.edu saying that so and so machines need to be rebooted on the render farm (just use the machine names, for example rfpe09, rfpe10, etc). Be sure to cc the staff list when you do this as well.