Cloth Animation - CAIG Lab - National Chiao Tung...

Preview:

Citation preview

Cloth Animation

ILE5030 Computer Animation and Special Effects 2

Outline

Overview (this class)Cloth Modeling (this class) Integrating ODE of cloth (next class)Collision detection and handling (next class)

ILE5030 Computer Animation and Special Effects 3

Why cloth simulation?

High demands fromCharacter animationGame industryFashion industryTextile industry

ILE5030 Computer Animation and Special Effects 4

Challenges of Cloth Simulation

Realistic cloth Interactive cloth Stable clothComplex clothCollision detection/handling

ILE5030 Computer Animation and Special Effects 5

Cloth Modeling

Textile Engineeringmeasuring mechanical propertiesCAD/CAM and industrial applications

Computer GraphicsSimulating the complex shapes and deformations

of fabric and clothingGeometric approachesPhysically-based approaches

ILE5030 Computer Animation and Special Effects 6

The Drapemeter (1950)Used to quantify draping behavior

Drape factorNumber of folds

DA R2

2

R12 R2

2

cloth

ILE5030 Computer Animation and Special Effects 7

Kawabata System (1973)

Measure the mechanical properties of clothBending, shearing, tensile, compression, etc.

Volino and Magnenat-Thalmann, “Virtual Clothing”

ILE5030 Computer Animation and Special Effects 8

CG Cloth Modeling

Geometric approachesWeil (1986)

Continuum approachesFeynman (1986) - minimize strain energyTerzopoulos et al. (1987) - elasticity-based

forcesThalmanns (1990 on) –virtual clothing

ILE5030 Computer Animation and Special Effects 9

CG Cloth Modeling (cont.)

Particle-based approachesHaumann (1987) - Mass-spring modelBreen et al. (1991-94) - Particle-based model

Misc.Eberhardt et al. (1995 on) - Modeling knitsBaraff & Witkin (1998) - Implicit integrationDesbrun et al. (2000) - Interactive “cloth”Ko & Choi (2002) –Buckling model

ILE5030 Computer Animation and Special Effects 10

Continuum Approaches

Modeling cloth with continuum physicsDiscretize objectCalculate forces Integrate forcesBased on elasticity theoryBased on finite-element method

Not commonly used in practice

ILE5030 Computer Animation and Special Effects 11

Feynman (1986) Predicts cloth deformation by minimizing

Strain energyBending energy

Very “stretchy”cloth

ILE5030 Computer Animation and Special Effects 12

Terzopoulos et al. (1987) Based on elasticity theory & differential geometry

Simplified dynamicsElastic deformation Inelastic deformationFracture

21

22duduBBGG oo

distance & angle curvature

ILE5030 Computer Animation and Special Effects 13

Terzopoulos et al. Results

ILE5030 Computer Animation and Special Effects 14

Terzopoulos et al. Results

ILE5030 Computer Animation and Special Effects 15

Thalmann (1990 - Present)

Extend Terzopoulos model Enhanced computational techniques

Collision detection and response

Designing a complete set of clothingUser interfaceData structures

Focused on clothing virtual actors

ILE5030 Computer Animation and Special Effects 16

Thalmann et al. Results

ILE5030 Computer Animation and Special Effects 17

Thalmann et al. Results (1995)

ILE5030 Computer Animation and Special Effects 18

Thalmann et al. Results (2005)

La Haute Couture Mise en Equations

ILE5030 Computer Animation and Special Effects 19

Particle-based Approaches Breen, House, Getto, Wozny, 1992-1994 Macroscopic behavior arises from modeling

microscopic structure Particles based on thread-level interactions

Breen et al. “A physically-based particle model of woven cloth,”1992

ILE5030 Computer Animation and Special Effects 20

Breen (1994) Energy-based model

Compute final draping configuration byminimizing the total energy in the cloth

iiiii trellisbendstretchrepeltotal UUUUU

ILE5030 Computer Animation and Special Effects 21

Breen (1994) Tries to make the drape more realistic by

measuring from the reality (Kawabata system) Fit functions to the measured data

No dynamics involvedBending Tester

Shearing Tester

ILE5030 Computer Animation and Special Effects 22

Breen et al. Results

ILE5030 Computer Animation and Special Effects 23

Breen et al. Results

ILE5030 Computer Animation and Special Effects 24

Extend to include dynamics

Add cloth springs to model Stretch Shearing Bending

separation spring(nonlinear forces)

trellising spring(nonlinear torques)

bending spring(nonlinear torques)

ILE5030 Computer Animation and Special Effects 25

Mass-spring Model

A simple spring-damper system due to Provot(1995)

Courtesy of Chris Twigg

ILE5030 Computer Animation and Special Effects 26

Baraff and Witkin (1998)

Rapid cloth simulation with implicitintegration

Larger time steps and faster simulations Triangle-based representation Exploit sparseness of JacobianUsed in Maya ClothWe will introduce this approach in next class

ILE5030 Computer Animation and Special Effects 27

Baraff and Witkin Results

ILE5030 Computer Animation and Special Effects 28

Ko, Choi (2002)Cloth property

Weak resistance to bendingStrong resistance to tension

Problem in spring-mass modelStiff system for non-stretchNeed large compression forces for out-of-plane

motion

ILE5030 Computer Animation and Special Effects 29

Ko, Choi (2002)Use column buckling as their basic modelReplace bend and compression forces with a

single nonlinear model

ideal bucking curve

approximated

bucking load

column bucking

ILE5030 Computer Animation and Special Effects 30

Ko and Choi results

ILE5030 Computer Animation and Special Effects 31

Eberhardt et al. (1995 - Present)

Focus on knits, instead of woven cloth Particle system with measured energiesVolumetric approach to rendering knits

Represent microstructureSweep density distributions along yarns

ILE5030 Computer Animation and Special Effects 32

Eberhardt et al. Results

Recommended