Video đang hot
Part I Getting Down the Basics . . . . . . . . . . . . .1
Chapter 1 The What, Why, and How of DirectX . . . . . . . . . . . . . . . . . .3
Chapter 2 Your First DirectX Program . . . . . . . . . . . . . . . . . . . . . . . . . .9
Chapter 3 Surfaces, Sprites, and Salmon . . . . . . . . . . . . . . . . . . . . . . .35
Part II It’s a 3D World After All . . . . . . . . . . .63
Chapter 4 3D Primer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .65
Chapter 5 Matrices, Transforms, and Rotations . . . . . . . . . . . . . . . . . .87
Chapter 6 Vertex Colors, Texture Mapping, and 3D Lighting . . . . . .117
Chapter 7 Meshes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .147
Chapter 8 Point Sprites, Particles, and Pyrotechnics . . . . . . . . . . . . . .177
Part III Additional Needs . . . . . . . . . . . . . . . . .199
Chapter 9 Using DirectInput . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .201
Chapter 10 DirectSound . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .237
Chapter 11 The Final Project . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .257
Part IV Appendixes . . . . . . . . . . . . . . . . . . . . . .293
Appendix A Answers to End-of-Chapter Exercises . . . . . . . . . . . . . . . .295
Appendix B Using the CD-ROM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .311
Glossary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .315
Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .318
