Batch render different frames into different directories
I just want to automate this with mel. I thought "How hard could it be?"... HA!
I just to make a mel script that will:
render frames 1-10 into images\chunk01\name.1.png thru name.10.png
render frames 11-20 into images\chunk02\name.1.png thru name.10.png
render frames 21-30 into images\chunk03\name.1.png thru name.10.png
... you get the idea.
Note that I want each directory (images\chunknn) to contain 10 frames that are renumbered from 1 to 10 each time. Here's what I do NOT want...
images\chunk01\name.1.png thru name.10.png
images\chunk02\name.11.png thru name.20.png
images\chunk03\name.21.png thru name.30.png
Multiple problems I've run into so far:
"batchRender" doesn't give me any way to specify which frames I want rendered.
"render" doesn't give me the control I need either. I've found examples all over the internet like "render -s 10 -e 20", but maya 2011 doesn't recognize the -s or -e flags.
I've tried many other techniques as well to no avail. To keep this post as short as possible, I'll omit them for now.
Am I making this more complicated than it really is?? How would you do it?