Boolean Operations -
Creating a mug with milk


Free Web Hosting by Netfirms
Web Hosting by Netfirms | Free Domain Names by Netfirms

After learning this tutorial, you will be able to apply Boolean skills in your scenes. Using Boolean operations, we will create a mug and then fill the mug with milk.

Create a cylinder and in the Side view, stretch it a bit. (See picture)

Click the Cylinder in the World Browser and rename it 'Outer'.
Select the Numerics tab in the Object properties window.
Highlight the Size button and set the following values:
X=30;
Y=30;
Z=38.


Right click the cylinder in the side view and select Copy. Right click again and select Paste.
Rename the second cylinder 'Inner' and shrink it down a little by opening the Numerics tab in the Object properties panel, highlighting the 'Size' button and setting the following values:
X=28;   Y=28;   Z=37.
Highlight the Position button and increase the value along the Z-axis to 39. For now, you should have something like in my picture below.


Now let's create a handle for the mug. We'll create the handle using a torus primitive. So, create a torus, resize it and move it to the correct spot.
Press and hold the Ctrl  button on your keyboard and in the World Browser, select both the Torus and the Outer cylinder.
In the left toolbar press the Boolean Union button.
Select the Union and the Inner cylinder simultaneously.
Press the Difference button and try to render your current scene.

It's time to apply the material we want to our mug!
Highlight the Difference group in the World Browser and press the
Load material button.
From the 'Glasses' collection, choose the 'Slightly smoked glass' for instance.
Let's pour milk into our mug: ;)
Select the Inner cylinder and make a copy of it (right click, copy, paste)
In the World Browser rename the second Inner cylinder to Liquid.
Set the following values in the Size section of the Numerics tab:
X=27.99;
Y=27.99;
Z=33.
In the Position tab set the Z-value to 35. Apply the Milk material from the Liquids collection.

Tea's ready!