Error in command line render

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 11 November 2012   #1
Error in command line render

Hi guys,

Im trying to render a scene by a .bat file, three different cameras, different frame rate for each one (thats the reason to use command line) but im getting this error again and again. I triple check the syntax but no errors found there:

Commands in .bat:
Render r art mr s 1 -e 1261 cam camera1 Motor.mb
Render r art mr s 798 -e 812 cam camera2 Motor.mb
Render r art mr s 812 -e 816 cam camera3 Motor.mb
pause

Error:
C:\Users\User\Desktop\Render_final\Motor\scenes>Render r art mr s 1 -e 1261
cam camera1 Motor.mb
More than one file name is not allowed: art ...

C:\Users\User\Desktop\Render_final\Motor\scenes>Render r art mr s 798 -e 812
cam camera2 Motor.mb
More than one file name is not allowed: art ...

C:\Users\User\Desktop\Render_final\Motor\scenes>Render r art mr s 812 -e 816
cam camera3 Motor.mb
More than one file name is not allowed: art ...

C:\Users\Rufus\Desktop\Render_final\Motor\scenes>pause
Press button to continue . . .

What the Frak its going on? Please, any help would be great
 
Old 11 November 2012   #2
your problem is that you have the -art argument wrong so it thinks "mr" is another filename. Use this command instead:

Render r mr -rt 0 s 798 -e 812 cam camera2 Motor.mb

-rt 0 uses all threads.

you will probably also need the full path to the file.
 
Old 11 November 2012   #3
thanks but...

Yes, I tried at first with rt 0 but didnt work neither. I also tried putting the path, but get the same problem, and I read somewhere that if u put the .bat file in the same directory with your scene .mb work as well without it. I give a try to your suggestion but... :

C:\Users\User\Desktop\Render_final\Motor\scenes>Render r mr -rt 0 s 1 -e 1261
cam camera1 Motor.mb
More than one file name is not allowed: mr ...

C:\Users\User\Desktop\Render_final\Motor\scenes>Render r mr -rt 0 s 798 -e 81
2 cam camera2 Motor.mb
More than one file name is not allowed: mr ...

C:\Users\User\Desktop\Render_final\Motor\scenes>Render r mr -rt 0 s 812 -e 81
6 cam camera3 Motor.mb
More than one file name is not allowed: mr ...

C:\Users\User\Desktop\Render_final\Motor\scenes>pause
Presione una tecla para continuar . . .



Any thoughts?
 
Old 11 November 2012   #4
Avoid spaces in your filenames or you have to put the file path in quotes. "C:\full\path\to\file name.mb"

Also, make sure you are using a plain text file and not a rich text file. That might be what those characters are showing.
 
Old 12 December 2012   #5
Thanks!

Hey, thanks! It was finally an invisible character copy in the .txt! y rewrote the syntax by hand and it worked!
 
Old 12 December 2012   #6
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 04:47 AM.


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