The tutorial to really render liquid in a glass.
If you want to know how to add and render ice cubes:
Liquid in glass
First, the three methods from left to right.
The left one is the most incorrect. There are 2 bodies, the glass and the liquid. The liquid body intersects with the glass part (both surfaces of the bodies are in the same space) creating a banding effect.
The middle one has the liquid body scaled down a notch. This works for renders where the glass is in the distance. However as you can see, the liquid does not appear to go all the way to the outer surface of the glass body.
The one on the right is the correct one, with the liquid "touching" the outer surface of the glass body.
Here you can see what the difference is in solidworks
The solution is to create the top surface of the liquid as a surface, and assigning the same material to the inner wall of the glass. Create the split line if its missing from your model.
Here a reference to show that the liquid in a glass really does seem to touch the outer side of the glass.
So, how to do this?
First, create your glass.
Then, add a "line" where the top of the liquid will be.
Use the split tool to create a line in the surface, only select the line and the inside surface of the glass.
And there you have it, an intersection line.
Now, create a surface top, make sure the end of the sketch line touches the line you just made on the glass surface. Don't forget to add the vertical construction-line.
And revolve this with surface revolve
Then, give the inside surface of the glass and the top-surface the same material.
And import your model to keyshot!
Great tutorial and Thx for sharing it
as u know i want to make a great Keyshot Tips and i really love to have ur Tutorial in my collection.
here is the Keyshot Tips just Add it there if u want
Thx again for ur great tutorials.
What if I tried to drop ice cubes into the glass? How would I render that?
Well what I meant is how to make the icecubes in the liquid look realistic. But animating and rendering dropping them in - I'd heard good things about Modo but hadn't explored them enough... thanks Scott.... and thanks Robert I can't wait to read about it!
That is a good one, will try to make one about that. I didn't like this ice cube tutorial:
Luxology's Modo has a Splash kit that creates Splashes and liquid droplets... They make that look super easy. I use Modo for anything like that, after all we are in the Customer Packaging business.
hey, thanks for the tutorial, but still i need more details in the last steps and applying materials in keyshot
thanks in advance
Hi Francisco, that is very easy. You have to give in solidworks all the parts that have a different material a different color. Therefore I made the liquid blue and the glass grey. (color doesn't matter)
In keyshot simply select the material you want from the library and drag it onto the model. So you drag a liquid material onto the blue part of the model, and a glass material on the grey part of the model.