Page 1 of 1

layer mask passes

PostPosted: Tue Jan 10, 2017 10:41 pm
by pasto
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

Re: layer mask passes

PostPosted: Tue Jan 10, 2017 10:55 pm
by juanjgon
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

Re: layer mask passes

PostPosted: Wed Jan 11, 2017 3:03 pm
by pasto
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

Re: layer mask passes

PostPosted: Wed Jan 11, 2017 3:32 pm
by juanjgon
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

Re: layer mask passes

PostPosted: Wed Jan 11, 2017 4:19 pm
by pasto
Thanx a lot Juanjo.