Your animation may require a switching between number of different cameras and/or switching between different Maya scene files. For each of these switches you must perform a separate render. This may become cumbersome after awhile. You can make the process more efficient by putting together a script file.
Before doing anything else, make a chart of your shots as follows:
Shot | description | camera | Frames | Maya file
1 | duck lands | duckCam | 1 - 50 | duck.mb
| 2 | duck quacks | persp | 51 - 65 | duck.mb
| 3 | chicken pecks | chickenCam | 1 - 15 | chicken.mb
| 4 | duck quacks again | persp | 66 - 73 | duck.mb
| |
Render -cam duckCam -im shot1 -s 1 -e 50 -rd "H:\maya\myproj" -of avi duck.mb Render -cam persp -im shot2 -s 51 -e 65 -rd "H:\maya\myproj" -of avi duck.mb Render -cam chickenCam -im shot3 -s 1 -e 15 -rd "H:\maya\myproj" -of avi chicken.mb Render -cam persp -im shot4 -s 66 -e 73 -rd "H:\maya\myproj" -of avi duck.mbwhere the options are
-cam | specifies camera |
-im | base name of output file |
-s | start frame |
-e | end frame |
-rd | location of Maya file |
-of | format of output file |
Once you have entered the commands into the notepad file, save the notepad file (e.g. to somewhere in your project folder) and give it an extention ".bat". For example, I might call my file above "renderPoultry.bat". The .bat extension tells Windows that this is a batch file, and that Windows should execute the commands that are in it.
To execute this batch file in Windows, go to the folder containing renderPoulty.bat and double click on it. A console window should appear and you should see the output from Maya as it renders your animation.
When the file is done executing, you should have a sequence of avi files. You can use MovieMaker to combine them into a single avi file.
[top]
[Home]