Problemcore
Shape deformation
Also called mesh deformation, space deformation.
Change the shape of a surface or volume smoothly from a few user handles, such as points, curves, a lattice or a cage.
- Model
- Real RAM
Shape deformation is the problem of changing the shape of an object from a few controls that a user moves: points, curves, a lattice, a cage or a skeleton. The object is a surface mesh, a volume or a point cloud with many points, and the user moves only a few handles, so the method must decide how every other point follows. A good answer is smooth, meets the handles, and keeps the local detail of the object, so that a bent arm looks bent and not sheared. There are two large families. Space deformations deform the space around the object with a map and apply it to every point, whatever the object is made of: Barr's maps, lattices, wires and cages. Surface-based deformations work on the mesh itself and minimize an energy of its triangles or vertices, such as Laplacian surface editing or as-rigid-as-possible deformation. The alias "space deformation" names the first family only, not the whole problem.
In plain words
You have a detailed 3D model and you want to bend it, stretch it or pose it. Moving its thousands of points one by one is not possible, so you grab a few of them, or a simple frame around the model, and move those. The computer has to fill in how everything else moves. Some methods bend the whole space around the model, like a block of jelly, and the model goes with the jelly. Other methods look at the model's own surface and keep each small piece of it as close to its old shape as they can. Both kinds try to make the result look like the same object, only moved and bent.
Definition
The input is a rest shape , given by the points (and, for surface methods, the mesh that joins them), a set of handles with rest values , and new handle values . The output is the deformed points . The requirements are:
- Constraints. The handles are met: handle points reach their targets, exactly or in the least squares sense.
- Rest state. If , then .
- Smoothness. The deformed shape depends smoothly on the handles and has no tears.
- Shape preservation. Small parts of the object change by a rotation, or a rotation and a uniform scale, as far as the handles allow.
A space deformation is a map with for every point, where is the identity. A surface-based deformation is over the meshes that meet the constraints, for an energy that is 0 at the rest shape, such as with a Laplacian or a sum of squared distances to rotated rest cells.
The cost model is the real RAM: each arithmetic operation on real numbers costs 1. Costs are given in terms of the number of points and the number of controls , and they are split into a setup cost, paid once when the handles or the cage are chosen, and a cost per pose, paid each time the handles move.
Variants
- 2D or 3D. 2D shape manipulation deforms drawings and images; 3D deformation deforms models and volumes.
- Kind of handle. Points, regions of the surface, curves (wires), lattices (FFD), cages (cage-based deformation) or skeletons (linear blend skinning).
- Linear or nonlinear. Linear methods solve one linear system or apply fixed weights; nonlinear methods also find rotations, by fitting or by iteration.
- What is kept. Angles (conformal maps), lengths (isometric maps), volume, or the Laplacian detail of the surface.
- Interpolation of given shapes. When the target shapes are given in full and only the shapes in between are wanted, the problem becomes shape interpolation, as in as-rigid-as-possible shape interpolation.
- Learned or example-based. Pose-space deformation blends sculpted corrections over the pose of a skeleton, and deformation transfer copies the deformation of one mesh onto another.
Examples
A lattice. In free-form deformation with the unit cube as a lattice of degree 2, raising the center control point by moves the center of the cube up by , to , while the corners stay.
A cage. With mean value coordinates of the L-shaped cage with the vertices , , , , , , sliding the top edge by to the right moves the point to about ; see cage-based deformation.
Handles on a mesh. A bar of squares, cut into 10 triangles, has its left end fixed and its right end raised by . As-rigid-as-possible shape manipulation bends it into an S, and the vertex that starts at ends at about .
A closed-form map. Barr's bend with the rate maps the point to on a circle of radius 2.
Known algorithms
Space deformations:
- Barr's global deformations (1984): taper, twist and bend in closed form, with exact normals.
- Free-form deformation (Sederberg and Parry 1986): a trivariate Bezier lattice.
- Extended free-form deformation (Coquillart 1990): lattices of other shapes, embedded by Newton iteration.
- Wires (Singh and Fiume 1998): space curves with a radius of influence.
- Cage-based deformation with mean value, harmonic or Green coordinates.
- Linear blend skinning and bounded biharmonic weights: blends of handle transforms with weights per point.
Surface-based and mesh-based deformations:
- As-rigid-as-possible shape manipulation (Igarashi, Moscovich and Hughes 2005): two linear least squares steps on a 2D triangle mesh.
- Laplacian surface editing: keeps the Laplacian coordinates of the surface in the least squares sense.
- As-rigid-as-possible deformation (Sorkine and Alexa 2007): alternates fitting a rotation per vertex cell and a sparse linear solve.
| Algorithm | Time | Space | Properties | Code |
|---|---|---|---|---|
| As-rigid-as-possible shape manipulation | O(n^2 + m) per_move | Θ(n^2 + m) extra | deterministicexactofflineiterative | 1 language |
| Barr's global deformations | Θ(N g) all | O(1) extra | deterministicexactonlineiterative | 1 language |
| Direct manipulation of blendshapes | O(m k) drag | O(m k + k^2) extra | deterministicexactonlineiterative | 1 language |
| Bounded biharmonic weights | O(n^3 + m I n^3) total | O(n^2 + m n) extra | deterministicexactofflineiterative | 1 language |
| Deformation transfer | O(p + (n + t)^2) frame | O((n + t)^2) extra | deterministicexactofflineiterative | 1 language |
| Example-based facial rigging | O(I (T n (n + m) + n^3 + m n^2 K) + V^3 + n V^2) total | O(T (n + m) + V^2 + n V) extra | deterministicnot exactofflineiterative | 1 language |
| Extended free-form deformation | Θ(N q) deform | Θ(c q + N) extra | deterministicnot exactonlineiterative | 1 language |
| Free-form deformation | Θ(N l m n) all | Θ(l m n) extra | deterministicexactonlineiterative | 1 language |
| Green coordinates | Θ(N n) all | Θ(n) extra | deterministicexactonlineiterative | 1 language |
| Harmonic coordinates | O(G^4 + n G^3 + N n) all | O(G^3 + n G^2) extra | deterministicnot exactofflineiterative | 1 language |
| Wires deformation | Θ(N w V) all | O(w) extra | deterministicexactonlineiterative | 1 language |
Bounds
Output cost. Every method must at least write the moved points, so time per pose. Space deformations with controls and fixed weights cost per pose with dense weights; linear surface methods cost one sparse factorization when the handles are chosen and one back substitution per pose.
Linear blends cannot keep shape under every edit (proved). Let a method move each point by with scalar weights that do not depend on , and let it reproduce translations and rotations of the handles. Then it reproduces every linear map of the handles, because . So if the user shears the handles, every part of the object is sheared by the same amount, and no such method keeps local shapes rigid or conformal under that edit. Methods that keep shape must depend on in a nonlinear way: Green coordinates use the moved normals and edge lengths, and ARAP fits rotations.
Large rotations in linear surface methods. Botsch and Sorkine (2008) show that linear variational methods, which solve one linear system in the positions, handle translations of the handles well but have trouble with large rotations, because the rest detail is stored in the rest orientation; nonlinear methods that estimate rotations fix this.
Reductions
- FFD is a cage method. Free-form deformation is cage-based deformation with a box cage and Bernstein polynomials as the coordinates.
- Cages are linear blends. A cage deformation with weights is linear blend skinning in which each handle is a vertex with a translation only.
- Harmonic coordinates reduce to the Laplace equation. They are solutions of a Poisson-type boundary value problem, one per cage vertex.
- Linear surface methods reduce to sparse least squares. Laplacian surface editing and each step of ARAP manipulation are least squares problems with sparse symmetric positive definite normal matrices, solved by Cholesky factorization.
- Wires reduce to closest points on curves. Each point of a wire deformation needs its closest point on the reference curve, a point inversion problem on smooth curves.
Applications
- Character animation. Skeletons with skinning, cages and pose-space corrections drive the bodies and faces of animated characters.
- Modeling. Lattices, wires and surface editing let artists sculpt detailed shapes from simple controls.
- 2D animation. Shape manipulation animates drawings, photos and text by dragging points.
- Simulation and medicine. Embedding a detailed mesh in a coarse simulation mesh or cage, and B-spline free-form deformations in image registration, use the same idea of a coarse map that moves a fine object.
References
- Mario Botsch and Olga Sorkine, On linear variational surface deformation methods, IEEE Transactions on Visualization and Computer Graphics 14(1), 213-230, 2008, the whole survey (surface-based and space deformations, linear variational methods, and their trouble with large rotations)
- Jesús R. Nieto and Antonio Susín, Cage based deformations: a survey, in Deformation Models, Lecture Notes in Computational Vision and Biomechanics, Springer, 75-99, 2013 (online 2012), the whole survey (space deformations controlled by cages)
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 | W2 basic |
|
Tag SC5AQ9 Edit this page History Report an error Markdown