Modelcore
Elastically deformable models
Also called Terzopoulos deformable models.
Elastic curves, surfaces and solids whose energy measures the change of the metric and curvature tensors, discretized by finite differences and advanced by a semi-implicit step.
The elastically deformable models of Terzopoulos, Platt, Barr and Fleischer (1987) animate curves, surfaces and solids whose shape changes by the laws of elasticity, so that one set of equations describes both the shape and the motion. A point with material coordinates in the domain is at , and the motion follows the Lagrange form
with the mass density , the damping density , the external force and the variational derivative of the deformation energy . The energy compares the fundamental forms of the current shape with those of the rest shape , so it is zero for every rigid motion.
The machine
The measures of deformation. For a surface with coordinates , the metric tensor is , the first fundamental form. The curvature tensor is , with the unit normal , the second fundamental form. A solid has a metric tensor and no curvature tensor; a space curve has the arc length, the curvature and the torsion .
The energies. With weighted matrix norms and the rest values marked by 0, the paper uses
The simplified force for a surface. The paper takes and replaces the variational derivative by
with and . The weights , resist stretch along the coordinate directions and resists shear; , resist bending and resists twist.
Finite differences. The surface is an grid with spacings , . Forward and backward differences replace the derivatives in , and , and the force of the whole grid takes the form , with a sparse, banded stiffness matrix that depends on the current shape. With the diagonal mass matrix and damping matrix , the motion becomes .
The semi-implicit step. With central differences in time, evaluated at with frozen at , and at , each step solves one linear system
The paper solves it by Cholesky decomposition or by Gauss-Seidel relaxation.
Applied forces. Gravity , a Hookean spring to a point, a viscous fluid force with the velocity relative to a stream , and a collision force from the potential of the inside-outside function of a fixed obstacle.
What it counts
counts how far the lengths and the angles (through ) and the bending (through ) of the body are from those of its rest shape. It does not count where the body is or how it is turned. The weights select the material: a large with gives a cloth that resists stretch, a small with a rubber sheet, a large with a modest paper, and a larger a spring-like metal sheet.
Example. For one linear mode with stiffness , unit mass and no damping, the step gives . The amplitude falls by the factor per step, for every :
| 0.1 | 1 | 10 | |
|---|---|---|---|
| factor per step | 0.995037 | 0.707107 | 0.099504 |
So the step is stable for every step size, and it damps the fast modes strongly.
Relation to other models
- Finite element method. The paper names finite elements as the other way to discretize Eq. 1 and uses finite differences on a regular grid. Many later methods use finite elements on meshes with a hyperelastic energy of the deformation gradient.
- Hyperelastic materials. If the material coordinates are the rest positions, the metric tensor of a solid is the right Cauchy-Green tensor , and with the Green strain . So the solid energy is a weighted quadratic energy of , like the St. Venant-Kirchhoff model, but with weights that need not be isotropic.
- Mass-spring systems. The finite difference terms of and couple neighbors along the grid lines, like springs, but the energy is quadratic in the change of the squared length.
- Discrete shells and cloth. Later surface models also split the energy into a stretch part and a bending part.
- Spline under tension. The paper notes that with and with , and independent of , the force is that of a thin plate surface under tension, and for curves that of a spline under tension.
- Backward Euler. The step has the same idea: the elastic force at the new time makes the step stable for stiff materials, at the cost of one linear solve and of numerical damping.
Known results in the model
- Rigid motions cost nothing (proved). For with a rotation , the derivatives of turn by and turns by , so and do not change and is the same; it is zero at every rigid motion of the rest shape.
- The stretch term is an exact gradient (proved). For symmetric , gives , and integration by parts gives the first sum of . So the part is the variational derivative of the stretch energy with the weight .
- The bending term is a simplification (stated in the paper). The exact variational derivative of the term is long, because depends on . The part of is chosen by analogy with the part, so it is not in general the gradient of an energy (heuristic).
- One linear solve per step (proved). and use only and , so each step is one sparse linear system in unknowns for a surface in space. If and do not depend on , then is constant and one decomposition serves all steps, as the paper notes.
- The step and the paper's form agree (proved). Putting the central differences into and writing gives exactly and above.
- Stable and damping for a linear mode (proved). The roots of are complex with , which gives the table above.
- Self-collision (stated in the paper). The paper avoids self-intersection only with a repulsive force around the surface, and notes that this is expensive without a hierarchy of bounding boxes.
References
- Demetri Terzopoulos, John Platt, Alan Barr and Kurt Fleischer, Elastically deformable models, SIGGRAPH 1987, Computer Graphics 21(4), 205 to 214, Section 3, Eq. 1 (the equation of motion); Section 4, Eqs. 2 to 8 (the fundamental forms and the energies); Section 5, Eqs. 9 to 13 (the applied forces); Section 6, Eqs. 14 to 31 (the simplified force, the finite differences and the semi-implicit step)
About this page
The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.
| Ladder | Level | What the next level needs |
|---|---|---|
| Human proof | H0 no proof |
|
| Lean | L0 no Lean part |
|
| Visual | V0 none |
|
| Writing | W3 standard |
|
Tag ZTB56H Edit this page History Report an error Markdown