an introduction to physics engines michael sundqivst tv10s1m3
TRANSCRIPT
![Page 1: An Introduction to Physics Engines Michael Sundqivst TV10S1M3](https://reader035.vdocuments.net/reader035/viewer/2022072010/56649dbe5503460f94ab0e9b/html5/thumbnails/1.jpg)
PHYSICS SIMULATION IN 3D
GAMES
An Introduction to Physics Engines
Michael SundqivstTV10S1M3
![Page 2: An Introduction to Physics Engines Michael Sundqivst TV10S1M3](https://reader035.vdocuments.net/reader035/viewer/2022072010/56649dbe5503460f94ab0e9b/html5/thumbnails/2.jpg)
Overview – what is a physics engine?
Collision types Rigid body dynamics Soft body dynamics Fluid dynamics Views for the future Summary
![Page 3: An Introduction to Physics Engines Michael Sundqivst TV10S1M3](https://reader035.vdocuments.net/reader035/viewer/2022072010/56649dbe5503460f94ab0e9b/html5/thumbnails/3.jpg)
What is a physics engine? Simulates real-world physics Knows generally about physics but
isn’t pre-programmed for any game
Advantages:Saves timeQuality of animation
Weaknesses:Processor usageToo big for certain projectsScope
![Page 4: An Introduction to Physics Engines Michael Sundqivst TV10S1M3](https://reader035.vdocuments.net/reader035/viewer/2022072010/56649dbe5503460f94ab0e9b/html5/thumbnails/4.jpg)
Collision types
Two methods of detecting collisions:
Bounding-box:Two meshes, one for viewing and one
for calculating physics (collision geometry)
Broad phase collision detection Finite-element:
3-dimensional volumetric tesselationUsed by a solver to model stress
![Page 5: An Introduction to Physics Engines Michael Sundqivst TV10S1M3](https://reader035.vdocuments.net/reader035/viewer/2022072010/56649dbe5503460f94ab0e9b/html5/thumbnails/5.jpg)
Rigid Body Dynamics
Solid, non-deformable object Enables rolling physics Forces that affect movement:
Gravity – falling speedMass – force required to move the
object
Examples: rolling balls, solid items http://www.youtube.com/watch?v=
MNhDCk2rD0Y
![Page 6: An Introduction to Physics Engines Michael Sundqivst TV10S1M3](https://reader035.vdocuments.net/reader035/viewer/2022072010/56649dbe5503460f94ab0e9b/html5/thumbnails/6.jpg)
Soft Body Dynamics
Physical simulation of deformable objects
Tries to contain original shape (unlike fluids)
Generally only visually plausible emulations
Uses: destructible materials, plasticity and melting, hair, fur, simulated organs
http://www.youtube.com/watch?v=qdusMZlBbQ4
![Page 7: An Introduction to Physics Engines Michael Sundqivst TV10S1M3](https://reader035.vdocuments.net/reader035/viewer/2022072010/56649dbe5503460f94ab0e9b/html5/thumbnails/7.jpg)
Fluid Dynamics
Interaction of liquids and gases with surfaces defined by boundary conditions
Made of numerous particles, usually acting within a grid
Common uses: liquids, smoke, fire, explosions, gases
http://www.youtube.com/watch?v=x_IwYVLNiOs
![Page 8: An Introduction to Physics Engines Michael Sundqivst TV10S1M3](https://reader035.vdocuments.net/reader035/viewer/2022072010/56649dbe5503460f94ab0e9b/html5/thumbnails/8.jpg)
Views for the future
More processing power = better quality
Even more realistic engines Growing usage on mobile devices Visually stunning games
![Page 9: An Introduction to Physics Engines Michael Sundqivst TV10S1M3](https://reader035.vdocuments.net/reader035/viewer/2022072010/56649dbe5503460f94ab0e9b/html5/thumbnails/9.jpg)