BatchRender v1.3


 
This location is for Registered Users Only.
Perhaps you need to login or register.
Contributor: Xing Huan
This tool can render more than one node at same time, no matter if the nodes are in one nk file.
Requirements:
9.0 or later
Linux, Windows
09 Jul 2018
335

This script can render more than one node at same time, no matter if the nodes are in one nk file.

You can set how many nodes can be rendered at same time. The number of process of nuke for rendering depend on this number. For example, my computer has 8 CPUs so if I render 2 nodes at same time, there will be 4 processes for every render node. If you render a mov or mp4 file, it will use 1 process by default.

I test it on windows8.1 and nothing wrong. On linux it may be some little problem.(Just maybe because I test on my company's computer and sometime the execute path of nuke changes.)

Put the “BatchRender_v1.2” folder in plugin path of nuke(For example, on my computer I put it in “C:\Users\john\.nuke”) and add the following line into the “init.py”:

nuke.pluginAddPath('BatchRender_v1.2')


By default it should be in .nuke folder but if you put it in another folder, please change the path of “USERS_Folder” and “GLOBAL_Folder” in “batchRender_path.py”.

 

 

 

QQ截图20170306195207

 

Please login in order to download these files.

Comments   

 
# li zhaohui 2017-11-13 07:06
nuke11?
 
 
# Jonathan Delefosse 2018-02-24 11:49
Hi,
I'm using Nuke 10.5v5 and it can't launch because has an error in importing the batchRender.py.
 
 
# Jonathan Delefosse 2018-02-24 11:51
Ah, can't edit my message, I have that in nuke console :

Traceback (most recent call last):
File "I:/nukePrefere nces/BatchRende r_v1.2/menu.py" , line 2, in
import batchRender
File "I:/nukePrefere nces/BatchRende r_v1.2\batchRen der.py", line 1046, in
batchRenderWind ow = BatchRenderWind ow()
File "I:/nukePrefere nces/BatchRende r_v1.2\batchRen der.py", line 145, in __init__
self.createFold er()
File "I:/nukePrefere nces/BatchRende r_v1.2\batchRen der.py", line 362, in createFolder
default_xml_tre e = RS.read_xml("%s /default.xml" % GLOBAL_Folder)
File "I:/nukePrefere nces/BatchRende r_v1.2\batchRen der_set.py", line 53, in read_xml
tree.parse(path )
File "", line 26, in parse
 
 
# huan xing 2018-07-09 03:43
You can try put the BatchRender_v1. 2 folder into .nuke and see if the problem still exist.
 
 
# Jonathan Delefosse 2018-07-09 09:59
The new version seems to work.
Thanks.

Just a little problem but we still can use the script event with it :
The window seems always on top, so when we click on the "+" icon, the window appear under the window's script.
 
 
# pankaj deshmukh 2018-07-04 08:55
Its not working
 
 
# pankaj deshmukh 2018-07-04 08:59
render not Started After run button
 
 
# huan xing 2018-07-09 03:51
I have update a new version and you can try the new one.
 
 
# Oleg Maximovich 2018-07-09 09:31
nice tool! THX!
 
 
# André Matos 2018-09-04 09:25
Fucking awesome!!!!!!!! !!!!!!!! Thanks for this!!!!
 
 
# André Matos 2018-09-04 09:25
Fucking awesome!!!!!!!! !!!!!!!! Thanks for this!!!!
 
 
# fast abst 2019-08-17 18:20
Thanks a lot, this works perfectly!

Will be great if there will be queue option. Let's say you put 3 write nodes and you need them to be rendered in order and by pressing render, first job will start to render and other 2 will be in the queue.
 
 
# huan xing 2019-08-19 01:36
You can change the 'Number of MultiRender' to 1. Then there will be only one node rendering after click render button. After this node finish, the next will render. I think this is what you want, right?
 
 
# fast abst 2019-08-19 16:46
Number of MultiRender means how many nodes will be rendered at the same time, right? Let's say you have a difficult shot, which you want to render for a next hour or two, there is a 3 pre-renders, so you need to render them one after another in certain order. It will be super useful if you can put those Write nodes into Batch Render and set order. So then 1 pre-render has been fished, other one will start. And you can still have full control on Threads and number of nodes to render at the same time.
 
 
# huan xing 2019-08-20 03:32
Unfortunately this tool doesn't have such 'depend' function.
But for now you can set the 'Number of MultiRender' to 1 then nodes will render one by one(from top to bottom in order).
Actually, this tool is already not used by myself. I'm writing a little farm app which can allow user to put any job on it. You can find it here: https://github.com/1xinghuan/LocalFarm. This will support the 'depend' function but is not ready for use and I will write a nuke submit plugin for it.
 

You have no rights to post comments

We have 4018 guests and 112 members online