Algorithm Search⌘K

Algorithmadvanced

Extended free-form deformation

Also called EFFD.

Free-form deformation with lattices of non-parallelepiped shape, such as cylinders, glued into one, so that the deformation follows the object.

Time
Θ(N q) deformO(N c K q) embed
Space
Θ(c q + N) extra
Where
K = the largest number of Newton steps per chunk; N = the number of points to deform; c = the number of chunks of the lattice; q = the number of control points of one chunk
Properties
deterministicnot exactonlineiterative

Extended free-form deformation (EFFD) is free-form deformation with a lattice of any shape. The lattice is made of several Bezier volumes, the chunks, glued along shared faces, so it can be a ring, a cylinder or a bent tube that hugs the object. Because the undeformed lattice is no longer a box, the local coordinates of a point have no closed form, and EFFD finds them by Newton iteration. After that, the deformation is the same as in FFD: each point follows its chunk. Sabine Coquillart (1990) introduced the method as a sculpting tool, for example to dig a groove that runs around a cylinder.

In plain words

In plain free-form deformation the object sits in a box of jelly with a grid of handles. Many objects do not fit a box well: a bottle, a ring, a bent pipe. EFFD lets you build the jelly from several pieces, each shaped like part of the object, glued side by side. The catch is that a point of the object no longer knows at once where it sits inside its piece. So, before the edit, each point searches for its place, by guessing and correcting the guess a few times. When the search fails, the point lies outside every piece and is left alone. Then the handles move, and each point follows its own piece as in plain FFD.

The problem

The input is a lattice of cc chunks and a set of points. Chunk bb is a Bezier volume Bb(w;P)=∑ijkBil(w1)Bjm(w2)Bkn(w3)Pgb(i,j,k)B_b(w; P) = \sum_{ijk} B_i^l(w_1)B_j^m(w_2)B_k^n(w_3)P_{g_b(i,j,k)} over w=(w1,w2,w3)∈[0,1]3w = (w_1, w_2, w_3) \in [0, 1]^3, where gbg_b maps the local index of a control point to an index in one global list PP. Two chunks that share a face use the same global indices for its control points. PP is the rest lattice and P′P' the edited lattice. The output is, for each point XX, the point X′=Bb(w;P′)X' = B_b(w; P'), where Bb(w;P)=XB_b(w; P) = X, or NOT FOUND if no chunk holds XX.

The algorithm

Jb(w)J_b(w) is the 3 by 3 Jacobian matrix of Bb(⋅ ;P)B_b(\cdot\,; P) at ww, computed from the derivatives of the Bernstein polynomials.

  1. EFFD(X, chunks, P, P')
  2. 1for each chunk b do
  3. 2w ← (1/2, 1/2, 1/2)
  4. 3repeat at most K times
  5. 4r ← B_b(w; P) - X
  6. 5if |r| < tol then leave the loop
  7. 6w ← w - J_b(w)^(-1) r
  8. 7if |r| < tol and w ∈ [0, 1]^3 then
  9. 8return B_b(w; P')
  10. 9return NOT FOUND

Lines L2 to L6 are Newton's method for the system Bb(w;P)=XB_b(w; P) = X of three equations in three unknowns. Line L7 accepts the result only if it converged and lies in the parameter cube; a solution outside the cube belongs to the extension of the polynomial, not to the chunk. The embedding, lines L1 to L7, depends only on PP, so it runs once; line L8 runs again each time the user edits P′P'. The implementation also stops a chunk when JbJ_b is singular or the iterate runs away.

Example

The lattice is a quarter of a thick ring and the next quarter, two chunks of degree (2,1,1)(2, 1, 1). In the first chunk, w1w_1 runs along a quadratic arc with the control points (r,0)(r, 0), (r,r)(r, r), (0,r)(0, r), w2w_2 runs from the radius r=1r = 1 to r=2r = 2, and w3w_3 runs from the height z=0z = 0 to z=1z = 1. The second chunk uses the arc (0,r)(0, r), (−r,r)(-r, r), (−r,0)(-r, 0), and the two chunks share the 4 control points of the face at 90 degrees. The point X=(1.125,1.125,0.5)X = (1.125, 1.125, 0.5) is B1((1/2,1/2,1/2);P)B_1((1/2, 1/2, 1/2); P), and Newton's method from (1/2,1/2,1/2)(1/2, 1/2, 1/2) finds it in the first chunk at once. Now move the two outer middle control points (2,2,0)(2, 2, 0) and (2,2,1)(2, 2, 1) to (2.5,2.5,0)(2.5, 2.5, 0) and (2.5,2.5,1)(2.5, 2.5, 1). Each has the weight B12(1/2)B11(1/2)Bk1(1/2)=1/8B_1^2(1/2)B_1^1(1/2)B_k^1(1/2) = 1/8 at XX, so XX moves by 2⋅18⋅(0.5,0.5,0)=(0.125,0.125,0)2 \cdot \frac18 \cdot (0.5, 0.5, 0) = (0.125, 0.125, 0) to (1.25,1.25,0.5)(1.25, 1.25, 0.5). The point (0.2,0.2,0.5)(0.2, 0.2, 0.5) lies in the hole of the ring; Newton's method converges in neither chunk to a parameter in the cube, so it is NOT FOUND. The tests check these values, the recovery of random parameters, and the continuity across the shared face.

Correctness

If line L7 accepts ww for chunk bb, then Bb(w;P)=XB_b(w; P) = X within the tolerance, so XX lies in chunk bb and line L8 is the FFD of that chunk. With P′=PP' = P, line L8 returns Bb(w;P)≈XB_b(w; P) \approx X, so the rest lattice gives the identity; an affine map applied to all of PP gives the same map on the points, by the Bernstein identities of free-form deformation. On a shared face, both chunks reduce to the same Bezier patch of the shared control points, so the deformation is continuous across the face for every P′P'. Newton's method converges quadratically from a start close enough to a solution where JbJ_b is invertible; this is a local result, and from (1/2,1/2,1/2)(1/2, 1/2, 1/2) it can fail or find a solution outside the cube. The proof gives the details and the cases where the embedding can miss a point.

Proof: Extended free-form deformation is the identity at rest on embedded points, reproduces affine maps, and is continuous across shared facesfull

We use the notation of the page. A chunk bb has the degree (l,m,n)(l, m, n) and the map Bb(w;P)=∑ijkβijk(w)Pgb(i,j,k)B_b(w; P) = \sum_{ijk} \beta_{ijk}(w)P_{g_b(i,j,k)}, with βijk(w)=Bil(w1)Bjm(w2)Bkn(w3)\beta_{ijk}(w) = B_i^l(w_1)B_j^m(w_2)B_k^n(w_3). We say that line L7 accepts (b,w)(b, w) for XX if ∣Bb(w;P)−X∣<tol|B_b(w; P) - X| < \text{tol} and w∈[0,1]3w \in [0, 1]^3.

What the algorithm returns

Lemma 1. If the algorithm returns a point for XX, it returns Bb(w;P′)B_b(w; P') for a chunk bb and a parameter w∈[0,1]3w \in [0, 1]^3 with ∣Bb(w;P)−X∣<tol|B_b(w; P) - X| < \text{tol}.

Proof. Line L8 runs only after line L7 accepts (b,w)(b, w), and nothing changes bb or ww between the two lines. □\square

So the result is a point of chunk bb of the edited lattice, at the parameter of a point of chunk bb of the rest lattice that is within tol of XX.

Identity and affine invariance

Theorem 1. If P′=PP' = P, the returned point X′X' satisfies ∣X′−X∣<tol|X' - X| < \text{tol}.

Proof. By Lemma 1, X′=Bb(w;P)X' = B_b(w; P) and ∣Bb(w;P)−X∣<tol|B_b(w; P) - X| < \text{tol}. □\square

Theorem 2. If Pg′=A(Pg)P'_g = A(P_g) for an affine map A(Y)=MY+cA(Y) = MY + c and every global index gg, then X′=A(Bb(w;P))X' = A(B_b(w; P)), so ∣X′−A(X)∣<∥M∥ tol|X' - A(X)| < \|M\|\,\text{tol}.

Proof. ∑ijkβijk(w)=1\sum_{ijk}\beta_{ijk}(w) = 1 for every ww, by the binomial theorem in each variable. So Bb(w;P′)=∑βijk(w)(MPgb(i,j,k)+c)=MBb(w;P)+cB_b(w; P') = \sum \beta_{ijk}(w)(MP_{g_b(i,j,k)} + c) = MB_b(w; P) + c. Then ∣X′−A(X)∣=∣M(Bb(w;P)−X)∣≤∥M∥ tol|X' - A(X)| = |M(B_b(w; P) - X)| \le \|M\|\,\text{tol}. □\square

Continuity across a shared face

Theorem 3. Let chunk aa and chunk bb share a face: for all j,kj, k, ga(l,j,k)=gb(0,j,k)g_a(l, j, k) = g_b(0, j, k), and both have the degrees m,nm, n in the other two variables. Then for every edited lattice P′P' and all (w2,w3)(w_2, w_3), Ba((1,w2,w3);P′)=Bb((0,w2,w3);P′)B_a((1, w_2, w_3); P') = B_b((0, w_2, w_3); P').

Proof. Bil(1)=1B_i^l(1) = 1 if i=li = l and 0 otherwise, and Bil′(0)=1B_i^{l'}(0) = 1 if i=0i = 0 and 0 otherwise. So Ba((1,w2,w3);P′)=∑jkBjm(w2)Bkn(w3)Pga(l,j,k)′B_a((1, w_2, w_3); P') = \sum_{jk}B_j^m(w_2)B_k^n(w_3)P'_{g_a(l,j,k)} and Bb((0,w2,w3);P′)=∑jkBjm(w2)Bkn(w3)Pgb(0,j,k)′B_b((0, w_2, w_3); P') = \sum_{jk}B_j^m(w_2)B_k^n(w_3)P'_{g_b(0,j,k)}, which are the same sum. □\square

Two points just on each side of the face have parameters close to (1,w2,w3)(1, w_2, w_3) in chunk aa and (0,w2,w3)(0, w_2, w_3) in chunk bb, so by the continuity of each polynomial they map to nearby points: the deformation has no tear at the face. The first derivative across the face is l(Pga(l,⋅)′−Pga(l−1,⋅)′)l(P'_{g_a(l,\cdot)} - P'_{g_a(l-1,\cdot)}) on one side and l′(Pgb(1,⋅)′−Pgb(0,⋅)′)l'(P'_{g_b(1,\cdot)} - P'_{g_b(0,\cdot)}) on the other, so the deformation is C1C^1 only if these agree; an edit that moves one inner layer alone breaks this, which is the crease of the Pitfalls.

The embedding

Newton's method for F(w)=Bb(w;P)−X=0F(w) = B_b(w; P) - X = 0 converges quadratically to a root w∗w^* if Jb(w∗)J_b(w^*) is invertible, JbJ_b is Lipschitz near w∗w^*, and the start is close enough to w∗w^* (the local convergence theorem for Newton's method on systems; see Newton's method for systems). BbB_b is a polynomial, so JbJ_b is Lipschitz on bounded sets. The theorem says nothing about a start at (1/2,1/2,1/2)(1/2, 1/2, 1/2) far from the root, and the algorithm makes no claim there. There are three ways the embedding can miss:

  1. Newton's method does not converge within KK steps, or meets a singular JbJ_b.
  2. It converges to a root outside [0,1]3[0, 1]^3, which line L7 rejects, while another root inside the cube exists.
  3. The rest chunk folds, so two parameters in the cube map to XX, and the one found depends on the start.

In cases 1 and 2 the algorithm can return NOT FOUND for a point inside the lattice, and in case 3 the result is one of several valid answers. If the rest chunk is one to one on [0,1]3[0, 1]^3 with an invertible Jacobian, case 3 cannot occur, and every root in the cube is the unique parameter of XX. The tests use a lattice of this kind, where the arc map w1↦(1−w12,2w1−w12)w_1 \mapsto (1 - w_1^2, 2w_1 - w_1^2) times the radius has a strictly increasing angle, so each chunk is one to one.

Complexity

One Newton step evaluates BbB_b and JbJ_b in Θ(q)\Theta(q) time for a chunk with qq control points, plus O(1)O(1) for the 3 by 3 solve. Embedding a point costs O(cKq)O(cKq) in the worst case, when it tries every chunk; a bounding box per chunk usually rejects most chunks at once. After the embedding, each edit costs Θ(q)\Theta(q) per point. The lattice takes Θ(cq)\Theta(cq) memory, and each point stores its chunk and its ww.

Properties

  • Identity at rest (proved). If the embedding converged, the rest lattice gives back the point, within the Newton tolerance.
  • Affine invariance (proved). An affine map of the whole lattice gives the same map of the embedded points.
  • C0 across shared faces (proved). Chunks that share control points on a face meet continuously for every edit.
  • Not C1 in general. The derivatives across a shared face agree only if the neighbouring layers of control points satisfy the usual Bezier conditions; an edit that ignores them makes a crease.
  • Embedding is numerical. Newton's method has only local convergence. The start, the iteration limit and the tolerance are tuning, not part of a proof.
  • Points outside do not move. As in FFD, points with no chunk are left in place.

Variants and improvements

  • Better starts. Start Newton's method from the nearest sample of a precomputed grid of parameters, or subdivide the chunk until the point is close, to make the embedding robust.
  • Bounding boxes. The convex hull property of Bezier volumes bounds each chunk by its control points, so a chunk whose box misses the point can be skipped.
  • Smooth junctions. Keep the layers on both sides of a shared face collinear when editing, to get C1C^1 junctions.
  • Cages. Cage-based deformation uses a coarse mesh of any shape and closed-form coordinates, so it needs no Newton iteration at all.

When to use it

Use EFFD when the deformation should follow a curved or ring-shaped part of an object, such as a groove around a cylinder or a bulge along a bent pipe, and a box lattice would put control points far from the surface. If the lattice can be a box, plain FFD is simpler and has exact local coordinates. If the shape is better framed by a coarse mesh than by Bezier chunks, use cage-based deformation.

Pitfalls

  • Failed embedding. A point near a chunk boundary or a fold of the rest lattice can be NOT FOUND or land in the wrong chunk. Check the residual, and try all chunks before giving up.
  • Folded rest lattice. If det⁡Jb\det J_b changes sign inside a chunk, a point can have two parameters, and the deformation is not well defined there.
  • Tolerance. A loose tolerance gives points that jump a little even at rest. The tests use 10−1210^{-12} and accept parameters within 10−910^{-9} of the cube.
  • Shared indices. Chunks that store their own copies of the shared face points instead of shared indices drift apart when only one copy moves.

Implementations

Each implementation follows the pseudocode above. A comment @line links a line of code to a line of the pseudocode. Point at a line of the pseudocode to see the matching code. The build runs the native tests of each language.

extended_free_form_deformation.pyI0RawGitHub
# SPDX-License-Identifier: MIT
# Part of https://algorithm.tamnd.com/extended-free-form-deformation/. The authors are listed in prov/7CMXN6.jsonl.
"""Extended free-form deformation in the spirit of Coquillart (1990).

The lattice is a list of chunks. Each chunk is a Bezier volume of degree
(l, m, n) whose control points are indices into one global list of points,
so neighbouring chunks that share a face share the same control points and
meet with C0 continuity. The undeformed lattice need not be a box, so the
local coordinates of a point are not given by a formula. They are found by
Newton iteration on B_c(w) = X, chunk by chunk. The deformed point is then
B_c(w) evaluated with the moved control points.
"""

from math import comb

NOT_FOUND = None


def bernstein(deg, x):
    """Return [B_0^deg(x), ..., B_deg^deg(x)]."""
    return [comb(deg, i) * (1 - x) ** (deg - i) * x ** i for i in range(deg + 1)]


def bernstein_derivative(deg, x):
    """Return the derivatives of the Bernstein polynomials of degree deg."""
    if deg == 0:
        return [0.0]
    low = bernstein(deg - 1, x)
    return [deg * ((low[i - 1] if i >= 1 else 0) - (low[i] if i < deg else 0)) for i in range(deg + 1)]


class Chunk:
    """One Bezier volume. idx[i][j][k] is an index into the global point list."""

    def __init__(self, deg, idx):
        self.deg = tuple(deg)
        l, m, n = self.deg
        if len(idx) != l + 1 or any(len(p) != m + 1 for p in idx) or any(len(r) != n + 1 for p in idx for r in p):
            raise ValueError("the index grid does not match the degree")
        self.idx = idx

    def evaluate(self, points, w):
        """Return B_c(w) for the given global point list."""
        l, m, n = self.deg
        bs, bt, bu = bernstein(l, w[0]), bernstein(m, w[1]), bernstein(n, w[2])
        out = [0.0, 0.0, 0.0]
        for i in range(l + 1):
            for j in range(m + 1):
                for k in range(n + 1):
                    c = bs[i] * bt[j] * bu[k]
                    p = points[self.idx[i][j][k]]
                    for d in range(3):
                        out[d] += c * p[d]
        return tuple(out)

    def jacobian(self, points, w):
        """Return the 3 by 3 matrix dB_c/dw; column a is the derivative by w[a]."""
        l, m, n = self.deg
        b = (bernstein(l, w[0]), bernstein(m, w[1]), bernstein(n, w[2]))
        db = (bernstein_derivative(l, w[0]), bernstein_derivative(m, w[1]), bernstein_derivative(n, w[2]))
        jac = [[0.0] * 3 for _ in range(3)]
        for i in range(l + 1):
            for j in range(m + 1):
                for k in range(n + 1):
                    p = points[self.idx[i][j][k]]
                    ws = (db[0][i] * b[1][j] * b[2][k], b[0][i] * db[1][j] * b[2][k], b[0][i] * b[1][j] * db[2][k])
                    for a in range(3):
                        for d in range(3):
                            jac[d][a] += ws[a] * p[d]
        return jac


def solve3(a, r):
    """Solve a x = r for a 3 by 3 matrix by Cramer's rule. Return None if singular."""

    def det(m):
        return (
            m[0][0] * (m[1][1] * m[2][2] - m[1][2] * m[2][1])
            - m[0][1] * (m[1][0] * m[2][2] - m[1][2] * m[2][0])
            + m[0][2] * (m[1][0] * m[2][1] - m[1][1] * m[2][0])
        )

    d = det(a)
    scale = max(abs(v) for row in a for v in row) or 1.0
    if abs(d) <= 1e-14 * scale ** 3:
        return None
    out = []
    for c in range(3):
        m = [[r[i] if k == c else a[i][k] for k in range(3)] for i in range(3)]
        out.append(det(m) / d)
    return out


def embed(chunks, points, x, iters=30, tol=1e-12, slack=1e-9):
    """Return (chunk index, w) with B_c(w) = x and w in [0, 1]^3, or NOT_FOUND."""
    for c, chunk in enumerate(chunks):  # @line L1
        w = [0.5, 0.5, 0.5]  # @line L2
        ok = False
        for _ in range(iters):  # @line L3
            b = chunk.evaluate(points, w)
            r = [b[d] - x[d] for d in range(3)]  # @line L4
            if max(abs(v) for v in r) < tol:  # @line L5
                ok = True
                break
            step = solve3(chunk.jacobian(points, w), r)
            if step is None:
                break
            w = [w[d] - step[d] for d in range(3)]  # @line L6
            if max(abs(v) for v in w) > 1e6:
                break
        if ok and all(-slack <= v <= 1 + slack for v in w):  # @line L7
            return c, tuple(min(1.0, max(0.0, v)) for v in w)
    return NOT_FOUND  # @line L9


def deform(chunks, rest, moved, x, **kw):
    """Return the deformed position of x, or NOT_FOUND if x is outside the lattice."""
    hit = embed(chunks, rest, x, **kw)
    if hit is NOT_FOUND:
        return NOT_FOUND
    c, w = hit
    return chunks[c].evaluate(moved, w)  # @line L8


def quarter_ring_lattice(r_in=1.0, r_out=2.0, height=1.0):
    """Build the two-chunk example lattice: two quarter rings around the z axis.

    Each chunk has degree (2, 1, 1). The index s runs along a quadratic arc
    with the control points (r, 0), (r, r), (0, r) for the first quarter and
    (0, r), (-r, r), (-r, 0) for the second. The index t runs from r_in to
    r_out and the index u from z = 0 to z = height. The two chunks share the
    face at 90 degrees through shared indices.
    """
    points = []
    index = {}

    def pid(key, p):
        if key not in index:
            index[key] = len(points)
            points.append(p)
        return index[key]

    arcs = [((1, 0), (1, 1), (0, 1)), ((0, 1), (-1, 1), (-1, 0))]
    chunks = []
    for q, arc in enumerate(arcs):
        idx = []
        for i, (ax, ay) in enumerate(arc):
            plane = []
            for j, r in enumerate((r_in, r_out)):
                row = []
                for k, z in enumerate((0.0, height)):
                    row.append(pid((2 * q + i, j, k), (r * ax, r * ay, z)))
                plane.append(row)
            idx.append(plane)
        chunks.append(Chunk((2, 1, 1), idx))
    return chunks, points, index
test_extended_free_form_deformation.py 87 lines
# SPDX-License-Identifier: MIT
# Part of https://algorithm.tamnd.com/extended-free-form-deformation/. The authors are listed in prov/7CMXN6.jsonl.
import math
import random

from extended_free_form_deformation import NOT_FOUND, deform, embed, quarter_ring_lattice


def close(a, b, eps=1e-9):
    return all(abs(x - y) <= eps for x, y in zip(a, b))


def test_newton_recovers_the_local_coordinates():
    chunks, pts, _ = quarter_ring_lattice()
    rng = random.Random(11)
    for _ in range(40):
        c = rng.randrange(2)
        w = tuple(rng.uniform(0.02, 0.98) for _ in range(3))
        x = chunks[c].evaluate(pts, w)
        hit = embed(chunks, pts, x)
        assert hit is not NOT_FOUND
        c2, w2 = hit
        assert close(chunks[c2].evaluate(pts, w2), x)
        assert c2 == c
        assert close(w2, w, 1e-8)


def test_undeformed_lattice_is_identity():
    chunks, pts, _ = quarter_ring_lattice()
    rng = random.Random(12)
    for _ in range(30):
        c = rng.randrange(2)
        x = chunks[c].evaluate(pts, [rng.random() for _ in range(3)])
        assert close(deform(chunks, pts, pts, x), x)


def test_worked_example():
    chunks, pts, index = quarter_ring_lattice()
    x = chunks[0].evaluate(pts, (0.5, 0.5, 0.5))
    assert close(x, (1.125, 1.125, 0.5))
    moved = list(pts)
    for k in range(2):
        p = index[(1, 1, k)]
        moved[p] = (2.5, 2.5, moved[p][2])
    y = deform(chunks, pts, moved, x)
    assert close(y, (1.25, 1.25, 0.5))


def test_shared_face_is_continuous():
    chunks, pts, index = quarter_ring_lattice()
    rng = random.Random(13)
    moved = [tuple(v + rng.uniform(-0.2, 0.2) for v in p) for p in pts]
    for _ in range(20):
        t, u = rng.random(), rng.random()
        a = chunks[0].evaluate(moved, (1.0, t, u))
        b = chunks[1].evaluate(moved, (0.0, t, u))
        assert close(a, b, 1e-12)
        # Points just on each side of the shared face map to nearby points.
        eps = 1e-7
        xa = chunks[0].evaluate(pts, (1 - eps, t, u))
        xb = chunks[1].evaluate(pts, (eps, t, u))
        ya = deform(chunks, pts, moved, xa)
        yb = deform(chunks, pts, moved, xb)
        assert math.dist(ya, yb) < 1e-5


def test_point_outside_is_not_found():
    chunks, pts, _ = quarter_ring_lattice()
    for x in ((0.2, 0.2, 0.5), (3.0, 0.0, 0.5), (0.0, -1.5, 0.5), (1.2, 1.2, 1.5), (1.2, 1.2, -0.1)):
        assert embed(chunks, pts, x) is NOT_FOUND
        assert deform(chunks, pts, pts, x) is NOT_FOUND


def test_affine_motion_of_all_points_is_reproduced():
    chunks, pts, _ = quarter_ring_lattice()
    rng = random.Random(14)
    a = [[rng.uniform(-1, 1) + (2 if r == c else 0) for c in range(3)] for r in range(3)]
    b = [rng.uniform(-1, 1) for _ in range(3)]

    def aff(p):
        return tuple(sum(a[r][c] * p[c] for c in range(3)) + b[r] for r in range(3))

    moved = [aff(p) for p in pts]
    for _ in range(20):
        c = rng.randrange(2)
        x = chunks[c].evaluate(pts, [rng.random() for _ in range(3)])
        assert close(deform(chunks, pts, moved, x), aff(x), 1e-8)

History

Coquillart presented EFFD at SIGGRAPH 1990 as a way to sculpt shapes that the box lattice of Sederberg and Parry could not follow. She built lattices from elementary ones, such as cylindrical lattices, joined them, and then embedded the object numerically. The cost and the fragility of the numerical embedding later pushed work toward cages with closed-form coordinates, such as mean value, harmonic and Green coordinates.

References

  1. Sabine Coquillart, Extended free-form deformation: a sculpturing tool for 3D geometric modeling, SIGGRAPH 90, Computer Graphics 24(4), 187-196, 1990, the whole paper (lattices built from joined elementary lattices such as cylinders, the embedding of a point by a numerical solve, and the deformation of the object with the lattice)
  2. Thomas W. Sederberg and Scott R. Parry, Free-form deformation of solid geometric models, SIGGRAPH 86, Computer Graphics 20(4), 151-160, 1986, the whole paper (the parallelepiped lattice that EFFD generalizes)

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.

LadderLevelWhat the next level needs
Human proofH1 sketch
  • a full proof of time.deform
  • a full proof of time.embed
  • a full proof of space.extra
LeanL0 no Lean part
  • name a Lean module in the lean field (07)
Code (python)I0 not checked yet
  • the tests did not run in this build
VisualV0 none
  • add viz/scene.ts or a figure (10)
WritingW2 basic
  • History with a source
  • at least three sources
  • a scene preset for the example