Hey all,
There's something I'm fundamentally missing about nested dielectrics. I cannot for the life of me get the glass + water + bubbles render setup going. I have my bubbles mesh fully inside the water and that works. I have my water mesh intersecting into the glass geometry and that's not working. I'm pretty confident all the meshes are manifold but for whatever reason the colour of the water never shows up on the sides, only on the top. What am I missing with my setup?
Have attached an example hip to elaborate my issues. I've been trying to emulate this document however I can't find one that applies to Karma specifically. https://www.sidefx.com/docs/houdini/render/nested.html#nested [www.sidefx.com]
Thanks, Elliot
Nested dielectrics in Karma XPU confusion
536 2 1- Elliot Stronge
- Member
- 16 posts
- Joined: Feb. 2016
- Offline
- tamte
- Member
- 8833 posts
- Joined: July 2007
- Offline
your priorities are set to
water = 10
bubbles = 5
glass = 5
so bubbles and glass take priority over water, that's why the water surface intersecting cup is ignored
the correct priorities using your pattern would be
glass = 15
water = 10
bubbles = 5
which is essentially
glass = 3
water = 2
bubbles = 1
so that glass has the lowest prio
Dielectric Priority name is misleading as the values are more or less defining the order, so lower number has higher priority
water = 10
bubbles = 5
glass = 5
so bubbles and glass take priority over water, that's why the water surface intersecting cup is ignored
the correct priorities using your pattern would be
glass = 15
water = 10
bubbles = 5
which is essentially
glass = 3
water = 2
bubbles = 1
so that glass has the lowest prio
Dielectric Priority name is misleading as the values are more or less defining the order, so lower number has higher priority
Tomas Slancik
FX Supervisor
Method Studios, NY
FX Supervisor
Method Studios, NY
- Elliot Stronge
- Member
- 16 posts
- Joined: Feb. 2016
- Offline
Thanks Tomas!
I am still a little confused however, as according to that link the water should have a lower priority than the glass so that the glass has priority for the entire duration of the overlap. Is that not the case?
I did find a "work-around" or an intentional fix which is to use the depth parameter for the water. As soon as I started using that everything works like I would expect. The water could have lower priority than the glass and still render properly. Updated hip attached.
I am still a little confused however, as according to that link the water should have a lower priority than the glass so that the glass has priority for the entire duration of the overlap. Is that not the case?
I did find a "work-around" or an intentional fix which is to use the depth parameter for the water. As soon as I started using that everything works like I would expect. The water could have lower priority than the glass and still render properly. Updated hip attached.
-
- Quick Links