You've been logged out of GDC Vault since the maximum users allowed for this account has been reached. To access Members Only content on GDC Vault, please log out of GDC Vault from the computer which last accessed this account.

Click here to find out about GDC Vault Membership options for more users.


Session Name:

GPU Rigid Body Simulation


General purpose computing on GPU is becoming mainstream in gaming hardware such as consoles, mobile devices, and PCs. Code that effectively uses the GPU can increase performance and improve battery life. This lecture discusses how to efficiently implement collision detection, particles, and rigid body simulation executed on the GPU. Although OpenCL is taught, most information is applicable to CUDA and DirectCompute. For each stage in the particle and rigid body simulation pipeline, we will discuss the suitability of popular algorithms for GPU. This includes collision detection, contact generation and contact reduction for convex and concave triangle meshes, contact constraint setup, and solving. You can expect to simulate up to hundred thousand active rigid bodies with stable stacking in real-time on modern GPUs. Everything discussed in the lecture is implemented and available as open source under a permissive license. This means that attendees can experiment, make changes, or reuse code in their own games.

Did you know free users get access to 30% of content from the last 2 years?

Get your team full access to the most up to date GDC content

  • GDC 2013
  • Erwin Coumans
  • Bullet Physics
  • free content
  • Programming
  • Programming