Page 1 of 2

BatchRender too slow..

Posted: Fri Nov 21, 2014 8:48 am
by iceorange
..I am so sorry my poor English....

I need to render a full Animation scene,about 180 frames,there was too many charaters and porps in the scene,and polycount over 10,000,000.
that not the point..

When I use IPR,It will be loaded 1 min. and rendering by GPU,It's fast and fine;but When I use Batch render ,It 's too slow, about 6 min./F

cause I need to render 10+ full Animation scenes... :( :( :(

so I need the help~~

Re: BatchRender too slow..

Posted: Fri Nov 21, 2014 9:04 pm
by JimStar
Are you talking about the same frame? As different frames may take very different time to reach the same SPP value...
Are you sure that the settings are the same for the IPR and for batch? As in IPR if you change e.g. one "movable" object, only this object is reloaded, so this is much faster than when you start the IPR or press its refresh button.
Are you using the network rendering?

Re: BatchRender too slow..

Posted: Sat Nov 22, 2014 9:08 pm
by g0ll4m
I was having this very same problem last night. I have 4 GTX 690s, and I had 11 second renders in IPR. Then when I went to batch the same scene, it actually never rendered, I watched it for 15 minutes.

Jimstar you said above, "Are you sure that the settings are the same for the IPR and for batch?"

where are the batch render settings? as opposed to the IPR settings?

Re: BatchRender too slow..

Posted: Thu Nov 27, 2014 6:14 pm
by xox
batch render never really worked in maya not just with octane, no idea why, & uses 2 times memory, opened scene & mayabatch..
a big scene worked fine with ipr, but crashed when starting mayabatch because of missing ram, 32 gb was not enough..

if the clapboard icon was able to render the animation range set in the render settings, instead of just the current frame, it would be best .

Re: BatchRender too slow..

Posted: Fri Nov 28, 2014 3:19 am
by TBFX
xox wrote:batch render never really worked in maya not just with octane, no idea why, & uses 2 times memory, opened scene & mayabatch..
a big scene worked fine with ipr, but crashed when starting mayabatch because of missing ram, 32 gb was not enough..

if the clapboard icon was able to render the animation range set in the render settings, instead of just the current frame, it would be best .
I've been using Maya since it was in beta before version 1 and batch render has always worked fine (or at least as well as the interactive renders in the UI) no matter which renderer I was using. If you try to have a heavy scene that uses most of your ram open in the UI and the same or another similarly heavy scene rendering in batch mode, which is running a second headless maya session with the scene loaded into ram, then of course you will run out of memory. If you shut Maya UI down and run the batch command line it should always use less ram to render than it does in the UI because it is running headless and doesn't need the extra resources to run the UI and display.

T.

Re: BatchRender too slow..

Posted: Fri Nov 28, 2014 6:37 am
by solomon
TBFX wrote:
xox wrote:batch render never really worked in maya not just with octane, no idea why, & uses 2 times memory, opened scene & mayabatch..
a big scene worked fine with ipr, but crashed when starting mayabatch because of missing ram, 32 gb was not enough..

if the clapboard icon was able to render the animation range set in the render settings, instead of just the current frame, it would be best .
I've been using Maya since it was in beta before version 1 and batch render has always worked fine (or at least as well as the interactive renders in the UI) no matter which renderer I was using. If you try to have a heavy scene that uses most of your ram open in the UI and the same or another similarly heavy scene rendering in batch mode, which is running a second headless maya session with the scene loaded into ram, then of course you will run out of memory. If you shut Maya UI down and run the batch command line it should always use less ram to render than it does in the UI because it is running headless and doesn't need the extra resources to run the UI and display.

T.
following up from the question Jimstar posed.. I am now curious.. is there a way to have IPR or render settings that are specific to the Batch render? I thought the Batch render used whatever settings Maya had in the render globals, no?

Re: BatchRender too slow..

Posted: Fri Nov 28, 2014 10:13 am
by xox
i use maya since version 1 too, (a bad TDI remake), & had allways trouble with mayabatch, may be because of complex scenes..
you can t do it wrong, just click on the menu and it has to do it s job, but unfortunately it mostly doesn't..

& if i post here it s because it happened again, i started a render this night & a night before with batch, & it didn t worked again..
that s a real problem..
with simple scenes it works.. with other not.. randomly uncertain, that s more then suboptimal..

sure i can type a batch command line with all nerdy settings (without beiing sure it will work), but just one click on the clapboard in the UI, spares time & brain..

vray does it in that way & it works fine, click on the clapboard in the render view and it renders the whole animation range.. it s a no brainer and a good solution.

the implementation in octane is surely fast done, instead rendering just the current frame (when you click on the clapboard), it should render the range, saving each frames.. 8-)

Re: BatchRender too slow..

Posted: Fri Nov 28, 2014 11:15 pm
by TBFX
solomon wrote:following up from the question Jimstar posed.. I am now curious.. is there a way to have IPR or render settings that are specific to the Batch render? I thought the Batch render used whatever settings Maya had in the render globals, no?
Yes, batch render will take the settings from the globals set in the scene unless you render using the commandline render command in a shell where you can override any of these using flags. To get a list of the flags and what they do open a shell (dos or cmd prompt on windows) and type render -h or for octane specific flags type render -r octane -h

T.

Re: BatchRender too slow..

Posted: Sat Nov 29, 2014 9:08 am
by g0ll4m
typing render -h in a command shell doesn't work for me.

"Cannot locate executable render, please run using the full path,
Cannot open renderer description file "defaultRenderer.xml"

I changed the directory path btw as well.

Re: BatchRender too slow..

Posted: Sat Nov 29, 2014 10:10 pm
by TBFX
g0ll4m wrote:typing render -h in a command shell doesn't work for me.

"Cannot locate executable render, please run using the full path,
Cannot open renderer description file "defaultRenderer.xml"

I changed the directory path btw as well.
Ah. That means you don't have the Maya bin directory in the system path environment variable. You can still use the render command but will need to type in the full path to it. I will post instructions for setting this up for windows when I get a chance next week, in a new thread so as not to high jack this one any more :)

T.