World Position Offset: Liquid level controls

Hi,

I’m trying to make a dome shaped mesh. I want to create a liquid look to it that animates rising and lowering. I’ll add onto it motion for wave like movement on top of this. I have been having a hard time getting the verts to do what I would like. Since the sides are curved I cannot just lower the whole mesh, so I’m attempting to make the top most verts flatten as it is basically squashed. The trick is that the verts below the top surface I do not what to change. The mesh has a decent amount of verts in order to do this. Also, I don’t have Max to use the vertex animation tool. To visualize it, a plane would moved down through the dome, anything above the plane would flatten down to the plane and anything below the plane wouldn’t be affected.

Thanks.

Use vertex color to define vertices, that should be subjected to animation. While raising/lowering liquid, you can also calculate required sideways offset to keep liquid vertices inline with the glass. It is easier, if the shape of the glass can be approximated with a simple equation(ex. linearly tapered glass).

Thanks, I think we got it all working now.