Matt's Source Code Portal

Home About Links Problems Contact

Cloth

Simulation

Cloth is a very interesting and complicated subject in computer graphics. More accurately referred to as thin-shell material models, the objective is to simulate the motion of thin objects such as cloth, folded paper, clothing, etc. Throughout time people have come up with a wide array of cloth models, and no single model has proven itself strongly dominant. In order to compare the existing models, we'll break down the model into four categories:

Rendering - Discusses smoothing the simulated mesh via subdivisional surface algorithms, and techniques for rendering the cloth with a thickness or knotted pattern.

Results

Large cloak draped on human figure
Piece of cloth dropped on the ground
Human figure draping a cloth around itself

Presentation

A powerpoint presentation corresponding to these topics can be found here.

Videos

Various videos of the cloth simulation in action:

Code

xCloth Simulator
The code for this cloth simulator requires the EngineInterface folder be in the project's include directory. This can be found on the home page.