Everything related to Maxwell Render and general stuff that doesn't fit in other categories.
User avatar
By seghier
#387855
Hello
i made comparison between the old method to create liquid inside glass and the new feature Nested Dielectrics
now which one is physically correct and give real result ?
First test : The "infinitesimal gap" solution

Image

Image

Second test : Nested Dielectrics ( priority glass and liquid = 0 )

Image

Third test : Nested Dielectrics ( priority glass = 0 and liquid = 1 )

Image

Image

Fourth test : Nested Dielectrics ( priority glass = 1 and liquid = 0 )

Image

Comparison:

Image
By photomg1
#387869
Seems to be working well, have seen something a bit odd with thousands of little replicators but need to make a better test scene before confirming as a bug. (I wasn't convinced a boolean operation was taking place over a certain density of droplets)

my quick test


Image
User avatar
By seghier
#387874
photomg1 wrote:Seems to be working well, have seen something a bit odd with thousands of little replicators but need to make a better test scene before confirming as a bug. (I wasn't convinced a boolean operation was taking place over a certain density of droplets)

my quick test


Image
It's not question of bubbles ; but : liquid inside glass
Can you make comparison between old method and the new ?
User avatar
By dariolanza
#387878
Hi Seghier,

Definitely the white border you get in the [glass:0 liquid:0] and in the [glass:1 liquid:0] tests is incorrect and is caused by the small horizontal plane that you would get if you "booleanize" the objects in the incorrect way (if the liquid mesh removes glass).

Between the other more correct ways, the new approach is more correct as you can get the caustics of both the glass and the liquid medium, where the "infinitesimal gap" workaround provides a poorer glass caustics solution. This is because the inf. gap approximation can not consider the double material wall as the new method does.

So, the winner is the new method with glass:0 and liquid:1 priorities.

Greetings

Dario Lanza
User avatar
By seghier
#387879
photomg1 wrote:there is water in my glass
can you made comparison without bubbles ? before you confirm that it work fine
-------
my comparison :
A: old method
B: setup for nested dielectrics / glass and liquid : 0
C: setup for nested dielectrics / glass has priority
D: setup for nested dielectrics / water has priority
----------
B and C : give the same result
A and D : give the same result at level of Gap
B , C , D : give the same result for bubbles inside liquid ( the same position but D have better result )
----------
at level of ground :
A : rendered fine
B , C , D : intersected with ground and we can see triangulation and we also see the same refraction

we can not say it's fine ; the method it's fine and what about the results ? what about all renders of liquid inside glass before Nested Dielectrics ; are they all wrong ?
i hope see other comparison and explanation from developpers to confirm which method is better and physically correct and please test than judge
User avatar
By seghier
#387880
dariolanza wrote:Hi Seghier,

Definitely the white border you get in the [glass:0 liquid:0] and in the [glass:1 liquid:0] tests is incorrect and is caused by the small horizontal plane that you would get if you "booleanize" the objects in the incorrect way (if the liquid mesh removes glass).

Between the other more correct ways, the new approach is more correct as you can get the caustics of both the glass and the liquid medium, where the "infinitesimal gap" workaround provides a poorer glass caustics solution. This is because the inf. gap approximation can not consider the double material wall as the new method does.

So, the winner is the new method with glass:0 and liquid:1 priorities.

Greetings

Dario Lanza
thanks Dario
so all renders done before are wrong !
what about distance between glass and ground ? with the old method we don't see triangulation but we see it with the new method
User avatar
By seghier
#387895
dariolanza wrote: the new approach is more correct as you can get the caustics of both the glass and the liquid medium,
Dario Lanza
the second example with glass and liquid priority = 0 give the same caustics as the new approach
and this setup give the same caustics with previous maxwell versions ; except the gap
Help with swimming pool water

Nothing beats observing the real world or, if that[…]

Sketchup 2026 Released

Considering how long a version for Sketchup 2025 t[…]

Greetings, One of my users with Sketchup 2025 (25[…]

Maxwell Rhino 5.2.6.8 plugin with macOS Tahoe 26

Good morning everyone, I’d like to know if t[…]