I’ve found a fairly simple way to get an accurate water-in-glass look.
Since there is no air pocket between the liquid & glass it is like they get
fused together and become one (except for the slight difference in refractive indices) So I model the liquid into the container (see pics)
This seems to give a very realistic representation. If the glass and liquids are different colors, then you just select the seperate faces(liquid surface and glass-up to that liquid level).
I think it’s a very convenient solution, thumbs up. The only minor drawback is that with close-ups it becomes visible that the liquid reaches the outside boundaries of the glass hull, as if the glass has no thickness. You probably expected someone was going to say that.
Cheers (I’ll have that cold Corona with a slice of lemon please! :)),
Well, I had to test the theory. Here is a photograph I took of a mug
with water in it - there is no evidence of the glass thickness below
the water line. This didn’t surprise me but I had to check anyway.
I thought the thick glass of the mug would make a good test.
You’re right, but it’s the liquid’s surface line I meant. The surface goes all the way to the outside boundary of the glass. That’s the minor disadvantage of this method when it comes to realism.
Nevertheless I think it’s a useful, quick ‘n’ convenient solution.
i didnt put half the thought as this into my bottles. hehe. the bottle was modeled solid. then i copied it, used a push modifyer on it to shrink it then booleaned it to make the hollow bottle. then copied the inner liquid. put a push on that as well sliiightly and booleaned off the top and that was my liquid. then used egz glass on both of them with the appropriate ior.
Boolean can be very handy sometimes if you follow the rules.
I have a tutorial called “Boolean reminders” from Atomic Animation. Since I’ve read, boolean seems to be domesticated somehow…
But can be soooo slow in this case… :?
(Now I can’t find this tutor, but I’m sure, some of you have read already…)
The droplets on the Corona bottle were created using PArray
with the bottle as the emmitter and instanced geometry (spheres).
There are 2 PArrays on the bottle, one for the larger drops, one for the smaller drops.
I dont really understand hox you set the two differents colors , were do you split the faces? So could you post a simple scene with this method, it would be great for the community. What are you liquid setting in terms of fog?
Gijs :
I like your physics approach , can you post a result ?
Hi 3dben,
here is the example which uses ior 1.6 for the glass, ior 1.3 for the fluid and ior 1.23 for the ‘transition’-material
BTW: This was rendered in Flamingo
Very informative thread guys, thanks to all. Love the Corona! Guess it’s only a matter of time before someone has droplets sliding down leaving it’s track.