BatchRender too slow..

Autodesk Maya (Plugin developed by JimStar)

Moderator: JimStar

iceorange
Licensed Customer
Posts: 1
Joined: Wed Nov 19, 2014 9:58 am

..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~~
User avatar
JimStar
OctaneRender Team
Posts: 3812
Joined: Thu Jul 28, 2011 8:19 pm
Location: Auckland, New Zealand

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?
User avatar
g0ll4m
Licensed Customer
Posts: 110
Joined: Sun Oct 06, 2013 9:15 pm

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?
Windows 10
Maya 2024.2
2 RTX 4090s 192 gb ram
xox
Licensed Customer
Posts: 7
Joined: Thu Jul 31, 2014 1:27 pm

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 .
i7-3930K cooled / 5 ichill780ti cooled
User avatar
TBFX
Licensed Customer
Posts: 501
Joined: Sun Dec 11, 2011 9:43 pm
Location: Wellington, New Zealand

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.
Win10 x64|i7-9750H 2.6 GHz|32 GB RAM | RTX2080 max Q 8GB
solomon
Licensed Customer
Posts: 343
Joined: Tue Mar 19, 2013 2:04 pm
Location: USA
Contact:

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?
Solomon W. Jagwe
3D Artist/Animator/Modeler | Independent Film Director
http://www.sowl.com | http://www.galiwango.com | http://www.nkozaandnankya.com
xox
Licensed Customer
Posts: 7
Joined: Thu Jul 31, 2014 1:27 pm

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-)
i7-3930K cooled / 5 ichill780ti cooled
User avatar
TBFX
Licensed Customer
Posts: 501
Joined: Sun Dec 11, 2011 9:43 pm
Location: Wellington, New Zealand

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.
Win10 x64|i7-9750H 2.6 GHz|32 GB RAM | RTX2080 max Q 8GB
User avatar
g0ll4m
Licensed Customer
Posts: 110
Joined: Sun Oct 06, 2013 9:15 pm

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.
Windows 10
Maya 2024.2
2 RTX 4090s 192 gb ram
User avatar
TBFX
Licensed Customer
Posts: 501
Joined: Sun Dec 11, 2011 9:43 pm
Location: Wellington, New Zealand

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.
Win10 x64|i7-9750H 2.6 GHz|32 GB RAM | RTX2080 max Q 8GB
Post Reply

Return to “Autodesk Maya”