Large Steps in Cloth Simulation - SIGGRAPH 98 박 강 수박 강 수.

Slides:



Advertisements
Similar presentations
© 2011 Autodesk Freely licensed for use by educational institutions. Reuse and changes require a note indicating that content has been modified from the.
Advertisements

Manipulator Dynamics Amirkabir University of Technology Computer Engineering & Information Technology Department.
Some Ideas Behind Finite Element Analysis
SOLVING SYSTEMS OF LINEAR EQUATIONS. Overview A matrix consists of a rectangular array of elements represented by a single symbol (example: [A]). An individual.
Lecture 6 Matrix Operations and Gaussian Elimination for Solving Linear Systems Shang-Hua Teng.
1cs533d-winter-2005 Notes  Please read O'Brien and Hodgins, "Graphical modeling and animation of brittle fracture", SIGGRAPH '99 O'Brien, Bargteil and.
1cs533d-term Notes  Braino in this lecture’s notes about last lectures bending energy…
1cs542g-term Notes. 2 Solving Nonlinear Systems  Most thoroughly explored in the context of optimization  For systems arising in implicit time.
1cs533d-term Notes  Required reading: Baraff & Witkin, “Large steps in cloth animation”, SIGGRAPH’98 Grinspun et al., “Discrete shells”, SCA’03.
Interactive Animation of Structured Deformable Objects Mathieu Desbrun Peter Schroder Alan Barr.
Finite Element Method Introduction General Principle
Matrices. Special Matrices Matrix Addition and Subtraction Example.
UNC Chapel Hill M. C. Lin Announcements Homework #1 is due on Tuesday, 2/10/09 Reading: SIGGRAPH 2001 Course Notes on Physically-based Modeling.
Transfer Functions Convenient representation of a linear, dynamic model. A transfer function (TF) relates one input and one output: The following terminology.
Matrix Operations. Matrix Notation Example Equality of Matrices.
UNC Chapel Hill S. Redon - M. C. Lin Rigid body dynamics II Solving the dynamics problems.
Mechanics.
Transfer Functions Convenient representation of a linear, dynamic model. A transfer function (TF) relates one input and one output: The following terminology.
Manipulator Dynamics Amirkabir University of Technology Computer Engineering & Information Technology Department.
Mechanics of Rigid Bodies
Thomas algorithm to solve tridiagonal matrices
1cs533d-winter-2005 Notes  Assignment 2 instability - don’t worry about it right now  Please read D. Baraff, “Fast contact force computation for nonpenetrating.
Introduction to ROBOTICS
A) Find the velocity of the particle at t=8 seconds. a) Find the position of the particle at t=4 seconds. WARMUP.
Computer graphics & visualization Rigid Body Simulation.
Numerical Solution of Ordinary Differential Equation
6.4 Vectors and Dot Products
FEARLESS engineering Introduction of Thin Shell Simulation Ziying Tang.
ECON 1150 Matrix Operations Special Matrices
Advanced Computer Graphics Spring 2014 K. H. Ko School of Mechatronics Gwangju Institute of Science and Technology.
Slide Chapter 7 Systems and Matrices 7.1 Solving Systems of Two Equations.
Erin Catto Blizzard Entertainment Numerical Integration.
Review of Matrices Or A Fast Introduction.
1 1.3 © 2012 Pearson Education, Inc. Linear Equations in Linear Algebra VECTOR EQUATIONS.
13.6 MATRIX SOLUTION OF A LINEAR SYSTEM.  Examine the matrix equation below.  How would you solve for X?  In order to solve this type of equation,
1 20-Oct-15 Last course Lecture plan and policies What is FEM? Brief history of the FEM Example of applications Discretization Example of FEM softwares.
Lecture Fall 2001 Physically Based Animation Ordinary Differential Equations Particle Dynamics Rigid-Body Dynamics Collisions.
Computer Animation Rick Parent Computer Animation Algorithms and Techniques Optimization & Constraints Add mention of global techiques Add mention of calculus.
 d.s. wu 1 Penalty Methods for Contact Resolution interactive contact resolution that usually works pi david s wu.
+ Numerical Integration Techniques A Brief Introduction By Kai Zhao January, 2011.
Advanced Computer Graphics Rigid Body Simulation Spring 2002 Professor Brogan.
University of Texas at Austin CS384G - Computer Graphics Fall 2010 Don Fussell Particle Systems.
University of Texas at Austin CS 378 – Game Technology Don Fussell CS 378: Computer Game Technology Physics for Games Spring 2012.
HEAT TRANSFER FINITE ELEMENT FORMULATION
Matrices and Systems of Equations
CHAP 3 WEIGHTED RESIDUAL AND ENERGY METHOD FOR 1D PROBLEMS
Discretization Methods Chapter 2. Training Manual May 15, 2001 Inventory # Discretization Methods Topics Equations and The Goal Brief overview.
Particle Systems. Applications Particle systems are broadly defined for: Explosion Cloth Fluid And more… It is integrated into many animation software,
CS274 Spring 01 Lecture 7 Copyright © Mark Meyer Lecture VII Rigid Body Dynamics CS274: Computer Animation and Simulation.
4.1: Matrix Operations Objectives: Students will be able to: Add, subtract, and multiply a matrix by a scalar Solve Matrix Equations Use matrices to organize.
Game Technology Animation V Generate motion of objects using numerical simulation methods Physically Based Animation.
Programming Massively Parallel Graphics Multiprocessors using CUDA Final Project Amirhassan Asgari Kamiabad
ERT 210/4 Process Control & Dynamics DYNAMIC BEHAVIOR OF PROCESSES :
2.5 – Determinants and Multiplicative Inverses of Matrices.
Searching a Linear Subspace Lecture VI. Deriving Subspaces There are several ways to derive the nullspace matrix (or kernel matrix). ◦ The methodology.
Matrices, Vectors, Determinants.
13.3 Product of a Scalar and a Matrix.  In matrix algebra, a real number is often called a.  To multiply a matrix by a scalar, you multiply each entry.
Advanced Computer Graphics Rigid Body Simulation
Transfer Functions Convenient representation of a linear, dynamic model. A transfer function (TF) relates one input and one output: The following terminology.
Manipulator Dynamics 1 Instructor: Jacob Rosen
Announcements Homework #0 is due this Wednesday, 1/30/02
Comp259 / Spring 2002 Samir Naik 2/6/02
Disclaimer The following slides reuse materials from SIGGRAPH 2001 Course Notes on Physically-based Modeling (copyright  2001 by David Baraff at Pixar).
Linear Equations in Linear Algebra
Disclaimer The following slides reuse materials from SIGGRAPH 2001 Course Notes on Physically-based Modeling (copyright  2001 by David Baraff at Pixar).
Linearization of Nonlinear Models
Introduction Constraint: important features in computer animation
Chapter 3 Modeling in the Time Domain
Computer Animation Algorithms and Techniques
Presentation transcript:

Large Steps in Cloth Simulation - SIGGRAPH 98 박 강 수박 강 수

Cloth Simulation

Issues in Cloth Simulation Large time steps - stability Damping forces - oscillation Constraints - contact or fix conditions Solving a large sparse linear system - conjugate gradient iteration

Cloth and Mass-Spring Model Discrete cloth model

Differential Equation of Spring x : geometric state vector(position) M : mass distribution matrix of cloth E : scalar function of x (internal energy) F : other forces (air-drag, damping, contact)

Simulation Overview Notation and Geometry Position of world space Forces Planer coordinate

Simulation Overview Energy and Forces Internal forces - Stretch, Shear, Bending Damping force Combining all forces

Simulation Overview Sparse Matrices Very sparse system - n particles : n x n matrix - nonzero entry : dense 3x3 matrices of scalar Modified conjugate gradient iterative method

Implicit Integration Explicit forward Euler method

Implicit Integration(cont.) Implicit backward Euler method Nonlinear, need iteration By Taylor series expansion to f, first order approximation

Implicit Integration(cont.) Implicit backward Euler method Rewrite this approximated equation,

Implicit Integration(cont.) Taking the bottom row of below equation and substituting top row yields,

Implicit Integration(cont.) Letting I denote the identity matrix, and regrouping,

Forces The force f arising from energy E Impractical approach - Expressing E as a single monolithic function - Taking derivatives Batter approach - Decompose E into a sum of sparse energy functions

Forces But decomposing method is not enough. - Sensible damping function problem Instead, we define vector condition C(x) which is, - Formulating internal behavior - To be zero Define associated energy k is a stiffness constant

Forces (Forces & Force Derivatives) Block form of f Sparse matrix Derivative matrix K Sparse, Symmetric Matrix

Forces (Stretch Forces) Stretch force UV coordinates

Forces (Stretch Forces) Stretch force can be measured by Unstretched condition

Forces (Stretch Forces) i jk Approximate w(u,v) as a linear function over each triangle,

Forces (Stretch Forces) Stretch energy Usually, we set

Forces(Shear & Bend) Shear forceBending force Idea : Inner product Idea : angle of adjacent triangles

Forces(Damping) Strong stretch force ⇔ Strong damping force ☞ Prevent oscillation Damping force Eq: Damping directionDamping strength

Forces(Damping) Differentiate the damping eq. Asymmetric, Sparse Matrix breaks symmetry, so we omitted this term.

Constraints Unsuitable approaches - Reduced Coordinates - Penalty Methods - Lagrange Multipliers

Constraints(Mass Modification) xy-plane constraint : Generalization

Constraints(Mass Modification) Rewrite previous eq. z is change in velocity along the constrained direction

Constraints(Implementation) Multiply M, Symmetric(Positive definite) These two systems have a same solution Δv.

Constraints(Implementation) W is singular Two conditions : residual will be zero, Linear System Ax=b

Modified Conjugate Gradient Method

Collisions(Initiation) For collision detect, Coherency-based bounding-box approach is used. Penalty force(moving positions) “Jumpy” behavior in local regions.

Collisions(Position Alteration) Particle’s position in next step If collisions occur, Considering collisions,

Results

Thank you Questions || Comments ?

Conjugate gradient Method? Isn’t there more simple ways to implement mass-spring systems?