Skip to content

Cloth Simulation

You might say

“Make the coat move like real fabric — heavy folds, not a plastic sheet flapping.”

Describe it to an agent this way — far better than saying “make it nicer”.
Also called
布料解算Cloth simFabric dynamics

Motion · Cloth

Cloth is solved, not posed

The same forces from the same start drop the same folds, every run. You cannot hand-tune frame 37 — there is no keyframe there, only a position integrated one step at a time.

Twelve points pinned along the top edge; gravity pulls the grid down, wind pushes from the left, the floor stops whatever comes through.

  1. Solved, not keyframed

    The whole sheet is 84 point positions. Each frame does one thing: plug the previous positions and the current forces into the equations and read off the next ones. Same start, same forces, same result frame for frame — but to change a fold you change a force or the start, never that single frame.

  2. What each force does

    Gravity sets the direction and speed of the drape. Wind is the lateral force that decides which way the folds bulge and how deep. Collision stops the sheet at the floor, and whatever is blocked piles up into horizontal creases. All three sit in one acceleration term and are solved together.

  3. Too big a step and it flies apart

    With too large a step the constraint corrections grow every pass, energy is injected from nowhere, and the grid explodes within a few frames. The working answer is substepping: dt of 1/240 s with four substeps per frame is stable; 1/480 s is safer but pricier; near 1/60 s it starts to jitter.

Solve parameters (one run at 60 fps)
Quantity Value Unit
Substep dt 1/240 s
Substeps per frame 4 steps
Usable dt range 1/480 – 1/120 s
Gravity 9.81 m/s²
Wind speed 6.5 m/s
Constraint iterations 12 per substep
Pinned points 12 top edge
Grid points 84 12 × 7

Not cut-on-action, and not keyframe animation: nothing here is spliced and nothing is posed at a frame — every frame is what the previous one computed, so Replay repeats the trajectory, not a curve.

Cloth simulation is the set of rules that decide how fabric moves: how much it weighs, how stiff it is, how much energy it loses, and how it collides with itself. Get those four right and a coat reads as wool; get them wrong and it reads as a plastic sheet regardless of how good the texture is.

Why it works

Fabric is a mass distributed over an area. Mass per square metre sets the fold size: a heavy wool coat at 300–400 g/m² hangs in 3–5 broad folds, while a light silk scarf at 50 g/m² breaks into dozens of small ones. That ratio, not the texture map, is what the eye uses to identify the material.

Damping is the second property and the one most often skipped. Real cloth loses energy to internal friction, so after the body stops, the fabric keeps moving for a moment and then settles. Too little damping and it oscillates like jelly; too much and it moves with the body like cardboard. The believable middle is a slow settle over 0.5–1 s after the motion ends.

Self-collision is what produces the look of layered garments. A coat over a shirt has to fold against it, not pass through it. Without collision the layers interpenetrate and the silhouette turns into noise — visible in a still frame as impossible geometry at the waist and shoulders.

Wind is the variable that most changes the read. At 3–5 m/s — a brisk walk — fabric lifts and trails but keeps its folds. Above roughly 10 m/s the folds flatten against the body and the garment becomes a flag. Both are useful; they are different shots.

For generated video the failure is uniform rippling. Models produce a wave across the whole garment at one frequency, which reads as water rather than cloth. The fix is to describe where the motion starts — at the hem, at the shoulder — and to say the folds are large and few.

When to use it

  • Period costume. Heavy fabric behaves differently from modern synthetics and places the film in time.
  • Action in wind. Coats, capes, flags: the fabric carries the energy of the shot.
  • Character weight. A heavy coat that swings slowly makes the body inside it read as heavier.
  • Slow motion. Fabric at 120 fps is one of the few places where detail genuinely rewards the frame rate.

Pitfalls

  • Uniform ripple. One frequency across the whole garment reads as water. Break it up.
  • No damping. Fabric that keeps oscillating looks like jelly, not wool.
  • Interpenetration. Layers passing through each other is the most obvious simulation failure.
  • Wind too strong. Above about 10 m/s every garment becomes a flag and the silhouette is lost.
  • Texture doing the work. A detailed weave on plastic motion still reads as plastic.

Model-specific prompts

Runway Gen-3

A heavy wool coat on a walking man: three large folds hanging from the shoulders, the hem swinging with a half-second delay after each step, fabric settling slowly. No rippling, no plastic sheen, 50mm lens, overcast light.

Kling AI

A linen curtain in a breeze at 4 m/s: broad slow folds travelling from the hem upward, fabric lifting and settling with visible weight, no high-frequency ripple, backlit by a window, 35mm lens.

Hailuo (MiniMax)

Silk scarf trailing behind a running woman: light fabric breaking into many small folds, motion continuing after she stops, edges fluttering, natural damping, 85mm lens, shallow depth of field.

The mass and settle logic is the same as weight-and-inertia; how much each fold blurs at speed is shutter-angle. For hair, the same principles apply with less damping.

Sources

  1. David Baraff & Andrew Witkin, "Large Steps in Cloth Simulation", SIGGRAPH 1998 — implicit integration for cloth
  2. Frank Thomas & Ollie Johnston, The Illusion of Life — overlapping action in fabric

Quick check

Pick the answer you think fits best and see the explanation instantly. Your answers stay in this browser.

Pick one — it grades instantly

What makes simulated cloth read as fabric rather than as a sheet of plastic?

Selecting grades it — no submit