hscript render bind net-render nodes

Forums: hscript render bind net-render nodes
Houdini Integrated Plugin

Moderator: juanjgon

hscript render bind net-render nodes

Postby LLLOtoy » Fri Nov 19, 2021 1:50 pm

LLLOtoy Fri Nov 19, 2021 1:50 pm
is there,

is there any way to force bind network render nodes when rendering via hscript render?
As by now the only way to bind net-nodes in commandline render that i found is to close all Houdini Windows...

it would be very helpful to be able to "steal" nodes via render command


many thanks for any hints!!

best

jan
LLLOtoy
Licensed Customer
Licensed Customer
 
Posts: 33
Joined: Tue Jul 19, 2016 11:13 am

Re: hscript render bind net-render nodes

Postby juanjgon » Fri Nov 19, 2021 4:16 pm

juanjgon Fri Nov 19, 2021 4:16 pm
You have a couple of hscript commands that can be used to enable and disable the network rendering (Octane_enableNetworkRendering and Octane_disableNetworkRendering). The network rendering itself can't be configured from hscript or hython, but once enabled, Octane will use the same configuration available for Houdini once configured using the network rendering options panel.

Hope it helps,
-Juanjo
User avatar
juanjgon
Octane Plugin Developer
Octane Plugin Developer
 
Posts: 8867
Joined: Tue Jan 19, 2010 12:01 pm
Location: Spain

Re: hscript render bind net-render nodes

Postby LLLOtoy » Mon Nov 22, 2021 9:28 am

LLLOtoy Mon Nov 22, 2021 9:28 am
Hi Juanjo,

thanks for your response!
how would i use the Octane_enableNetworkRendering command?

i`m using the render command inside a .cmd file, and excute this by: hscript mycommandFile.cmd from the console...
e.g. like this?

mread pathToHipFile.hip
Octane_enableNetworkRendering
render -f 1 3 /out/OCTANE_ACES

THANKS
jan
LLLOtoy
Licensed Customer
Licensed Customer
 
Posts: 33
Joined: Tue Jul 19, 2016 11:13 am

Re: hscript render bind net-render nodes

Postby juanjgon » Mon Nov 22, 2021 5:40 pm

juanjgon Mon Nov 22, 2021 5:40 pm
Yes, this should work. The Octane_enableNetworkRendering command has no additional parameters.

Thanks,
-Juanjo
User avatar
juanjgon
Octane Plugin Developer
Octane Plugin Developer
 
Posts: 8867
Joined: Tue Jan 19, 2010 12:01 pm
Location: Spain

Re: hscript render bind net-render nodes

Postby LLLOtoy » Wed Nov 24, 2021 3:55 pm

LLLOtoy Wed Nov 24, 2021 3:55 pm
unfortunately i didn`t manage to start a Netrender like this,
no matter how...

what settings do i need in Network Options btw.

enable Network rendering ON
but do i need to select the network deamons or not?
if i select deamons here they are not availible at hscript render (only if i close Houdini completely)
if i don`t select them they are not availible whatsoever...

so i guess my usage of Octane_enableNetworkRendering is wrong...
right?

best regards

jan
LLLOtoy
Licensed Customer
Licensed Customer
 
Posts: 33
Joined: Tue Jul 19, 2016 11:13 am

Re: hscript render bind net-render nodes

Postby juanjgon » Wed Nov 24, 2021 10:07 pm

juanjgon Wed Nov 24, 2021 10:07 pm
In theory, the network render settings are global to Octane, so once configured in any plugin or in the Standalone, these settings should be the same for hscript. What happens if you configure the network rendering in the Standalone? I need to check this feature again. Perhaps there is something broken in this workflow that I have not seen before.

Thanks,
-Juanjo
User avatar
juanjgon
Octane Plugin Developer
Octane Plugin Developer
 
Posts: 8867
Joined: Tue Jan 19, 2010 12:01 pm
Location: Spain

Re: hscript render bind net-render nodes

Postby juanjgon » Wed Nov 24, 2021 10:09 pm

juanjgon Wed Nov 24, 2021 10:09 pm
LLLOtoy wrote:if i select deamons here they are not availible at hscript render (only if i close Houdini completely)


Hmm, of course the same daemons can't be enabled in two applications or Octane instances at the same time. If you want to use these nodes from hython you need to close Houdini first and use hython from the Houdini command line tool.

Thanks,
-Juanjo
User avatar
juanjgon
Octane Plugin Developer
Octane Plugin Developer
 
Posts: 8867
Joined: Tue Jan 19, 2010 12:01 pm
Location: Spain

Re: hscript render bind net-render nodes

Postby LLLOtoy » Tue Nov 30, 2021 5:50 pm

LLLOtoy Tue Nov 30, 2021 5:50 pm
oh yes, that totally makes sense..
the only problem about that is me :) beacuse i tend to always realize i forgot to enable e.g. alpha just after starting the render...
So i thought it would be superhelpful for stupid me to "steal" nodes on commandline-level to just leave the houdini projects open but still be able to network render...

but hey i know it`s not at all the most important feature,
and maybe good for brain training... 8)

no serious, i`m super happy with octane rendering!!
a good opportunity for a big thank you for your great work here!!!


best

jn
LLLOtoy
Licensed Customer
Licensed Customer
 
Posts: 33
Joined: Tue Jul 19, 2016 11:13 am

Return to Houdini


Who is online

Users browsing this forum: No registered users and 9 guests

Thu Mar 28, 2024 4:24 pm [ UTC ]