Page 1 of 1

Merging Octane ROPs

Posted: Thu Nov 12, 2020 9:55 pm
by WoutTgh
Hi,

I'm trying to get different Octane ROP's to render one after the other, as in a queue. I can get them to do that by merging them and then in the merge node under controls, setting the order to " node by node" in the dependency render settings. However, when rendering, the frame range from the ROP node isn't respected and it switches to the largest frame range.

When you go in the Octane ROP controls and change the range, it is changed for the other ROP's too.

I'd like to get the same behaviour as manually clicking render on ROP 1 and when it's done, clicking on render ROP 2. I did a render the other day with 2 ROPS but it took very long because Octane was loading/unloading/preprocessing for every frame.

I've attached a scene file. Thanks for looking at it :)

Wout

Re: Merging Octane ROPs

Posted: Thu Nov 12, 2020 10:04 pm
by WoutTgh
Aaaaand I've found something super straightforward that does exactly what I want:

Simply add something like this :

hou.parm('/out/Octane_ROP2/execute').pressButton()

to the post-render script of the first ROP and then you can string them together ( make sure to set it to Python script ).

Works like a charm :)

Re: Merging Octane ROPs

Posted: Fri Nov 13, 2020 8:58 am
by juanjgon
Hi,

In the merge rop node you have to set the frame ranges to strict.

Thanks,
-Juanjo

Re: Merging Octane ROPs

Posted: Fri Nov 13, 2020 1:46 pm
by WoutTgh
Hi Juanjgon,

I don't see a strict setting for the frame range. There's a specify frame range but that makes it the same for all nodes. Am I missing something ? In any case, the post script trick works a treat so :)

Thank you :)