Cloth Simulation
COMP 768 Presentation Zhen Wei
Cloth Simulation COMP 768 Presentation Zhen Wei Outline - - PowerPoint PPT Presentation
Cloth Simulation COMP 768 Presentation Zhen Wei Outline Motivation and Application Cloth Simulation Methods Physically-based Cloth Simulation Overview Development References 2 Motivation Movies Games VR scene
COMP 768 Presentation Zhen Wei
2
3
4
the relations with the other points
5
6
How does Cloth Simulation work Differences among the methods
x : vector, the geometric state M : diagonal matrix, mass distribution of the cloth E : a scalar function of x, cloth’s internal energy F : a function of x and x’, other forces acting on cloth
7
8
9
10
previous point and its derivative to determine current value. Methods such as Runge–Kutta take some intermediate steps (for example, a half-step) to obtain a higher order method
previous points and derivative values to get current value.
linear combination of the previous points and derivative values
11
12
13
14
Methods with s > 6 are not zero-stable so they cannot be used
forms a catenary curve at equilibrium
a discrete number of points can be described by a system of these curves
hanging clothes
15
using a 2D grid
The energy for each point is calculated in relation to surrounding points
based on the minimization of energy
16
interactions
& gravity
maintaining collision constraints
17
18
External Forces
Simple Euler method
Haumann (1987) Extension
19
Provot (1995)
20
Notations:
m x n masses
from equilibrium) of the elastic body subjected to the force F
Provot (1995)
21
Notations:
Provot (1995)
Force: a viscous ︎fluid moving at a uniform velocity u_{fluid} exerts, on a surface of a body moving at a velocity v
22
Provot (1995)
ufluid
23
computed forces (Contact problems: hanging)
we know displacement of a hanging point (=0), compute actual velocity and actual resulting force
Provot (1995)
24
independent schemes.
Provot (1995)
simulations (a few CPU-secs/frame)
25
constant of our choice
gives rise to a sparse force vector f.
26
Baraff and Witkin(1998)
and j that C depends on
27
Baraff and Witkin(1998)
Stretch Forces
28
Baraff and Witkin(1998)
function w(u, v) that maps from plane coordinates to world space
a is the triangle’s area in uv coordinates
Stretch Forces
29
Baraff and Witkin(1998)
Solution:
a the triangle’s area in the uv plane.
Sheer Forces
30
Baraff and Witkin(1998)
Sheer
Bend Forces
31
Baraff and Witkin(1998)
bend
velocity in direction
Damping Forces
32
Baraff and Witkin(1998)
Constraints determined by the user or contact constraints
Enforcing constraints by mass modification Example: zero acceleration along z-axis
Constraints
33
Baraff and Witkin(1998)
Solving Equations
34
Baraff and Witkin(1998)
the surface; If not allow the particle to slide on the surface.
Collision
35
Baraff and Witkin(1998)
36
plane motion
single nonlinear model
(BDF2)
Stable but Responsible Cloth
wrinkles into the cloth
that promotes the development of detail in contact
character collisions that preserves folds and wrinkles
large scale folding
37
Simulation of Clothing with Folds and Wrinkles
deformable surfaces
but free to bend out-of-plane
distance between any two edge midpoints remains constant
constrained mechanics time integration scheme (BDF2)
38
Animating Developable Surfaces using Nonconforming Elements
39