Render odd frames - 1, 18, 37 through command shell.

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

THREAD CLOSED
 
Thread Tools Search this Thread Display Modes
Old 02 February 2009   #1
Render odd frames - 1, 18, 37 through command shell.

Hi, I was wondering if there was a way to render a number of frames, say - 1, 18, 37 through a dos command shell using one scene file.

The only render flag I have seen is -s and -e for start and end.

So I tried:

render -r mr -s 1 -e 1 -s 18 -e 18 -s 37 -e 37 C:\mayascene.mb

However this just rendered frame 37 and ignored the others.

I was hoping to do this through a command shell, rather than use render management software like smedge.

cheers,
lee
__________________
LeeGriggs.com
LinkedIn

Twitter


 
Old 02 February 2009   #2
As far as I know Maya doesn't offer custom frame selection (1-3, 4, 6, 12-34, etc) when rendering - or at least doesn't expose the option to do so either through the Render Globals or the commandline.

In your example you could just split the 'render' command up into three different lines...

render -r mr -s 1 -e 1 C:\mayascene.mb
render -r mr -s 18 -e 18 C:\mayascene.mb
render -r mr -s 37 -e 37 C:\mayascene.mb

Or come up with a wrapper command to spit out the command lines based on certain arguments (ie. myrender -frames 1 18 37 c:\mayascene.mb), although I'm not too sure how you'd do this using a windows batch file.
 
Old 02 February 2009   #3
Thanks for that Earlyworm. I was hoping to get around it as I have a lot of scenes to render out, but I think this is the only way.

cheers,
lee
__________________
LeeGriggs.com
LinkedIn

Twitter


 
Old 02 February 2009   #4
Thread automatically closed

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
 
Thread Closed share thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
CGSociety
Society of Digital Artists
www.cgsociety.org

Powered by vBulletin
Copyright ©2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump
Miscellaneous

All times are GMT. The time now is 07:18 PM.


Powered by vBulletin
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.