What make cloth hard to simulate?

Similar documents
Simulation in Computer Graphics Elastic Solids. Matthias Teschner

Large Steps in Cloth Simulation. Safeer C Sushil Kumar Meena Guide: Prof. Parag Chaudhuri

Game Physics. Game and Media Technology Master Program - Utrecht University. Dr. Nicolas Pronost

Time scales. Notes. Mixed Implicit/Explicit. Newmark Methods [ ] [ ] "!t = O 1 %

Soft Bodies. Good approximation for hard ones. approximation breaks when objects break, or deform. Generalization: soft (deformable) bodies

ME8230 Nonlinear Dynamics

Collision Resolution

The... of a particle is defined as its change in position in some time interval.

DEFORMATION PATTERN AND FAILURE CRITERIA OF WOVEN COMPOSITE PREFORM IN GENERAL BIAS EXTENSION

APPLIED MATHEMATICS AM 02

Physics. Assignment-1(UNITS AND MEASUREMENT)

the spring is compressed and x is the compression

(k = force constant of the spring)

Potential Energy. Serway 7.6, 7.7;

PHY 101. Work and Kinetic Energy 7.1 Work Done by a Constant Force

Exploration Phase. What can we use to store mechanical energy? Lab Activity

Fluid Animation. Christopher Batty November 17, 2011

Boundary Nonlinear Dynamic Analysis

AME COMPUTATIONAL MULTIBODY DYNAMICS. Friction and Contact-Impact

Review of Strain Energy Methods and Introduction to Stiffness Matrix Methods of Structural Analysis

Axis Balanced Forces Centripetal force. Change in velocity Circular Motion Circular orbit Collision. Conservation of Energy

Modeling and Solving Constraints. Erin Catto Blizzard Entertainment

Part Two: Earlier Material

Ch. 2 The Laws of Motion

Dynamic Loads CE 543. Examples. Harmonic Loads

Physics-Based Animation

AP Physics C. Momentum. Free Response Problems

Ch 5 Work and Energy

1 of 6 10/21/2009 6:33 PM

Momentum & Energy Review Checklist

Momentum & Energy Review Checklist

0J2 - Mechanics Lecture Notes 2

Mechanics Topic B (Momentum) - 1 David Apsley

Performance Evaluation of Various Smoothed Finite Element Methods with Tetrahedral Elements in Large Deformation Dynamic Analysis

Chapter 13. Simple Harmonic Motion

Physics for Scientists and Engineers 4th Edition, 2017

The Finite Element Method for Mechonics of Solids with ANSYS Applicotions

Dynamics: Forces. Lecture 7. Chapter 5. Course website:

Lecture 1 Notes: 06 / 27. The first part of this class will primarily cover oscillating systems (harmonic oscillators and waves).

EDEM DISCRETIZATION (Phase II) Normal Direction Structure Idealization Tangential Direction Pore spring Contact spring SPRING TYPES Inner edge Inner d

Chapter 9. Linear Momentum and Collisions This chapter is about interaction between TWO objects

If there is now a constant air resistance force of 35 N, what is the new maximum height the ball attains?

Nov. 27, 2017 Momentum & Kinetic Energy in Collisions elastic collision inelastic collision. completely inelastic collision

Problem Set Number 01, MIT (Winter-Spring 2018)

OCR Physics Specification A - H156/H556

CHAPTER 7 EARTHQUAKE RESPONSE OF INELASTIC SYSTEMS. Base shear force in a linearly elastic system due to ground excitation is Vb

Review of Forces and Conservation of Momentum

ECEN 420 LINEAR CONTROL SYSTEMS. Lecture 6 Mathematical Representation of Physical Systems II 1/67

Chapter 3. Inertia. Force. Free Body Diagram. Net Force. Mass. quantity of matter composing a body represented by m. units are kg

Modeling Friction and Contact in Chrono. Theoretical Background

PSE Game Physics. Session (6) Angular momentum, microcollisions, damping. Oliver Meister, Roland Wittmann

Kinetic and Potential Energy Old Exam Qs

Visual Interactive Simulation, TDBD24, Spring 2006

Honors Physics Review

Physics 2514 Lecture 26

Applied Mathematics B Study Guide

Solving Physics Problems

Physics 8, Fall 2013, equation sheet work in progress

POTENTIAL ENERGY AND ENERGY CONSERVATION

PHYS 1114, Lecture 33, April 10 Contents:

EXAM 3 MECHANICS 40% of the final grade

Other Examples of Energy Transfer

Potential Energy, Conservation of Energy, and Energy Diagrams. Announcements. Review: Conservative Forces. (path independent) 8.

Force versus distance graph

Constitutive models. Constitutive model: determines P in terms of deformation

HSC PHYSICS ONLINE B F BA. repulsion between two negatively charged objects. attraction between a negative charge and a positive charge

Dynamics 4600:203 Homework 09 Due: April 04, 2008 Name:

Passive Dynamics and Particle Systems COS 426

Instabilities and Dynamic Rupture in a Frictional Interface

PROBLEM 2 10 points. [ ] increases [ ] decreases [ ] stays the same. Briefly justify your answer:

AP Physics C Mechanics Objectives

ENERGY DIAGRAM w/ HYSTERETIC

Example 37 - Analytical Beam

Inverse Design (and a lightweight introduction to the Finite Element Method) Stelian Coros

8.01x Classical Mechanics, Fall 2016 Massachusetts Institute of Technology. Problem Set 8

In the presence of viscous damping, a more generalized form of the Lagrange s equation of motion can be written as

Force and Acceleration Lecture 4

Work and Kinetic Energy I

A Level Maths Notes: M2 Equations for Projectiles

Topic: Force PHYSICS 231

3. Kinetics of Particles

Outline: Types of Friction Dry Friction Static vs. Kinetic Angles Applications of Friction. ENGR 1205 Appendix B

Raymond A. Serway Chris Vuille. Chapter Thirteen. Vibrations and Waves

Physics 8, Fall 2011, equation sheet work in progress

Work done by multiple forces. WEST VIRGINIA UNIVERSITY Physics

Phys101 Lectures 9 and 10 Conservation of Mechanical Energy

Chapter 9. Linear Momentum and Collisions

Some Aspects of Structural Dynamics

System of objects (particles)

Dynamical Systems. Mechanical Systems

two structural analysis (statics & mechanics) APPLIED ACHITECTURAL STRUCTURES: DR. ANNE NICHOLS SPRING 2017 lecture STRUCTURAL ANALYSIS AND SYSTEMS

EQUATIONS OF MOTION: RECTANGULAR COORDINATES

An Overview of Fluid Animation. Christopher Batty March 11, 2014

Thomas Whitham Sixth Form Mechanics in Mathematics

AP Physics Momentum Practice Test. Answers: A,E,E,A,E,B,D,C,B,A,B,E,D,C 16.(a)5450,5650 (b)2.25e7 (c)3 (d)1.5e7 17.(a)9 (b)2 (c)1.5 (d) (e).

Dynamics and Time Integration. Computer Graphics CMU /15-662, Fall 2016

Lecture V: The game-engine loop & Time Integration

Structural Dynamics. Spring mass system. The spring force is given by and F(t) is the driving force. Start by applying Newton s second law (F=ma).

Finite Difference and Finite Element Methods

2007 Problem Topic Comment 1 Kinematics Position-time equation Kinematics 7 2 Kinematics Velocity-time graph Dynamics 6 3 Kinematics Average velocity

Transcription:

Cloth Simulation

What make cloth hard to simulate? Due to the thin and flexible nature of cloth, it produces detailed folds and wrinkles, which in turn can lead to complicated selfcollisions. Cloth is characterized by strong resistance to stretch and weak resistance to bending, which leads to a stiff set of equations and thus prohibits the use of large time steps.

Woven versus knit cloth The yarns in woven fabric are nearly immobile with very limited deformations in the yarn structure. Knit materials consists of interlocked loops which deform and slide readily with dramatic changes in small-scale structures. Most research on cloth mechanics has focused on woven cloth. woven fabric knit fabric

Woven fabric

Knit fabric

Mass-spring versus FEM Mass-spring system is easy to implementation and cheap to compute, but is not as accurate. FEM spatially discretizes a set of PDEs which govern the deformation in continuum mechanics. FEM provides a more accurate way to measure complex material behaviors beyond a simple elastic model.

Simulating different materials

World space Model clothes as triangular mesh of particles in R 3 The geometry state of clothes is x 2 R 3n

Material space Treat cloth as a 2-dimensional manifold embedded in. Capture the rest state of cloth by assigning each particle an unchanging coordinate (u, v) in the material space. The mapping between the material space and the world space is defined by w(u, v). R 3

Equations of motion Equation of motion: Mẍ = f int + f ext M ẍ f ext f int mass matrix, R 3nX3n acceleration of particles, R 3n gravity and contact force, R 3n cloth internal forces, R 3n Internal forces are derived from potential energy function E(x).

Potential energy The negative gradient of each potential function defines a type of internal force: General form of E(x): @E @x E(x) = k 2 C(x)T C(x) The internal force can be computed by f = @E @x T = k @C(x) @x T C(x)

Internal forces In general, clothes resists motion in four directions stretch compress shear bend in-plane motion out-of-plane motion

Stretch force Stretch/compress force can be measured by deformation gradient. Assuming w is a linear function over each triangle, the gradient of w is constant within each triangle. Define energy function using

Shear force Shear force can be measured by w T u w v When the w u and w v are orthogonal, shear force is zero. Define energy function for shear force using

Bend force Bend force is measured between a pair of adjacent triangles. Using two geometry relations, we can solve for the bending angle. sin =(n 1 n 2 ) e cos = n 1 n 2 Define energy function using C(x) = e n 1 n 2

Damping force Damping force turns out to be important both for realism and numerical stability. Damping forces should act in direction of corresponding elastic force, and be proportional to the velocity in that direction. d = k d Ċ(x) C(x) x

Buckling effect When we push cloth like this, we expect to see this. But in the mass-spring system, the compression force has to be very stiff to get out-of-plane motion.

Buckling model Replace bend and compression forces with a single nonlinear model. Details in Ko and Choi SIGGRAPH 2002.

Stable but responsive cloth

Integration issues In general, cloth stretches little if at all in the plane. To counter this, we generally have large in-plane stretch forces, which requires a high stiffness coefficient. Since explicit integrators suffer from this stiff system, an implicit integrator is used to achieve larger time steps.

Implicit integration Transfer a second-order ODE to the first-order form. d dt x v = v M 1 f(x, v) Compute the next state based on the derivative evaluated at the next state. x v = x 0 v 0 + h v M 1 f(x, v) derivative at next state

Linearize derivative function Linearize derivative function about the current state. v M 1 f(x, v) = v 0 M 1 f 0 + v M 1 f(x, v) x v x v Compute next state by implicit integration x v = x 0 v 0 + h v 0 + v M 1 (f 0 + f x x + f v v Solve for linear system I hm 1 f v h 2 M 1 f x v = hm 1 f 0 + h f x v 0 Update state x = x 0 + h(v 0 + v) v = v 0 + v

Collision and constraints Collision is the bottleneck of simulation due to a large number of collision points. Interpenetrating is very obvious and difficult to correct after the fact. Use repulsion forces and and impulses to handle collision.

Practical collision handling Bridson et al proposed an efficient and robust method to handle collisions. Use repulsion forces to deal with this vast majority of collisions in a simple and efficient manner. Use a more expensive but completely robust method to stop the few that remain.

Hybrid collision handling Beginning of time step: x 0, v 0 Integrate cloth dynamics to advance to intermediate state x 1, v 1 Compute average velocity: v 1/2 =( x 1 x n )/h Apply repulsion and friction to average velocity to get ṽ 1/2 Resolve collision by modifying ṽ 1/2 to the final midstep velocityv 1/2 Update the final position: x 1 = x 0 + hv 1/2 Update velocity: if collision v 1 = v 1/2 ; otherwise v 1 = v 1

Impulse on discrete representation v 3 Ĩ = 2I 1+w 2 1 + w2 2 + w2 3 v 1 v b v a v new i = v i + w i (Ĩ/m)n i =1, 2, 3 v 2 v new b = v b (Ĩ/m)n

Repulsion Repulsion forces dramatically reduce the number of collisions by pushing away vertices that are in close proximity. Ensure that pieces of the cloth are well separated at a distance on the order of this cloth thickness. The repulsion force is proportional to the overlap, d, beyond the cloth thickness h (e.g. 1mm ) d = h (x b w 1 x 1 w 2 x 2 w 3 x 3 ) The spring based repulsion force is modeled with a spring of stiffness k in the normal direction, n repulsion impulse = kd tn

Repulsion Spring repulsion force is limited to a maximum when the objects touch to avoid stiffness system. I r = min( tkd, m( 0.1d t v r ))

Friction Use Coulomb s model for friction, both static and kinetic, with a single friction parameter!. The normal force is defined as the negative of the repulsion force, so the friction impulse is µf N t The tangential velocity after friction is applied: v T = max(1 µ F N t/m v T, 0)v T

Collision resolution Collision processing algorithm is activated when a collision actually occurs. If the geometry is approaching, apply a completely inelastic repulsion impulse. Otherwise, apply a spring based repulsion force.

Demo