Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
This is the LITE version of my viewport batch render script.
It features no GUI, and the only options are start and end frame accesible through the 4th, and 5th lines in the code. It is very easy to read and disect, so good for research and building other things.
Your renders will not get "saved" but since maya saves a copy of every frame rendered in the "images/tmp" directory of your project, the entire sequence always gets saved regardless.
Output image format will depend on what you have setup in the render settings.
If you would like a more comprehensive version of this script, check out my non-free version: It's features include:
-Full gui with dialouge box for chosing output directory. -Frame padding -Marquee batch rendering -frame naming count custom offset (so your image sequence numbers can be different than the maya frames.)