I exported a scene frame by frame in .vrscene format from maya and i want to send this files to deadline via command line.The files have similar name with only one change,the frame number(e.g scene01_001.vrscene,scene01_002.vrscene,etc…).
I went through the thinkbox tutorials about command line and the best i could make was this:
The job is sent to deadline but it raises some errors.The most common being:
Error: Renderer returned non-zero error code, 3. Check the log for more information.
em Deadline.Plugins.PluginWrapper.RenderTasks(String taskId, Int32 startFrame, Int32 endFrame, String& outMessage, AbortLevel& abortLevel)
My question is how can i send this files to deadline via command line properly?
I almost never use the command line submitter as it’s not quite powerful enough (only runs command line jobs, lacks progress, etc). I’m more of the job/plugin info files kind of guy. You can save existing jobs’ files from the job properties.
The error you got was actually from running the V-Ray executable though, so I think you got the options right. Want to post the job report and we can try to guess what happened there?
For V-Ray though, have you tried the V-Ray standalone submitter from the Monitor? It’ll likely do everything you need:
EDIT: So i finally discovered why it was not rendering: Aparently deadline doesn’t want vray to open a render window as it does by default so i simply used a flag -display=0 on vray and it worked.Now my only question left is how do i send a vrscene sequence at once(one job)?Thanks!
I think the best approach is going to be to reverse engineer the V-Ray submission window so that you can get things like proper progress, error handling, optional tile rendering, and a host of other nice things.
To do that, use the submission window from the Monitor (as shown above), then copy the job and plugin info files and feed them through deadlinecommand as a normal submission. This will require that you create two temporary files, but it opens up the system for you and gives you all the benefits of submitting a real V-Ray job. Here are the fields from my test submission: