Cloth modeling
This article needs additional citations for verification. (July 2020) |
Cloth modeling is the term used for simulating
Background
Most models of cloth are based on "particles" of mass connected in some manner of mesh.
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
Jerry Weil pioneered the first of these, the geometric technique, in 1986.
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:
- s terms are elasticity (by Hooke's Law)
- b terms are bending
- g terms are gravity (see Acceleration due to gravity)
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:
- The energy of repelling is an artificial element we add 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
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.
See also
- Soft body dynamics
- Classical mechanics
- Physics engine
- Rigid body dynamics
- Stretched grid method
External links
- Cloth Modeling by Kristopher Babic