layer mask passes

Forums: layer mask passes
Houdini Integrated Plugin

Moderator: juanjgon

layer mask passes

Postby pasto » Tue Jan 10, 2017 10:41 pm

pasto Tue Jan 10, 2017 10:41 pm
Hello,

I can't find a way to render object mask passes.
In c4d you just give a layer ID to the object you need the mask of, then you activate render layer mask in the pass tab by checking the ID number you need (from 1 to 24).

I tried everything in Houdini, including $OCTANE_LAYER and $OCTANE_PASS tokens, Octane doesn't gives me any mask.

I guess I am missing something obvious there, the doc is really not precise at all.

Thanx a lot

Jérôme
pasto
Licensed Customer
Licensed Customer
 
Posts: 54
Joined: Wed Apr 30, 2014 8:07 am

Re: layer mask passes

Postby juanjgon » Tue Jan 10, 2017 10:55 pm

juanjgon Tue Jan 10, 2017 10:55 pm
Hi,

In Houdini you can set the object layer ID adding the OBJ spare parameters to the object. To render the mask you only need to enable the "Render Layer Mask" pass in the render target HDA (Passes, Info tab) and enable the "Render object layers" option in the ROP node (Output) tab. In the ROP node you can also set the layer(s) to be rendered.

Hope this helps.

Thanks,
-Juanjo
Computer Graphics Software Developer
Octane plugin development and support: LightWave and Houdini
User avatar
juanjgon
Octane Plugin Developer
Octane Plugin Developer
 
Posts: 7364
Joined: Tue Jan 19, 2010 12:01 pm
Location: Spain

Re: layer mask passes

Postby pasto » Wed Jan 11, 2017 3:03 pm

pasto Wed Jan 11, 2017 3:03 pm
Thanx a lot Juanjo,

Seems to work but the passes collapses themselves and I just end with the last one rendered.

if I ask for 3 (2maks and a Z for example) passes I only get one and no beauty pass. Shouldn't the $OCTANE_PASS gives us separated files ?

Many thanx

Jérôme
Attachments
testrenderpass.zip
(45.12 KiB) Downloaded 80 times
pasto
Licensed Customer
Licensed Customer
 
Posts: 54
Joined: Wed Apr 30, 2014 8:07 am

Re: layer mask passes

Postby juanjgon » Wed Jan 11, 2017 3:32 pm

juanjgon Wed Jan 11, 2017 3:32 pm
Please, replace the file name underscore characters by other, for example "-". I am investigating an issue if the filenames using the octane tokens have also the underscore character.

In your case, try to use "testpass-$OCTANE_LAYER-$F4.png"

Thanks,
-Juanjo
Computer Graphics Software Developer
Octane plugin development and support: LightWave and Houdini
User avatar
juanjgon
Octane Plugin Developer
Octane Plugin Developer
 
Posts: 7364
Joined: Tue Jan 19, 2010 12:01 pm
Location: Spain

Re: layer mask passes

Postby pasto » Wed Jan 11, 2017 4:19 pm

pasto Wed Jan 11, 2017 4:19 pm
Thanx a lot Juanjo.
pasto
Licensed Customer
Licensed Customer
 
Posts: 54
Joined: Wed Apr 30, 2014 8:07 am

Return to Houdini


Who is online

Users browsing this forum: No registered users and 1 guest

Sun Apr 05, 2020 11:39 am [ UTC ]