Cloth modeling


Cloth is a woven or felted fabric made from wool, cotton, or a similar fiber. Cloth modeling is the term used for simulating cloth within a computer program, usually in the context of 3D computer graphics. The main approaches used for this may be classified into three basic types: geometric, physical, and particle/energy.

Background

Most models of cloth are based on "particles" of mass connected in some manner of mesh. Newtonian Physics is used to model each particle through the use of a "black box" called a physics engine. This involves using the basic law of motion :
In all of these models, the goal is to find the position and shape of a piece of fabric using this basic equation and several other methods.

Geometric methods

pioneered the first of these, the geometric technique, in 1986. His work was focused on approximating the look of cloth by treating cloth like a collection of cables and using Hyperbolic cosine curves. Because of this, it is not suitable for dynamic models but works very well for stationary or single-frame renders. This technique creates an underlying shape out of single points; then, it parses through each set of three of these points and maps a catenary curve to the set. It then takes the lowest out of each overlapping set and uses it for the render.

Physical methods

The second technique treats cloth like a grid work of particles connected to each other by springs. Whereas the geometric approach accounted for none of the inherent stretch of a woven material, this physical model accounts for stretch, stiffness, and weight:
Now we apply the basic principle of mechanical equilibrium in which all bodies seek lowest energy by differentiating this equation to find the minimum energy.

Particle/energy methods

The last method is more complex than the first two. The particle technique takes the physical methods a step further and supposes that we have a network of particles interacting directly. Rather than springs, the energy interactions of the particles are used to determine the cloth's shape. An energy equation that adds onto the following is used:
Terms for energy added by any source can be added to this equation, then derive and find minima, which generalizes our model. This allows for modeling cloth behavior under any circumstance, and since the cloth is treated as a collection of particles its behavior can be described with the dynamics provided in our physics engine.