Nested Dielectrics in production

Forums: Nested Dielectrics in production
Generic forum to discuss Octane Render, post ideas and suggest improvements.
Forum rules
Please add your OS and Hardware Configuration in your signature, it makes it easier for us to help you analyze problems. Example: Win 7 64 | Geforce GTX680 | i7 3770 | 16GB

Nested Dielectrics in production

Postby pingovanderb » Mon Jun 14, 2021 6:18 pm

pingovanderb Mon Jun 14, 2021 6:18 pm
Long thread - big issue.
I am having challenges with Nested Dielectrics. My very real production example is the infamous beer, with bubbles, foam, and droplets on the glass. All of this is absolutely doable. The challenge comes when I wanna slap a logo on the glass and e.g. use a bump for very small droplets or condensation. I also only want the logo and condensation to only be on the outside of the glass, etc. I actually have this working now with overlap method and by assigning different texture variations to different poly groups. But this doesn't work with nested dielectrics. I know that in order for "ND" to calculate the materials need to be "single" and applied to closed surfaces. But the aforementioned beer glass material is near impossible to make into single material without UV unwrapping the whole glass and making some quite complicated map combinations or an insane node tree. So how could this be done? Suggestions:
A: I could make polygon groups and use those to color masks but as mentioned this is a super complicated workflow.
B: the ability to mix/blend materials with similar IOR without breaking the nested dielectrics. This is what works with overlap method (this works in other renders)
C: Uv sets and/or somehow using poly groups in the Octane material tree to limit texture boundaries (if this exist in Houdini, I can not find it)

I'll gladly supply a test file for you to see the issue, but putting a logo on the outside of a glass with water in, should be challenging enough and present the issue.
pingovanderb
Licensed Customer
Licensed Customer
 
Posts: 12
Joined: Thu Oct 23, 2014 11:14 am

Re: Nested Dielectrics in production

Postby bepeg4d » Tue Jun 15, 2021 8:57 am

bepeg4d Tue Jun 15, 2021 8:57 am
Hi,
please post a screenshot of your material setup.
Here is a fast example of nested dielectric with different Specular priorities, and Material layer for the logo on the Glass:
45CDA63A-4AAA-4053-A1F2-F161DD418794.jpeg


ciao Beppe
User avatar
bepeg4d
Octane Guru
Octane Guru
 
Posts: 9939
Joined: Wed Jun 02, 2010 6:02 am
Location: Italy

Re: Nested Dielectrics in production

Postby pingovanderb » Tue Jun 15, 2021 8:34 pm

pingovanderb Tue Jun 15, 2021 8:34 pm
That's super interesting Beppe thx for the reply! I did try with Material layers but must have done something wrong. What's that end node? the glass? And how do you restrict the logo to the outside of the glass? Could you share that file?

R21 pls.

Best, Pingo
pingovanderb
Licensed Customer
Licensed Customer
 
Posts: 12
Joined: Thu Oct 23, 2014 11:14 am

Re: Nested Dielectrics in production

Postby pingovanderb » Tue Jun 15, 2021 8:40 pm

pingovanderb Tue Jun 15, 2021 8:40 pm
Just noticing Beppe, that it looks like your example is producing an error. That dark refraction of the logo inside of the glass is exactly what goes wrong here - not supposed to look like that..
pingovanderb
Licensed Customer
Licensed Customer
 
Posts: 12
Joined: Thu Oct 23, 2014 11:14 am

Re: Nested Dielectrics in production

Postby bepeg4d » Wed Jun 16, 2021 8:50 am

bepeg4d Wed Jun 16, 2021 8:50 am
Sorry, my mistake.
With Nested Dielectric, the liquid must have a lower Priority. On the left, nested dielectric option active with lower priority for liquid, and on the right, with nested dielectric option disabled:
B44EFAB2-4136-41C2-85EB-78DF725C84FA.jpeg


Here is the c4doctane R21 scene file:
NestedDielectricLogo.zip
(232.04 KiB) Downloaded 127 times


And here is the .orbx scene:
NestedDielectricLogo.orbx
(4.98 MiB) Downloaded 107 times


ciao Beppe
User avatar
bepeg4d
Octane Guru
Octane Guru
 
Posts: 9939
Joined: Wed Jun 02, 2010 6:02 am
Location: Italy

Re: Nested Dielectrics in production

Postby pingovanderb » Wed Jun 16, 2021 10:22 pm

pingovanderb Wed Jun 16, 2021 10:22 pm
Thanks Beppe, looking forward to see how you cracked this.

Pingo
pingovanderb
Licensed Customer
Licensed Customer
 
Posts: 12
Joined: Thu Oct 23, 2014 11:14 am

Return to General Discussion


Who is online

Users browsing this forum: No registered users and 8 guests

Tue Mar 19, 2024 6:16 am [ UTC ]