Cloth modeling

From Wikipedia, the free encyclopedia

Cloth modeling is the term used for simulating cloth within a computer program usually in the realm of Computer graphics . The main approaches used for this may be classified into three basic types: geometric, physical, and particle/energy.

Contents

[edit] Background

Most models of cloth are based on "particles" of mass connected together in some manner of mesh. To model each particle we use Newtonian Physics through the use of a "black box" called a Physics engine. This involves using the basic law of motion (Newton's Second Law):

\vec{F} = m \vec{a}

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.

[edit] Geometric Methods

Weil pioneered the first of these, the geometric technique, in 1986.[1] His work was focused on approximating the look of cloth by treating cloth like a collection of cables and using Hyperbolic cosine (catenary) curves. Because of this, it is not suitable for dynamic models but works very well for stationary or single-frame renders [1]. 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.

[edit] 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 (tension), stiffness, and weight:

E(Particlei,j) = ksEs,i,j + kbEb,i,j + kgEg,i,j

Now we apply the basic principal of Mechanical equilibrium in which all bodies seek lowest energy by differentiating this equation to find the minimum energy.

[edit] Particle/Energy Methods

The last method is more complex than the first two. The particle technique takes the physical technique from (f) a step further and supposes that we have a network of particles interacting directly. That is to say, that rather than springs, we use the energy interactions of the particles to determine the cloth’s shape. For this we use an energy equation that adds on to the following:

UTotal = URepel + UStretch + UBend + UTrellis + UGravity
  • The energy of repelling is an artificial element we ad to prevent cloth from intersecting itself.
  • The energy of stretching is governed by Hooke's law as with the Physical Method.
  • The energy of bending describes the stiffness of the fabric
  • The energy of trellising describes the shearing of the fabric (distortion within the plane of the fabric)
  • The energy of gravity is based on acceleration due to gravity

We can also add terms for Energy added by any source to this equation, then derive and find minima, which generalizes our model. This allows us to model cloth behavior under any circumstance, and since we are treating the cloth as a collection of particles it’s behavior can be described with the dynamics provided in our physics engine.

[edit] See also

[edit] References

NOTE: These are similar enough that only one is likely to be the original, which one is not clear

[edit] Notes

  1. ^ a b Tutorial on Cloth Modeling