1. Create a T-shirt. Or, use the supplied object T0.lwo.
2. Let's create a body to fill out the T-shirt. The arms should be different objects because these move independently. Bm.lwo, br.lwo, and bl.lwo are the given examples.

3. Open Layout and assemble the body. Create keyframes that lower the arms of the body object. T0.lws is the example.


4. Open LW_MotionDesigner. Select the T-shirt
object (T0.lwo) from the Object Panel and switch the Target ON.
5. Select the body (bm.lwo) and the two arms (br.lwo, bl.lwo) as collision objects, and switch the Collision settings ON.
@
6. Set the parameters required for each surface
on the Surface panel. Set the T-shirt surface (t1), refering to the
picture on the left.
7. Set the surface parameters of the collision
(Default). Set the Skin Thickness to 0.01m (1 cm) and set Friction to 1 to
add friction between the T-Shirt and the skin.
8. Let's set the wind and the gravity. Only
the gravity must be specified at this time. The settings are saved in rflag.mds.
9. Let's make a calculation of just one second for the lowered arms. If there is no problem with the calculation, click the DUMP button to create the DUMP file for recording the status that the arms are lowered. See Mds.dump.

10. Create a keyframe in Layout that raises the arms of the body object. (T1.lws)


11. Go back to LW_MotionDesigner and re-select the object. Select DumpFileName and press Enter key to load the recently-created dump file.
12. Let's execute the calculation again. The new calculation
based on the dump file starts. If you are satisfied with the result,
save the data in a file. Specify the filename by the
button and save the data.

13. Go back to Layout and open the Object properties panel of the T-shirt object. Select MD_Plug as the displacement-map plug-in and load the saved file by Option.
14. Manipulating the time slider should animate the T-shirt. Now render as you desire.
