Hi,
Im trying to get the mask of a object that is inside the refracted object.
Is it possible to do in karma? In Redshift only I need to do is set "secondary ray visibility" to "Refraction/transparancy" under AOV setting tab.
Here are some example of renders that i did in Redshit and karma.
Thanks
How to render AOVs inside refracted object in karma?
1681 7 1- skatwezn
- Member
- 2 posts
- Joined: May 2021
- Offline
- Andy_23
- Member
- 918 posts
- Joined: March 2014
- Offline
- Andy_23
- Member
- 918 posts
- Joined: March 2014
- Offline
In any case, you may want to read up on LPE — I know, I wish there would be OutOfTheBox 'good ones' on the Karma LOP ROP.
https://www.sidefx.com/docs/houdini/render/lpe.html [www.sidefx.com]
https://lpe-builder.chaosgroup.com/ [lpe-builder.chaosgroup.com]
Here's an example for diffuse light paths.
https://www.sidefx.com/docs/houdini/render/lpe.html [www.sidefx.com]
https://lpe-builder.chaosgroup.com/ [lpe-builder.chaosgroup.com]
Here's an example for diffuse light paths.
- Andy_23
- Member
- 918 posts
- Joined: March 2014
- Offline
- jsmack
- Member
- 7785 posts
- Joined: Sept. 2011
- Online
- skatwezn
- Member
- 2 posts
- Joined: May 2021
- Offline
- dlee
- Staff
- 426 posts
- Joined: Sept. 2016
- Offline
I'm also curious why the "beauty" renders in the first image is white on black instead of blue.
For holdout matte, it's not possible with secondary rays since they're part of lighting contributions and not related to pixel coverage. That said you could make a makeshift matte via LPE - for example, writing out all light paths containing objects with certain LPE tag and dividing it by beauty pass in comp.
H20.0 adds 'background' event to LPE so it's possible to write a custom alpha AOV that's based on transmission throughput instead of opacity, which might also serve your needs.
For holdout matte, it's not possible with secondary rays since they're part of lighting contributions and not related to pixel coverage. That said you could make a makeshift matte via LPE - for example, writing out all light paths containing objects with certain LPE tag and dividing it by beauty pass in comp.
H20.0 adds 'background' event to LPE so it's possible to write a custom alpha AOV that's based on transmission throughput instead of opacity, which might also serve your needs.
- AslakKS
- Member
- 160 posts
- Joined: Feb. 2016
- Offline
Sure you can do this, this is what LPE's are for . . . Even if they are a bit confusing
Nice docs I used to get anywhere
https://www.sidefx.com/docs/houdini/render/lpe.html [www.sidefx.com]
edit:
I also need to learn to read . . .
C[T]*'YOUR-LPE-TAG'[.]
Nice docs I used to get anywhere
https://www.sidefx.com/docs/houdini/render/lpe.html [www.sidefx.com]
edit:
I also need to learn to read . . .
Edited by AslakKS - Nov. 3, 2023 11:13:08
-
- Quick Links