How to render a Matte object?

Forums: How to render a Matte object?
Houdini Integrated Plugin

Moderator: juanjgon

How to render a Matte object?

Postby allenh » Fri Mar 19, 2021 6:43 pm

allenh Fri Mar 19, 2021 6:43 pm
At the risk of over-explaining: a "Matte" object as I'm using the term describes a piece of geometry that 'cuts a hole' through any object its in front of; usually used to hold out geometry for compositing purposes.

What is the correct way to create matte objects (or to otherwise hold out geometry) in Octane?
allenh
Licensed Customer
Licensed Customer
 
Posts: 28
Joined: Tue Jan 03, 2017 2:19 am

Re: How to render a Matte object?

Postby juanjgon » Sun Mar 21, 2021 6:41 pm

juanjgon Sun Mar 21, 2021 6:41 pm
I suppose that the best workflow to render mattes is to use render layers. There are several topics about it in the forum:
viewtopic.php?f=101&t=58609


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

Re: How to render a Matte object?

Postby allenh » Fri Apr 09, 2021 2:36 am

allenh Fri Apr 09, 2021 2:36 am
Hi Juanjo;

This method more or less works, with one exception:

I have a reflective/refractive object that I would like to mask for compositing purposes. I can add the "matte" geometry to my scene, and use Render Passes as you describe above to hold out the geometry the way I need. But: the renderable geometry seems to reflect/refract the matte object itself.

So this means I need to decide what shader to put on it. I'm using the OSL Projection trick mentioned elsewhere in this forum to project a background plate onto my matte geometry. To do this, I connect an RGB texture to the Emissive slot of the diffuse material, and set Diffuse itself to be 0.

What I see now is sort of a bright 'halo' around my object; it's as if my geometry is being pre-composed with the matte/emissive geo before the final image is written

I'll try to share some images here that explain the problem:
Attachments
Screenshot 2021-04-08 213330.png
Screenshot 2021-04-08 213109.png
Screenshot 2021-04-08 213512.png
allenh
Licensed Customer
Licensed Customer
 
Posts: 28
Joined: Tue Jan 03, 2017 2:19 am

Return to Houdini


Who is online

Users browsing this forum: No registered users and 5 guests

Fri Mar 29, 2024 9:45 am [ UTC ]