A Table Cloth

You need to download first the file tablecloth.zip (711K) and unzip it to get the 3 obj files needed for this tutorial.

clt1

Use menu file > import > wavefront obj to import first the table.obj file.

Deselect first all options.
Then import the file cloth1.obj
Select the cloth room.

We are ready.


clt4

Step 1 : in the cloth simulation part, click on New simulation.

In the popup window, name your simulation Tablecloth ; let the others parameters as they are and click OK.


clt4

Step 2 : select the object cloth.

Then in the Cloth part, click on clothify.

The popup window show the cloth object selected.

Click on Clothify.


clt5

Click on the button “Collide Against…”.

In the popup window, click on Add/Remove, and in the second popup window, check the table object.

Click OK twice.

We will not use the cloth groups this time so go to the dynamic controls.


clt6

Step 3 : click on “Calculate Simulation” (let the parameters keep their default values)


clt7

When the simulation is finished, we can see :

some holes on the top
cloth to cloth intersections
that 30 frames are not sufficient to stabilize the cloth

So go back to the “1.Cloth simulation” screen part and click on “Simulation settings”.

In the simulation range, set end frame to 100 ; then check “object polygon against cloth polygon” and “cloth self-collision”.

Click on “Clear Simulation” then on “Calculate Simulation” again.

Slower, isn’t it ?


clt8

But better.


Now, we will play a little with the dynamic controls.We would like more folds.

Fold resistance is set to 5. It’s normally something like cotton. Set it to 1 (like silk).

Set also shear resistance to 30.

Again “Clear Simulation” then “Calculate simulation”

A little different but not much.


Well, delete the simulation and the object cloth.

Import the object cloth 2, and use the same steps as before to build a new simulation. Launch.

(You have all your time to prepare the coffee.)

Very different render this time !


Question : where is the difference between our two clothes ?

Answer : the two objects have the same world size, but the object cloth 1 has 2597 verticies and the object cloth 2 has 5373.


We have learned how to use the main steps of the cloth room, and some options and parameters.

But the main lesson of this tutorial is that the folds details will be first limited by your mesh density. The simulator will move your verticies, differently according to the parameters you choose, but it will not divide your polygons to have a better detail level.

Remenber this if you want to build clothes yourself : you will have to adapt the mesh density to the folds detail level you need, and settle between the detail level of your dreams and the power needed to simulate with high density objects.