Soft body physics and fracture generation Erich Jagomgis What is - - PowerPoint PPT Presentation

soft body physics and fracture generation
SMART_READER_LITE
LIVE PREVIEW

Soft body physics and fracture generation Erich Jagomgis What is - - PowerPoint PPT Presentation

Soft body physics and fracture generation Erich Jagomgis What is a soft body? What is not a soft body Rigid body Fluid Particle system Soft body properties Deformable Retains original shape Expensive to


slide-1
SLIDE 1

Soft body physics and fracture generation

Erich Jagomägis

slide-2
SLIDE 2

What is a soft body?

slide-3
SLIDE 3

What is not a soft body

  • Rigid body
  • Fluid
  • Particle system
slide-4
SLIDE 4

Soft body properties

  • Deformable
  • Retains original shape
  • Expensive to compute!
slide-5
SLIDE 5

Types of soft bodies

  • Rope (1D)
  • Cloth (2D)
  • Object (3D)

Examples

slide-6
SLIDE 6

Example

slide-7
SLIDE 7

So… How do they work?

  • Dark Magic
  • Sacrifices of innocent souls
  • <Insert mom joke here>
  • Mathematician tears
slide-8
SLIDE 8

Models

  • Spring-mass model
  • Finite element simulation
  • Shape matching
  • .. apparently many others.
slide-9
SLIDE 9

Whatever model works on principle

  • A set of constraints- a equation system for each point
  • A solver that iterates until constraints are satisfied
  • A lot of parameters

○ For material ○ For solver

slide-10
SLIDE 10

Lets focus on spring/mass model

slide-11
SLIDE 11

Lets focus on spring/mass model Point

  • Mass
  • Position
  • Metadata (eg. previous position)
  • Velocity
  • Inertia
  • Angular Velocity
  • ...and much more
slide-12
SLIDE 12

Lets focus on spring/mass model Spring

  • Rest length
  • Min length
  • Max length
  • Force
  • Dampening
  • Stiffness
slide-13
SLIDE 13

Lets focus on spring/mass model

Example 1 Example 2 Example 3

slide-14
SLIDE 14

Spring/Mass model issues

  • How do you structure the object?
  • Issues with collision detection

VS

slide-15
SLIDE 15

Example of exhaustive approach

slide-16
SLIDE 16

Achiements

slide-17
SLIDE 17

Nvidia Flex

slide-18
SLIDE 18

Fracture generation

slide-19
SLIDE 19

Fracturing models

  • Premade fractured model
  • Fracture mapping
  • Real-time fracture generation

○ Scientifically plausible ○ Rough approximation

slide-20
SLIDE 20

Premade fractured model

  • Object comes as a collection of fractured pieces
  • Pieces are glued together
  • More mesh for graphics component to handle
  • Less data needed for physics simulation
  • Either ignore or take take into account point of impact
slide-21
SLIDE 21

Fracture mapping

  • Model comes with a fracture mapping
  • Upon impact, fracture mapping is used to decompose object
  • Most commonly used

○ Blender ○ Apex library ○ Unity

slide-22
SLIDE 22

Fracture mapping

slide-23
SLIDE 23

Real time fracture generation

  • Ignoring point of impact vs taking it into account
  • Some algorithm is used to iteratively generate fractures
  • Most computationally expensive
slide-24
SLIDE 24

Real time fracture generation: Voronoi

slide-25
SLIDE 25

Another example

slide-26
SLIDE 26

Real time fracture refinement

slide-27
SLIDE 27

Real time fracture refinement

slide-28
SLIDE 28

A cool approach

slide-29
SLIDE 29

Another cool approach

slide-30
SLIDE 30

Another cool approach (2)

slide-31
SLIDE 31

Another cool approach: Result

slide-32
SLIDE 32

Boiling it down

  • Detect impact
  • Figure out how to fracture (mapping or some algorithm)
  • Use fractures to split mesh into parts
  • Add the parts to the scene
  • Calculate velocities, inertia, mass etc.
  • Do it in a single render cycle or several.
slide-33
SLIDE 33

Cluster Trucks

slide-34
SLIDE 34

Discussion