CHAPTER 5

image

Physics

In this chapter, we will introduce modeling physical interactions among objects in our scene. Topics that we will cover in this chapter are:

  • Position, velocity, acceleration
  • Forces such as gravity and friction
  • Projectile motion
  • Detecting and reacting to collisions
  • Elasticity and the conservation of momentum
  • Potential and kinetic energy

Background

In addition to lighting, texturing, and other visual cues of realism, how objects physically interact with their surroundings can give credence to the believability of our animations. Interaction that does not follow physical laws can look strange and unrealistic. Of course, this ...

Get Beginning WebGL for HTML5 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.