Search - User list
Full Version: render all takes?
Root » Houdini Indie and Apprentice » render all takes?
adrianlazar
Hi guys, is there a way to render all takes one after another?
I have several takes and only one mantra render node and there's an option to render with current take or choose any but I can't find a way to make it render all takes.

Thanks,
Adrian
rafaels
One option would be to create as many mantra nodes as you have takes, set each one node for each take, link the nodes together (if they all render the same frame range than it's easier), select the parent node and hit render.
The nodes should render one after the other. Although I did have issues with it in the past (which could pretty much be a mistake of mine), that's how it should work.

Cheers
adrianlazar
Thanks Rafaels. I'll make a render output for every take but it's going to be harder to manage, plus some have different frame ranges so that makes the workflow even more complicated.
I'm wondering how they do it in big productions
Erik_JE
You could write a python script that updates settings and renders using one mantra node.
adrianlazar
Well not me I couldn't
rafaels
adrianlazar
Well not me I couldn't

Yeah, me neither, not yet!
Anyway, here's what I would do, if you want to check it out…

Cheers
sanostol
i think one mantra node per take is better and clearer to manage on a renderfarm

Martin
adrianlazar
Thanks Rafaels, I'll take a look at that scene.

sanostol, why?
sanostol
one mantra node for all takes means that You have to override all rendersettings in the take, including pathes and so on, and I just think it is easier to have a node for every take. it more visual.
and in the renderview You can select which pass to render by selecting the node without switching to that take.

takes can be confusing, and for me that works best.
when I want to render all passes I just use a merge on all rops and it's fine

Martin
adrianlazar
Thanks for the explanations.

How is the merge node handling different render ranges? If I daisy chain together rops with different render ranges than all of them will use the range of the last one.
rafaels
adrianlazar
If I daisy chain together rops with different render ranges than all of them will use the range of the last one.

Not necessarily, you just have to put “Render Frame Range Only (strict)” in the Valid Frame Range option. It seems to work better if the last node in the chain is the one with the largest frame range.

I also just checked Sanostol's tip and there is indeed a merge node in the render context. I never used it since I didn't even know of it's existence before…

Cheers
faulknermano
I nest takes into a parent take, and then use a Wedge ROP on the parent take, which renders the children.
grover_gol
faulknermano
I nest takes into a parent take, and then use a Wedge ROP on the parent take, which renders the children.

Could you please explain how to setup wedge, because for me it does not work. It renders only one take which is selected in “wedges number” even in “all wedges” rendering mode.
mfiorilli
Here's a script to render all takes. I put it on my ropnet node. Select the ropnet node, click the gear icon -> Edit parameter interface. Then create a button. Put this in the callback script:

for take in hou.takes.takes(): hou.takes.setCurrentTake(take); hou.parm('execute').pressButton()

Make sure the language is set to python for the callback script
smbell
mfiorilli
Here's a script to render all takes. I put it on my ropnet node. Select the ropnet node, click the gear icon -> Edit parameter interface. Then create a button. Put this in the callback script:

for take in hou.takes.takes(): hou.takes.setCurrentTake(take); hou.parm('execute').pressButton()

Make sure the language is set to python for the callback script

Just wanted to say thank you for this little tip! Saved me a whole lot of trouble.
wildvfxtools
Takes are best to work with. Takes are just similar to Maya's legacy layer rendering. For answering how to setup 'Wedge' for rendering with takes.
- First create a take and move all the takes into tis take (This is your parent take).
Then create a wedge node - select mantra node you want to render in Output Driver tab.
- Change 'Wedge Method' from 'By channel' to 'By Take'
- Drag and drop parent take or just type the take's name.
Hit 'Render Wedges' to render all the takes that are contained inside the parent take

Notes - In Output Picture its best to include '$ACTIVETAKE'. If not all the takes will be over-written into the same renders.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Powered by DjangoBB