CLOTH SIMULATION
(Jaypee institute of information technology sec.62 noida U.P.)
Mentor :
Mrs.Suma Dawn
by:
Riti Kumari
10503881
CLOTH SIMULATION
• Cloth simulation means modeling the behavior
of cloth using various techniques of simulation.
Cloth simulation has always been an area of
great research for graphics community.Cloth
simulation has applications in games where it is
used to model the garments of the character in
the game. This makes the game look much
more realistic. It is also used in the films for
animating cloths.
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.
ALGORITHM
To implement any physics simulation, we need to do these steps (in order):
i) Sum up all forces acting on a vertex to get the resultant force.
ii) Find acceleration by dividing the resultant force by the object mass: a = f / m
(Newton’s Second Law for a constant mass)
iii) Perform numerical integration on the acceleration to get velocity/position
iv) Update the vertex with the new velocity/position, and repeat from (i).
Cloth Simulation with Springs
• There are 3 types of spring bend, structured and shear. Each of
these springs work in fundamentally similar ways. Two of the cloth
particles are connected to the spring, at either end. Each spring has
a rest-length, which is the distance that the spring will always
attempt to return to .The spring direction is simply the normalised
vector between each of the springs particles. Spring forces can also
be referred to as internal forces; they are generated by the system
itself. These internal spring forces are used in reaction to the
external forces of the cloth, like wind and Gravity.
Springs
• Structured Springs
Structured springs are the backbone of the cloth, which ensure stability and
connect every adjacent point.
 Bend springs
Broadly, bend springs are intended to stop the cloth from folding in on itself.
They join connecting sets along the edge of the cloth.These springs act to
moderate external forces applied perpendicular to the longitudinal direction
of the cloth.The figure shows this on a small patch of cloth, in larger patches
the outer connections are distributed in even intervals along the edge point.
 Shear Springs
Shear springs traverse diagonally between points to moderate and create
lateral movement.They specifically moderate against force perpendicular
along the latitudinal direction of the cloth.
Cloth simulation ppt
Physics Simulation
• General Physics Simulation:
• 1. Compute forces
• 2. Compute normal
Cloth Simulation
1. Compute Forces
• For each particle: Apply gravity
• For each spring-damper: Compute & apply
forces
• For each triangle: Compute normal& apply
Wind forces
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
• The basic linear spring force in one dimension
is:
• The linear damping force is:
( )llkxkf ssspring −−=−= 0
Spring dampers
( )21 vvkvkf dddamp −−=−=
Wind Forces
• Wind forces are proportional to scalar
product between wind direction and the normal of
each face of the cloth.
Dot product=v1.x*v2.x+v1.y*v2.y+v1.z*v2.z
dans=dot(wind,tnorm);
cans.x=dans*tnorm.x;
cans.y=dans*tnorm.y;
cans.z=dans*tnorm.z;
spring[i][j].wind_effect.x=cans.x;
spring[i][j].wind_effect.y=cans.y;
spring[i][j].wind_effect.z=cans.z;
dans=dot product answer
cans=cross product answer
tnorm=normal
Continuum Mechanics
• Real cloth simulation rarely uses springs
• Instead, forces are generated based on the deformation
of a triangular element
• This way, one can properly account for internal forces
within the piece of cloth based on the theory of
continuum mechanics
• The basic process is still very similar. Instead of looping
through springs computing forces, one loops through the
triangles and computes the forces
• Continuum models account for various properties such
as elastic deformation, plastic deformation, bending
forces, anisotropy, and more
Wind Effect and Response

More Related Content

PPTX
Soft body simulation
PPTX
Sixth Sence Technology
PDF
The Road Toward Dependable AI Based Systems
PPT
Slides chapters 6-7
PPTX
2ο τετρ 17 λυκ_2013-14_διακρισεισ
PPTX
Ignite Element MaxP_BB
PPS
Тренинговый клуб для детей и подростков
PPTX
Opportunity recognition using problem solving approach
Soft body simulation
Sixth Sence Technology
The Road Toward Dependable AI Based Systems
Slides chapters 6-7
2ο τετρ 17 λυκ_2013-14_διακρισεισ
Ignite Element MaxP_BB
Тренинговый клуб для детей и подростков
Opportunity recognition using problem solving approach

Viewers also liked (19)

PPTX
παρουσίαση1
PDF
Scalable load-balancing for large-scale big data applications (+Brazil, São P...
PDF
διαθεματικές και σημασία
PPS
Summer 2014
PPTX
Ignite Element MaxP_BB
PDF
σπάρτη (4)
PPTX
Genocide powerpoint
PPTX
Running a social media contest
PDF
ψηφιακή αναπαράσταση της αρχαίας αθηναϊκής αγοράς παναγιώτης βαλαριστός
PPTX
Pw power point2010_ch2_p2a_juliamuccini_2
PPT
161104 ingdan east commerce presentation (16-9)-ch
PPTX
Ignite Element MaxP_BB
PDF
τύραννοι
PDF
ανθρωπισμός ανθρώπινα δ.-τελικό
PDF
αρχαια αθηναϊκη δημοκρατια β΄ μερος (1)
PDF
Entrepreneurial strategic vision
DOCX
analsiis matematico iv
PPT
Let's Make It Personal!
DOCX
Moordfamilie slideshare
παρουσίαση1
Scalable load-balancing for large-scale big data applications (+Brazil, São P...
διαθεματικές και σημασία
Summer 2014
Ignite Element MaxP_BB
σπάρτη (4)
Genocide powerpoint
Running a social media contest
ψηφιακή αναπαράσταση της αρχαίας αθηναϊκής αγοράς παναγιώτης βαλαριστός
Pw power point2010_ch2_p2a_juliamuccini_2
161104 ingdan east commerce presentation (16-9)-ch
Ignite Element MaxP_BB
τύραννοι
ανθρωπισμός ανθρώπινα δ.-τελικό
αρχαια αθηναϊκη δημοκρατια β΄ μερος (1)
Entrepreneurial strategic vision
analsiis matematico iv
Let's Make It Personal!
Moordfamilie slideshare
Ad

Similar to Cloth simulation ppt (20)

PDF
Textile 140830124-phpapp0
PDF
Textile 140830124846-phpapp
PDF
Trebuchet Paper
PDF
x-ray tomography
PPT
Lecture 1 (40)
PPTX
Control System and mathematical modeling
DOC
fabric manufacturing technology-1
PDF
Mechanical Properties Of Fiber | Mechanical Properties Of Textile Fiber
DOCX
Fancy basket fabric design on handloom weaving machine
PPTX
Mechanical Vibration Ch-1.pptxgygyyyyyygyyy
PPTX
Machine Design Lecture (1) Introduction.pptx
PDF
Count variation Effect on physical properties of Single jersey Cotton-elastan...
PPTX
Drawing frame and its machine parts
PPTX
Chapter 5 Tensile Strength Testing of textiles
PPTX
analyzing system of motion of a particles
PDF
CE297-Ch3.pdf Rigid bodies internal and external forces
PPTX
Mechanical Properties of textile fibers.pptx
PPT
Effect of stitch length on abrasion resistance
PDF
6.3 woven fabric
DOCX
Draw frame (1)
Textile 140830124-phpapp0
Textile 140830124846-phpapp
Trebuchet Paper
x-ray tomography
Lecture 1 (40)
Control System and mathematical modeling
fabric manufacturing technology-1
Mechanical Properties Of Fiber | Mechanical Properties Of Textile Fiber
Fancy basket fabric design on handloom weaving machine
Mechanical Vibration Ch-1.pptxgygyyyyyygyyy
Machine Design Lecture (1) Introduction.pptx
Count variation Effect on physical properties of Single jersey Cotton-elastan...
Drawing frame and its machine parts
Chapter 5 Tensile Strength Testing of textiles
analyzing system of motion of a particles
CE297-Ch3.pdf Rigid bodies internal and external forces
Mechanical Properties of textile fibers.pptx
Effect of stitch length on abrasion resistance
6.3 woven fabric
Draw frame (1)
Ad

Recently uploaded (20)

DOCX
Cambridge-Practice-Tests-for-IELTS-12.docx
PPTX
B.Sc. DS Unit 2 Software Engineering.pptx
PDF
CISA (Certified Information Systems Auditor) Domain-Wise Summary.pdf
PDF
Trump Administration's workforce development strategy
PDF
Τίμαιος είναι φιλοσοφικός διάλογος του Πλάτωνα
PPTX
Virtual and Augmented Reality in Current Scenario
PDF
Environmental Education MCQ BD2EE - Share Source.pdf
PPTX
ELIAS-SEZIURE AND EPilepsy semmioan session.pptx
PDF
Paper A Mock Exam 9_ Attempt review.pdf.
PDF
احياء السادس العلمي - الفصل الثالث (التكاثر) منهج متميزين/كلية بغداد/موهوبين
PDF
Hazard Identification & Risk Assessment .pdf
PPTX
Unit 4 Computer Architecture Multicore Processor.pptx
PPTX
Share_Module_2_Power_conflict_and_negotiation.pptx
PDF
Complications of Minimal Access-Surgery.pdf
DOC
Soft-furnishing-By-Architect-A.F.M.Mohiuddin-Akhand.doc
PDF
MBA _Common_ 2nd year Syllabus _2021-22_.pdf
PDF
Weekly quiz Compilation Jan -July 25.pdf
PDF
AI-driven educational solutions for real-life interventions in the Philippine...
PPTX
Chinmaya Tiranga Azadi Quiz (Class 7-8 )
PDF
David L Page_DCI Research Study Journey_how Methodology can inform one's prac...
Cambridge-Practice-Tests-for-IELTS-12.docx
B.Sc. DS Unit 2 Software Engineering.pptx
CISA (Certified Information Systems Auditor) Domain-Wise Summary.pdf
Trump Administration's workforce development strategy
Τίμαιος είναι φιλοσοφικός διάλογος του Πλάτωνα
Virtual and Augmented Reality in Current Scenario
Environmental Education MCQ BD2EE - Share Source.pdf
ELIAS-SEZIURE AND EPilepsy semmioan session.pptx
Paper A Mock Exam 9_ Attempt review.pdf.
احياء السادس العلمي - الفصل الثالث (التكاثر) منهج متميزين/كلية بغداد/موهوبين
Hazard Identification & Risk Assessment .pdf
Unit 4 Computer Architecture Multicore Processor.pptx
Share_Module_2_Power_conflict_and_negotiation.pptx
Complications of Minimal Access-Surgery.pdf
Soft-furnishing-By-Architect-A.F.M.Mohiuddin-Akhand.doc
MBA _Common_ 2nd year Syllabus _2021-22_.pdf
Weekly quiz Compilation Jan -July 25.pdf
AI-driven educational solutions for real-life interventions in the Philippine...
Chinmaya Tiranga Azadi Quiz (Class 7-8 )
David L Page_DCI Research Study Journey_how Methodology can inform one's prac...

Cloth simulation ppt

  • 1. CLOTH SIMULATION (Jaypee institute of information technology sec.62 noida U.P.) Mentor : Mrs.Suma Dawn by: Riti Kumari 10503881
  • 2. CLOTH SIMULATION • Cloth simulation means modeling the behavior of cloth using various techniques of simulation. Cloth simulation has always been an area of great research for graphics community.Cloth simulation has applications in games where it is used to model the garments of the character in the game. This makes the game look much more realistic. It is also used in the films for animating cloths.
  • 3. 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.
  • 4. ALGORITHM To implement any physics simulation, we need to do these steps (in order): i) Sum up all forces acting on a vertex to get the resultant force. ii) Find acceleration by dividing the resultant force by the object mass: a = f / m (Newton’s Second Law for a constant mass) iii) Perform numerical integration on the acceleration to get velocity/position iv) Update the vertex with the new velocity/position, and repeat from (i).
  • 5. Cloth Simulation with Springs • There are 3 types of spring bend, structured and shear. Each of these springs work in fundamentally similar ways. Two of the cloth particles are connected to the spring, at either end. Each spring has a rest-length, which is the distance that the spring will always attempt to return to .The spring direction is simply the normalised vector between each of the springs particles. Spring forces can also be referred to as internal forces; they are generated by the system itself. These internal spring forces are used in reaction to the external forces of the cloth, like wind and Gravity.
  • 6. Springs • Structured Springs Structured springs are the backbone of the cloth, which ensure stability and connect every adjacent point.  Bend springs Broadly, bend springs are intended to stop the cloth from folding in on itself. They join connecting sets along the edge of the cloth.These springs act to moderate external forces applied perpendicular to the longitudinal direction of the cloth.The figure shows this on a small patch of cloth, in larger patches the outer connections are distributed in even intervals along the edge point.  Shear Springs Shear springs traverse diagonally between points to moderate and create lateral movement.They specifically moderate against force perpendicular along the latitudinal direction of the cloth.
  • 8. Physics Simulation • General Physics Simulation: • 1. Compute forces • 2. Compute normal
  • 9. Cloth Simulation 1. Compute Forces • For each particle: Apply gravity • For each spring-damper: Compute & apply forces • For each triangle: Compute normal& apply Wind forces
  • 10. 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
  • 11. • The basic linear spring force in one dimension is: • The linear damping force is: ( )llkxkf ssspring −−=−= 0 Spring dampers ( )21 vvkvkf dddamp −−=−=
  • 12. Wind Forces • Wind forces are proportional to scalar product between wind direction and the normal of each face of the cloth. Dot product=v1.x*v2.x+v1.y*v2.y+v1.z*v2.z dans=dot(wind,tnorm); cans.x=dans*tnorm.x; cans.y=dans*tnorm.y; cans.z=dans*tnorm.z; spring[i][j].wind_effect.x=cans.x; spring[i][j].wind_effect.y=cans.y; spring[i][j].wind_effect.z=cans.z; dans=dot product answer cans=cross product answer tnorm=normal
  • 13. Continuum Mechanics • Real cloth simulation rarely uses springs • Instead, forces are generated based on the deformation of a triangular element • This way, one can properly account for internal forces within the piece of cloth based on the theory of continuum mechanics • The basic process is still very similar. Instead of looping through springs computing forces, one loops through the triangles and computes the forces • Continuum models account for various properties such as elastic deformation, plastic deformation, bending forces, anisotropy, and more
  • 14. Wind Effect and Response