Chapter 8. Incorporating Physics and Simulations

In this chapter, we will cover the following topics:

  • Using a physics engine
  • Simulating ocean waves
  • Rendering particles

Introduction

In this chapter, we will look at implementing physics and simulations into our scene rendering. We will first look at a CPU-based physics engine, and then we will explore the power of the GPU to simulate waves and render millions of particles.

Get Direct3D Rendering Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.