1. Let's create a cloth object to be dropped over a ball. Make a two-dimensional box and
convert the polygons into triangular polygons to make the object
more difficult to collapse. See X.lwo.
2. Let's create our collision object which will be a ball. Make sure to position this object such that the cloth falls on top of the ball. If the center of the cloth is not aligned with that of the ball, the cloth will slip off the ball. See Qu.lwo.


3. Load each object
in Layout and open LW_MotionDesigner. Then, select
the cloth object (x.lwo) from the Object panel, and switch Target ON.
Select the ball object qu.lwo in the same way, and switch Collision
ON.
4. Set the parameters required for the cloth
surface (Default) on the Surface panel. Since it is a triangular polygon,
just set a value of 1000 for Spring (spring coefficient).
5. To prevent the polygons of the collision
object (qu) from penetrating the cloth, set the Skin thickness.
This will create a gap between the collision object and the cloth.
The thickness is set to 0.10 m (or 10 cm).
6. Let's set the wind and the gravity. Only
the gravity needs to be specified at this time. The scene file
of the settings from 3 to 6 above is mdc05.lws.
7. Let's start the calculation. If you are satisfied with the result, save the data in a file. Specify the filename by SAVE MDD button and save the data. X.mdd is the sample.
8. Go back to Layout and select the cloth object (x.lwo) on the Objects panel. Select MD_Plug as the displacement plug-in and load the saved file.
9. Manipulating the time slider should animate the cloth. Now render as desired.
