Graphics Programs Reference
In-Depth Information
Figure 12.5
Scaling and placing
the three spheres
Figure 12.6
The pool balls in
texture view
The spheres are placed a bit over the table surface so that their geometries' surfaces
aren't accidentally crossing each other, an effect known as interpenetrating . When sur-
faces interpenetrate, the dynamics that result are usually as welcome as sand in your eyes.
Starting all colliding rigid bodies slightly away from each other should guarantee that
their surfaces don't interpenetrate. Using the simple pool table that you've set up will
make the dynamics calculations quick and easy.
Use the file Table_v1.mb in the Scenes folder of the Pool_Table project on the CD as a
reference or to catch up to this point.
Search WWH ::




Custom Search