1 / 9

Physics simulation in 3d games

An Introduction to Physics Engines. Physics simulation in 3d games. Michael Sundqivst TV10S1M3. Overview – what is a physics e ngine? Collision types Rigid body d ynamics Soft body d ynamics Fluid dynamics Views for the future Summary. What is a physics engine?.

mahsa
Download Presentation

Physics simulation in 3d games

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. An Introduction to Physics Engines Physics simulation in 3d games Michael Sundqivst TV10S1M3

  2. Overview – what is a physics engine? • Collision types • Rigid body dynamics • Soft body dynamics • Fluid dynamics • Views for the future • Summary

  3. What is a physics engine? • Simulates real-world physics • Knows generally about physics but isn’t pre-programmed for any game • Advantages: • Saves time • Quality of animation • Weaknesses: • Processor usage • Too big for certain projects • Scope

  4. 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 tesselation • Used by a solver to model stress

  5. Rigid Body Dynamics • Solid, non-deformable object • Enables rolling physics • Forces that affect movement: • Gravity – falling speed • Mass – force required to move the object • Examples: rolling balls, solid items • http://www.youtube.com/watch?v=MNhDCk2rD0Y

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

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

  8. Views for the future • More processing power = better quality • Even more realistic engines • Growing usage on mobile devices • Visually stunning games

More Related