SlideShare a Scribd company logo
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.
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

What's hot

Graphics practical lab manual
Graphics practical lab manualGraphics practical lab manual
Graphics practical lab manual
Vivek Kumar Sinha
 
Arrays and structures
Arrays and structuresArrays and structures
Arrays and structures
Mohd Arif
 
Library functions in c++
Library functions in c++Library functions in c++
Library functions in c++
Neeru Mittal
 
Strings In OOP(Object oriented programming)
Strings In OOP(Object oriented programming)Strings In OOP(Object oriented programming)
Strings In OOP(Object oriented programming)
Danial Virk
 
Modeling&Simulation_Ch04 (1). part 2pptx.pptx
Modeling&Simulation_Ch04 (1). part 2pptx.pptxModeling&Simulation_Ch04 (1). part 2pptx.pptx
Modeling&Simulation_Ch04 (1). part 2pptx.pptx
MaiGaafar
 
Tora (2 phase itteration, simplex method)
Tora (2 phase itteration, simplex method)Tora (2 phase itteration, simplex method)
Tora (2 phase itteration, simplex method)
Zeeshan Mirza
 
Program to reflecta triangle
Program to reflecta triangleProgram to reflecta triangle
Program to reflecta triangle
Tanya Makkar
 
Structures,pointers and strings in c Programming
Structures,pointers and strings in c ProgrammingStructures,pointers and strings in c Programming
Structures,pointers and strings in c Programming
baabtra.com - No. 1 supplier of quality freshers
 
Constructor in java
Constructor in javaConstructor in java
Constructor in java
Hitesh Kumar
 
Viewing transformation
Viewing transformationViewing transformation
Viewing transformation
Udayan Gupta
 
Constructors and Destructor in C++
Constructors and Destructor in C++Constructors and Destructor in C++
Data Types, Variables, and Constants in C# Programming
Data Types, Variables, and Constants in C# ProgrammingData Types, Variables, and Constants in C# Programming
Data Types, Variables, and Constants in C# Programming
Sherwin Banaag Sapin
 
Function overloading(c++)
Function overloading(c++)Function overloading(c++)
Function overloading(c++)
Ritika Sharma
 
Learn Matlab
Learn MatlabLearn Matlab
Learn Matlab
Abd El Kareem Ahmed
 
Solving Degenaracy in Transportation Problem
Solving Degenaracy in Transportation ProblemSolving Degenaracy in Transportation Problem
Solving Degenaracy in Transportation Problem
mkmanik
 
Constructor and desturctor
Constructor and desturctorConstructor and desturctor
Constructor and desturctor
Somnath Kulkarni
 
[OOP - Lec 16,17] Objects as Function Parameter and ReturnType
[OOP - Lec 16,17] Objects as Function Parameter and ReturnType[OOP - Lec 16,17] Objects as Function Parameter and ReturnType
[OOP - Lec 16,17] Objects as Function Parameter and ReturnType
Muhammad Hammad Waseem
 
C programming Lab 2
C programming Lab 2C programming Lab 2
C programming Lab 2
Zaibi Gondal
 
Procedural vs. object oriented programming
Procedural vs. object oriented programmingProcedural vs. object oriented programming
Procedural vs. object oriented programming
Haris Bin Zahid
 

What's hot (19)

Graphics practical lab manual
Graphics practical lab manualGraphics practical lab manual
Graphics practical lab manual
 
Arrays and structures
Arrays and structuresArrays and structures
Arrays and structures
 
Library functions in c++
Library functions in c++Library functions in c++
Library functions in c++
 
Strings In OOP(Object oriented programming)
Strings In OOP(Object oriented programming)Strings In OOP(Object oriented programming)
Strings In OOP(Object oriented programming)
 
Modeling&Simulation_Ch04 (1). part 2pptx.pptx
Modeling&Simulation_Ch04 (1). part 2pptx.pptxModeling&Simulation_Ch04 (1). part 2pptx.pptx
Modeling&Simulation_Ch04 (1). part 2pptx.pptx
 
Tora (2 phase itteration, simplex method)
Tora (2 phase itteration, simplex method)Tora (2 phase itteration, simplex method)
Tora (2 phase itteration, simplex method)
 
Program to reflecta triangle
Program to reflecta triangleProgram to reflecta triangle
Program to reflecta triangle
 
Structures,pointers and strings in c Programming
Structures,pointers and strings in c ProgrammingStructures,pointers and strings in c Programming
Structures,pointers and strings in c Programming
 
Constructor in java
Constructor in javaConstructor in java
Constructor in java
 
Viewing transformation
Viewing transformationViewing transformation
Viewing transformation
 
Constructors and Destructor in C++
Constructors and Destructor in C++Constructors and Destructor in C++
Constructors and Destructor in C++
 
Data Types, Variables, and Constants in C# Programming
Data Types, Variables, and Constants in C# ProgrammingData Types, Variables, and Constants in C# Programming
Data Types, Variables, and Constants in C# Programming
 
Function overloading(c++)
Function overloading(c++)Function overloading(c++)
Function overloading(c++)
 
Learn Matlab
Learn MatlabLearn Matlab
Learn Matlab
 
Solving Degenaracy in Transportation Problem
Solving Degenaracy in Transportation ProblemSolving Degenaracy in Transportation Problem
Solving Degenaracy in Transportation Problem
 
Constructor and desturctor
Constructor and desturctorConstructor and desturctor
Constructor and desturctor
 
[OOP - Lec 16,17] Objects as Function Parameter and ReturnType
[OOP - Lec 16,17] Objects as Function Parameter and ReturnType[OOP - Lec 16,17] Objects as Function Parameter and ReturnType
[OOP - Lec 16,17] Objects as Function Parameter and ReturnType
 
C programming Lab 2
C programming Lab 2C programming Lab 2
C programming Lab 2
 
Procedural vs. object oriented programming
Procedural vs. object oriented programmingProcedural vs. object oriented programming
Procedural vs. object oriented programming
 

Viewers also liked

2ο τετρ 17 λυκ_2013-14_διακρισεισ
2ο τετρ  17 λυκ_2013-14_διακρισεισ2ο τετρ  17 λυκ_2013-14_διακρισεισ
2ο τετρ 17 λυκ_2013-14_διακρισεισmelisstav
 
Ignite Element MaxP_BB
Ignite Element MaxP_BBIgnite Element MaxP_BB
Ignite Element MaxP_BB
MaxP_BB
 
Тренинговый клуб для детей и подростков
Тренинговый клуб для детей и подростковТренинговый клуб для детей и подростков
Тренинговый клуб для детей и подростковMarina Zhuravel
 
Opportunity recognition using problem solving approach
Opportunity recognition using problem solving approachOpportunity recognition using problem solving approach
Opportunity recognition using problem solving approach
ibaced
 
Scalable load-balancing for large-scale big data applications (+Brazil, São P...
Scalable load-balancing for large-scale big data applications (+Brazil, São P...Scalable load-balancing for large-scale big data applications (+Brazil, São P...
Scalable load-balancing for large-scale big data applications (+Brazil, São P...
Carlos Eduardo Moreira dos Santos
 
διαθεματικές και σημασία
διαθεματικές και σημασίαδιαθεματικές και σημασία
διαθεματικές και σημασία
Michailidis Nikodimos
 
Ignite Element MaxP_BB
Ignite Element MaxP_BBIgnite Element MaxP_BB
Ignite Element MaxP_BB
MaxP_BB
 
σπάρτη (4)
σπάρτη (4)σπάρτη (4)
σπάρτη (4)
Michailidis Nikodimos
 
Genocide powerpoint
Genocide powerpointGenocide powerpoint
Genocide powerpoint
mijjetuncle
 
Running a social media contest
Running a social media contestRunning a social media contest
Running a social media contest
Meredith Goeringer
 
ψηφιακή αναπαράσταση της αρχαίας αθηναϊκής αγοράς παναγιώτης βαλαριστός
ψηφιακή αναπαράσταση της αρχαίας αθηναϊκής αγοράς παναγιώτης βαλαριστόςψηφιακή αναπαράσταση της αρχαίας αθηναϊκής αγοράς παναγιώτης βαλαριστός
ψηφιακή αναπαράσταση της αρχαίας αθηναϊκής αγοράς παναγιώτης βαλαριστός
Michailidis Nikodimos
 
Pw power point2010_ch2_p2a_juliamuccini_2
Pw power point2010_ch2_p2a_juliamuccini_2Pw power point2010_ch2_p2a_juliamuccini_2
Pw power point2010_ch2_p2a_juliamuccini_2
juliamuccini
 
161104 ingdan east commerce presentation (16-9)-ch
161104 ingdan east commerce presentation (16-9)-ch161104 ingdan east commerce presentation (16-9)-ch
161104 ingdan east commerce presentation (16-9)-ch
marcogervasi
 
Ignite Element MaxP_BB
Ignite Element MaxP_BBIgnite Element MaxP_BB
Ignite Element MaxP_BB
MaxP_BB
 
τύραννοι
τύραννοιτύραννοι
τύραννοι
Michailidis Nikodimos
 
ανθρωπισμός ανθρώπινα δ.-τελικό
ανθρωπισμός ανθρώπινα δ.-τελικόανθρωπισμός ανθρώπινα δ.-τελικό
ανθρωπισμός ανθρώπινα δ.-τελικό
Michailidis Nikodimos
 
αρχαια αθηναϊκη δημοκρατια β΄ μερος (1)
αρχαια αθηναϊκη δημοκρατια   β΄ μερος (1)αρχαια αθηναϊκη δημοκρατια   β΄ μερος (1)
αρχαια αθηναϊκη δημοκρατια β΄ μερος (1)
Michailidis Nikodimos
 
Entrepreneurial strategic vision
Entrepreneurial strategic visionEntrepreneurial strategic vision
Entrepreneurial strategic vision
ibaced
 

Viewers also liked (20)

2ο τετρ 17 λυκ_2013-14_διακρισεισ
2ο τετρ  17 λυκ_2013-14_διακρισεισ2ο τετρ  17 λυκ_2013-14_διακρισεισ
2ο τετρ 17 λυκ_2013-14_διακρισεισ
 
Ignite Element MaxP_BB
Ignite Element MaxP_BBIgnite Element MaxP_BB
Ignite Element MaxP_BB
 
Тренинговый клуб для детей и подростков
Тренинговый клуб для детей и подростковТренинговый клуб для детей и подростков
Тренинговый клуб для детей и подростков
 
Opportunity recognition using problem solving approach
Opportunity recognition using problem solving approachOpportunity recognition using problem solving approach
Opportunity recognition using problem solving approach
 
παρουσίαση1
παρουσίαση1παρουσίαση1
παρουσίαση1
 
Scalable load-balancing for large-scale big data applications (+Brazil, São P...
Scalable load-balancing for large-scale big data applications (+Brazil, São P...Scalable load-balancing for large-scale big data applications (+Brazil, São P...
Scalable load-balancing for large-scale big data applications (+Brazil, São P...
 
διαθεματικές και σημασία
διαθεματικές και σημασίαδιαθεματικές και σημασία
διαθεματικές και σημασία
 
Summer 2014
Summer 2014Summer 2014
Summer 2014
 
Ignite Element MaxP_BB
Ignite Element MaxP_BBIgnite Element MaxP_BB
Ignite Element MaxP_BB
 
σπάρτη (4)
σπάρτη (4)σπάρτη (4)
σπάρτη (4)
 
Genocide powerpoint
Genocide powerpointGenocide powerpoint
Genocide powerpoint
 
Running a social media contest
Running a social media contestRunning a social media contest
Running a social media contest
 
ψηφιακή αναπαράσταση της αρχαίας αθηναϊκής αγοράς παναγιώτης βαλαριστός
ψηφιακή αναπαράσταση της αρχαίας αθηναϊκής αγοράς παναγιώτης βαλαριστόςψηφιακή αναπαράσταση της αρχαίας αθηναϊκής αγοράς παναγιώτης βαλαριστός
ψηφιακή αναπαράσταση της αρχαίας αθηναϊκής αγοράς παναγιώτης βαλαριστός
 
Pw power point2010_ch2_p2a_juliamuccini_2
Pw power point2010_ch2_p2a_juliamuccini_2Pw power point2010_ch2_p2a_juliamuccini_2
Pw power point2010_ch2_p2a_juliamuccini_2
 
161104 ingdan east commerce presentation (16-9)-ch
161104 ingdan east commerce presentation (16-9)-ch161104 ingdan east commerce presentation (16-9)-ch
161104 ingdan east commerce presentation (16-9)-ch
 
Ignite Element MaxP_BB
Ignite Element MaxP_BBIgnite Element MaxP_BB
Ignite Element MaxP_BB
 
τύραννοι
τύραννοιτύραννοι
τύραννοι
 
ανθρωπισμός ανθρώπινα δ.-τελικό
ανθρωπισμός ανθρώπινα δ.-τελικόανθρωπισμός ανθρώπινα δ.-τελικό
ανθρωπισμός ανθρώπινα δ.-τελικό
 
αρχαια αθηναϊκη δημοκρατια β΄ μερος (1)
αρχαια αθηναϊκη δημοκρατια   β΄ μερος (1)αρχαια αθηναϊκη δημοκρατια   β΄ μερος (1)
αρχαια αθηναϊκη δημοκρατια β΄ μερος (1)
 
Entrepreneurial strategic vision
Entrepreneurial strategic visionEntrepreneurial strategic vision
Entrepreneurial strategic vision
 

Similar to Cloth simulation ppt

Textile 140830124846-phpapp
Textile 140830124846-phpappTextile 140830124846-phpapp
Textile 140830124846-phpapp
salmanzulkarnian2002
 
Textile 140830124-phpapp0
Textile 140830124-phpapp0Textile 140830124-phpapp0
Textile 140830124-phpapp0
salmanzulkarnian2002
 
Trebuchet Paper
Trebuchet PaperTrebuchet Paper
Trebuchet Paper
Blake Johnson
 
x-ray tomography
x-ray tomographyx-ray tomography
x-ray tomography
Sean Quackenbush
 
Lecture 1 (40)
Lecture 1 (40)Lecture 1 (40)
Lecture 1 (40)
Basel Samhouri
 
fabric manufacturing technology-1
fabric manufacturing technology-1fabric manufacturing technology-1
fabric manufacturing technology-1
Md. Mazadul Hasan Shishir
 
Mechanical Properties Of Fiber | Mechanical Properties Of Textile Fiber
Mechanical Properties Of Fiber | Mechanical Properties Of Textile FiberMechanical Properties Of Fiber | Mechanical Properties Of Textile Fiber
Mechanical Properties Of Fiber | Mechanical Properties Of Textile Fiber
Md Rakibul Hassan
 
Fancy basket fabric design on handloom weaving machine
Fancy basket fabric design on handloom weaving machineFancy basket fabric design on handloom weaving machine
Fancy basket fabric design on handloom weaving machine
Esin Yegin
 
Mechanical Vibration Ch-1.pptxgygyyyyyygyyy
Mechanical Vibration Ch-1.pptxgygyyyyyygyyyMechanical Vibration Ch-1.pptxgygyyyyyygyyy
Mechanical Vibration Ch-1.pptxgygyyyyyygyyy
AbrishG1
 
Machine Design Lecture (1) Introduction.pptx
Machine Design Lecture (1) Introduction.pptxMachine Design Lecture (1) Introduction.pptx
Machine Design Lecture (1) Introduction.pptx
DrAungKoLatt
 
Count variation Effect on physical properties of Single jersey Cotton-elastan...
Count variation Effect on physical properties of Single jersey Cotton-elastan...Count variation Effect on physical properties of Single jersey Cotton-elastan...
Count variation Effect on physical properties of Single jersey Cotton-elastan...
International Journal of Modern Research in Engineering and Technology
 
Drawing frame and its machine parts
Drawing frame and its machine partsDrawing frame and its machine parts
Drawing frame and its machine parts
Ridoy Dey
 
analyzing system of motion of a particles
analyzing system of motion of a particlesanalyzing system of motion of a particles
analyzing system of motion of a particles
vikasaucea
 
Mechanical Properties of textile fibers.pptx
Mechanical Properties of textile fibers.pptxMechanical Properties of textile fibers.pptx
Mechanical Properties of textile fibers.pptx
Tabassum
 
Effect of stitch length on abrasion resistance
Effect of stitch length on abrasion resistance  Effect of stitch length on abrasion resistance
Effect of stitch length on abrasion resistance
Azmir Latif Beg
 
6.3 woven fabric
6.3 woven fabric6.3 woven fabric
6.3 woven fabric
Rahmi Arslan
 
Draw frame (1)
Draw frame (1)Draw frame (1)
Draw frame (1)
Shahriar Shovon
 
Warp Knitting
Warp KnittingWarp Knitting
Warp Knitting
Azmir Latif Beg
 
Poster presentation
Poster presentationPoster presentation
Poster presentation
Andrew Miller
 
Crimp & Crimp Interchange
Crimp & Crimp Interchange Crimp & Crimp Interchange
Crimp & Crimp Interchange
Abdullah Al Mahfuj
 

Similar to Cloth simulation ppt (20)

Textile 140830124846-phpapp
Textile 140830124846-phpappTextile 140830124846-phpapp
Textile 140830124846-phpapp
 
Textile 140830124-phpapp0
Textile 140830124-phpapp0Textile 140830124-phpapp0
Textile 140830124-phpapp0
 
Trebuchet Paper
Trebuchet PaperTrebuchet Paper
Trebuchet Paper
 
x-ray tomography
x-ray tomographyx-ray tomography
x-ray tomography
 
Lecture 1 (40)
Lecture 1 (40)Lecture 1 (40)
Lecture 1 (40)
 
fabric manufacturing technology-1
fabric manufacturing technology-1fabric manufacturing technology-1
fabric manufacturing technology-1
 
Mechanical Properties Of Fiber | Mechanical Properties Of Textile Fiber
Mechanical Properties Of Fiber | Mechanical Properties Of Textile FiberMechanical Properties Of Fiber | Mechanical Properties Of Textile Fiber
Mechanical Properties Of Fiber | Mechanical Properties Of Textile Fiber
 
Fancy basket fabric design on handloom weaving machine
Fancy basket fabric design on handloom weaving machineFancy basket fabric design on handloom weaving machine
Fancy basket fabric design on handloom weaving machine
 
Mechanical Vibration Ch-1.pptxgygyyyyyygyyy
Mechanical Vibration Ch-1.pptxgygyyyyyygyyyMechanical Vibration Ch-1.pptxgygyyyyyygyyy
Mechanical Vibration Ch-1.pptxgygyyyyyygyyy
 
Machine Design Lecture (1) Introduction.pptx
Machine Design Lecture (1) Introduction.pptxMachine Design Lecture (1) Introduction.pptx
Machine Design Lecture (1) Introduction.pptx
 
Count variation Effect on physical properties of Single jersey Cotton-elastan...
Count variation Effect on physical properties of Single jersey Cotton-elastan...Count variation Effect on physical properties of Single jersey Cotton-elastan...
Count variation Effect on physical properties of Single jersey Cotton-elastan...
 
Drawing frame and its machine parts
Drawing frame and its machine partsDrawing frame and its machine parts
Drawing frame and its machine parts
 
analyzing system of motion of a particles
analyzing system of motion of a particlesanalyzing system of motion of a particles
analyzing system of motion of a particles
 
Mechanical Properties of textile fibers.pptx
Mechanical Properties of textile fibers.pptxMechanical Properties of textile fibers.pptx
Mechanical Properties of textile fibers.pptx
 
Effect of stitch length on abrasion resistance
Effect of stitch length on abrasion resistance  Effect of stitch length on abrasion resistance
Effect of stitch length on abrasion resistance
 
6.3 woven fabric
6.3 woven fabric6.3 woven fabric
6.3 woven fabric
 
Draw frame (1)
Draw frame (1)Draw frame (1)
Draw frame (1)
 
Warp Knitting
Warp KnittingWarp Knitting
Warp Knitting
 
Poster presentation
Poster presentationPoster presentation
Poster presentation
 
Crimp & Crimp Interchange
Crimp & Crimp Interchange Crimp & Crimp Interchange
Crimp & Crimp Interchange
 

Recently uploaded

The basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptxThe basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptx
heathfieldcps1
 
คำศัพท์ คำพื้นฐานการอ่าน ภาษาอังกฤษ ระดับชั้น ม.1
คำศัพท์ คำพื้นฐานการอ่าน ภาษาอังกฤษ ระดับชั้น ม.1คำศัพท์ คำพื้นฐานการอ่าน ภาษาอังกฤษ ระดับชั้น ม.1
คำศัพท์ คำพื้นฐานการอ่าน ภาษาอังกฤษ ระดับชั้น ม.1
สมใจ จันสุกสี
 
Chapter wise All Notes of First year Basic Civil Engineering.pptx
Chapter wise All Notes of First year Basic Civil Engineering.pptxChapter wise All Notes of First year Basic Civil Engineering.pptx
Chapter wise All Notes of First year Basic Civil Engineering.pptx
Denish Jangid
 
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
Nguyen Thanh Tu Collection
 
Digital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental DesignDigital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental Design
amberjdewit93
 
Leveraging Generative AI to Drive Nonprofit Innovation
Leveraging Generative AI to Drive Nonprofit InnovationLeveraging Generative AI to Drive Nonprofit Innovation
Leveraging Generative AI to Drive Nonprofit Innovation
TechSoup
 
Main Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docxMain Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docx
adhitya5119
 
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdfবাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
eBook.com.bd (প্রয়োজনীয় বাংলা বই)
 
Hindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdfHindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdf
Dr. Mulla Adam Ali
 
MARY JANE WILSON, A “BOA MÃE” .
MARY JANE WILSON, A “BOA MÃE”           .MARY JANE WILSON, A “BOA MÃE”           .
MARY JANE WILSON, A “BOA MÃE” .
Colégio Santa Teresinha
 
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptxNEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
iammrhaywood
 
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UPLAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
RAHUL
 
spot a liar (Haiqa 146).pptx Technical writhing and presentation skills
spot a liar (Haiqa 146).pptx Technical writhing and presentation skillsspot a liar (Haiqa 146).pptx Technical writhing and presentation skills
spot a liar (Haiqa 146).pptx Technical writhing and presentation skills
haiqairshad
 
Film vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movieFilm vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movie
Nicholas Montgomery
 
RHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem students
RHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem studentsRHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem students
RHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem students
Himanshu Rai
 
How to Setup Warehouse & Location in Odoo 17 Inventory
How to Setup Warehouse & Location in Odoo 17 InventoryHow to Setup Warehouse & Location in Odoo 17 Inventory
How to Setup Warehouse & Location in Odoo 17 Inventory
Celine George
 
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
National Information Standards Organization (NISO)
 
UGC NET Exam Paper 1- Unit 1:Teaching Aptitude
UGC NET Exam Paper 1- Unit 1:Teaching AptitudeUGC NET Exam Paper 1- Unit 1:Teaching Aptitude
UGC NET Exam Paper 1- Unit 1:Teaching Aptitude
S. Raj Kumar
 
Beyond Degrees - Empowering the Workforce in the Context of Skills-First.pptx
Beyond Degrees - Empowering the Workforce in the Context of Skills-First.pptxBeyond Degrees - Empowering the Workforce in the Context of Skills-First.pptx
Beyond Degrees - Empowering the Workforce in the Context of Skills-First.pptx
EduSkills OECD
 
writing about opinions about Australia the movie
writing about opinions about Australia the moviewriting about opinions about Australia the movie
writing about opinions about Australia the movie
Nicholas Montgomery
 

Recently uploaded (20)

The basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptxThe basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptx
 
คำศัพท์ คำพื้นฐานการอ่าน ภาษาอังกฤษ ระดับชั้น ม.1
คำศัพท์ คำพื้นฐานการอ่าน ภาษาอังกฤษ ระดับชั้น ม.1คำศัพท์ คำพื้นฐานการอ่าน ภาษาอังกฤษ ระดับชั้น ม.1
คำศัพท์ คำพื้นฐานการอ่าน ภาษาอังกฤษ ระดับชั้น ม.1
 
Chapter wise All Notes of First year Basic Civil Engineering.pptx
Chapter wise All Notes of First year Basic Civil Engineering.pptxChapter wise All Notes of First year Basic Civil Engineering.pptx
Chapter wise All Notes of First year Basic Civil Engineering.pptx
 
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
 
Digital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental DesignDigital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental Design
 
Leveraging Generative AI to Drive Nonprofit Innovation
Leveraging Generative AI to Drive Nonprofit InnovationLeveraging Generative AI to Drive Nonprofit Innovation
Leveraging Generative AI to Drive Nonprofit Innovation
 
Main Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docxMain Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docx
 
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdfবাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
 
Hindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdfHindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdf
 
MARY JANE WILSON, A “BOA MÃE” .
MARY JANE WILSON, A “BOA MÃE”           .MARY JANE WILSON, A “BOA MÃE”           .
MARY JANE WILSON, A “BOA MÃE” .
 
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptxNEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
 
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UPLAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
 
spot a liar (Haiqa 146).pptx Technical writhing and presentation skills
spot a liar (Haiqa 146).pptx Technical writhing and presentation skillsspot a liar (Haiqa 146).pptx Technical writhing and presentation skills
spot a liar (Haiqa 146).pptx Technical writhing and presentation skills
 
Film vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movieFilm vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movie
 
RHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem students
RHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem studentsRHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem students
RHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem students
 
How to Setup Warehouse & Location in Odoo 17 Inventory
How to Setup Warehouse & Location in Odoo 17 InventoryHow to Setup Warehouse & Location in Odoo 17 Inventory
How to Setup Warehouse & Location in Odoo 17 Inventory
 
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
 
UGC NET Exam Paper 1- Unit 1:Teaching Aptitude
UGC NET Exam Paper 1- Unit 1:Teaching AptitudeUGC NET Exam Paper 1- Unit 1:Teaching Aptitude
UGC NET Exam Paper 1- Unit 1:Teaching Aptitude
 
Beyond Degrees - Empowering the Workforce in the Context of Skills-First.pptx
Beyond Degrees - Empowering the Workforce in the Context of Skills-First.pptxBeyond Degrees - Empowering the Workforce in the Context of Skills-First.pptx
Beyond Degrees - Empowering the Workforce in the Context of Skills-First.pptx
 
writing about opinions about Australia the movie
writing about opinions about Australia the moviewriting about opinions about Australia the movie
writing about opinions about Australia the movie
 

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.
  • 7.
  • 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