UCSD CSE 169 - Cloth Simulation (47 pages)

Previewing pages 1, 2, 3, 22, 23, 24, 45, 46, 47 of 47 page document View the full content.
View Full Document

Cloth Simulation



Previewing pages 1, 2, 3, 22, 23, 24, 45, 46, 47 of actual document.

View the full content.
View Full Document
View Full Document

Cloth Simulation

79 views

Lecture Notes


Pages:
47
School:
University of California, San Diego
Course:
Cse 169 - Computer Animation

Unformatted text preview:

Cloth Simulation CSE169 Computer Animation Instructor Steve Rotenberg UCSD Winter 2005 Cloth Simulation Cloth simulation has been an important topic in computer animation since the early 1980 s It has been extensively researched and has reached a point where it is basically a solved problem Today we will look at a very basic method of cloth simulation It is relatively easy to implement and can achieve good results It will also serve as an introduction to some more advanced cloth simulation topics Cloth Simulation with Springs We will treat the cloth as a system of particles interconnected with spring dampers Each spring damper connects two particles and generates a force based on their positions and velocities Each particle is also influenced by the force of gravity With those three simple forces gravity spring damping we form the foundation of the cloth system Then we can add some fancier forces such as aerodynamics bending resistance and collisions plus additional features such as plastic deformation and tearing Cloth Simulation Particle Spring damper Particle r position v velocity a acceleration m mass p momentum f force r v 1 a f m f f i p mv Euler Integration Once we ve computed all of the forces in the system we can use Newton s Second Law f ma to compute the acceleration 1 an fn m Then we use the acceleration to advance the simulation forward by some time step t using the simple Euler integration scheme v n 1 v n a n t rn 1 rn v n 1 t Physics Simulation General Physics Simulation 1 Compute forces 2 Integrate motion Repeat Cloth Simulation 1 Compute Forces For each particle Apply gravity For each spring damper Compute apply forces For each triangle Compute apply aerodynamic forces 2 Integrate Motion For each particle Apply forward Euler integration Uniform Gravity f gravity mg 0 g 0 0 9 8 0 m 2 s Spring Dampers The basic spring damper connects two particles and has three constants defining its behavior Spring constant ks Damping factor kd Rest length l0 r1 r2



View Full Document

Access the best Study Guides, Lecture Notes and Practice Exams

Loading Unlocking...
Login

Join to view Cloth Simulation and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view Cloth Simulation and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?