The Design of OpenAL: Sources, Buffers, and Listeners 423
Limits of 3D Audio in OpenAL 426
Integrating the Listener into Space Rocks! 426
Adding Positions to Sounds 429
Listener Orientation 434
Right-Handed Coordinate Systems and the Right-Hand Rule 434
Unit Circle, Polar-to-Rectangular Coordinates, Phase Shifting, and Trigonometric Identities 437
Integration into Space Rocks! 439
Source Direction and Cones 441
Velocity and the Doppler Effect 444
Distance Attenuation 448
Attenuation Models 449
Back to Space Rocks! 456
Using Relative Sound Properties to Selectively Disable 3D Effects 459
Achievement Unlocked: Use All OpenAL 3D Features 461