Game Physics, 2/e (Hardcover)
內容描述
Create physically realistic 3D Graphics environments with this introduction to the ideas and techniques behind the process. Author David H. Eberly includes simulations to introduce the key problems involved and then gradually reveals the mathematical and physical concepts needed to solve them. He then describes all the algorithmic foundations and uses code examples and working source code to show how they are implemented, culminating in a large collection of physical simulations. The book tackles the complex, challenging issues that other books avoid, including Lagrangian dynamics, rigid body dynamics, impulse methods, resting contact, linear complementarity problems, deformable bodies, mass-spring systems, friction, numerical solution of differential equations, numerical stability and its relationship to physical stability, and Verlet integration methods. This book even describes when real physics isn't necessary - and hacked physics will do.
- CD-ROM with extensive C++ source code that supports physical simulation; has many illustrative applications for Windows, Linux, and OS X; and is compatible with many game engines - including the Wild Magic engine, for which the complete source code is included.
- Includes exercises for instructional use and review of essential mathematics.
- Revised and updated to include a new chapter about fluid dynamics based on the Navier-Stokes equations. The CD-ROM contains implementations that run in real time using the graphics hardware. The chapter on physics engines was rewritten to include new sections on the physics tick, on multithreaded and multiprocessor collision culling, and on velocity-based dynamics.