Download presentation
Presentation is loading. Please wait.
Published byBrianna Adams Modified over 8 years ago
1
Real-time fluid physics library The goal was to create a physics library, specialized on water fluid physics, for real-time applications.
2
Why? Water motion is appealing and it should be possible to use it more in games for enhanced experience. A physics-based system is needed to enable interaction between solid objects and fluid.
3
What is it? Real-time 3D motion integrator Solid object/fluid interactor (currently support for liquid)
4
But it's not: Not a simulator Not a graphics renderer
5
Capabilities Colliding contacts Volume determination Buoyancy forces Drag forces
6
How is it done? Mesh/mesh collision detection Uses OPCODE library Collision resolving 1.Time step bisection (to specified resolution) 2.Computes closest contacts before 3.Best effort contacts 4.Impulse
7
How is it done? Buoyancy/drag forces Archimedes’ principle: F = ρ * V * g Volume approximation Numerical integration Drag force: F = -ρ * v o v * A * c / 2 * v / |v| Area approximation Liquid dynamics Wave equation: ∂ 2 h / ∂t 2 = v 2 * (∂ 2 h / ∂x 2 + ∂ 2 h / ∂z 2 ) Mass conservation: ∂m / ∂t = 0
8
Extendable? Mesh loaders Integrators Fluid kernels
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.