So I was testing out the new render pass lop and have run into some issues with it.
1. Matte Objects: No matter what primitive path I provide to matte objects I cannot get the matte to work. If camera visible is left to / as default then the prims in the matte parm are still always visible. If I limit the camera visible prims I also get no holdout.
2. Collections: I know this is making collections to do things with at render time but I find that particularly with large scenes with many primitives we build collects using the collect lop to make it easier to make changes such as matte objects or removing camera visibility to many things at once, but though I see the collection added to the renderpass primitive collection when enabling the render pass in the viewport I never see the contents of that collection (i.e. an env collection) work in the viewport karma render (cpu or xpu).
I could definitely be doing something wrong but this parts of this node just don't seem to be working as expected, or are not documented enough to show what I am doing wrong.
Render Pass lop funcitonality
349 4 2-
- hernehill
- Member
- 3 posts
- Joined: July 2021
- Offline
-
- daveborck
- Member
- 34 posts
- Joined: March 2019
- Offline
-
- robp_sidefx
- Staff
- 596 posts
- Joined: June 2020
- Offline
-
- hernehill
- Member
- 3 posts
- Joined: July 2021
- Offline
Looks like I can get it to work if I do your simple example, but even your example doesnt work if you set Matte Objects to /grid1 (the root component of the grid). It works if you give it an explicit path to the mesh. (i.e. /grid1/mesh_0) This seems like a major flaw, shouldn't matte and all of this work so that you could privide a primitive path and all the child prims of it would respect that?
-
- robp_sidefx
- Staff
- 596 posts
- Joined: June 2020
- Offline
Thanks for pointing that out. Our starting point for applying the Render Pass has been based off of code in the USD repository for RenderMan. That includes, by design, only applying matte data to *geometry* (https://github.com/sideeffects/HoudiniUsdBridge/blob/houdini21.0/src/houdini/custom/RAY/BRAY_HdKarma/BRAY_HdRenderPassSceneIndex.C#L127).
Your suggestion that we should support specifying this at the parent level is sensible, especially given that we support this when using the Render Geometry Settings LOP to set the matte flag.
Can you please log a bug/RFE for this? I won't be able to focus on this today, and I don't trust myself to remember to come back to this otherwise
Your suggestion that we should support specifying this at the parent level is sensible, especially given that we support this when using the Render Geometry Settings LOP to set the matte flag.
Can you please log a bug/RFE for this? I won't be able to focus on this today, and I don't trust myself to remember to come back to this otherwise
-
- Quick Links


