You are previewing Ultimate Game Programming with DirectX®, Second Edition.
O'Reilly logo
Ultimate Game Programming with DirectX®, Second Edition

Book Description

Make your own games using DirectX 10 and C++ with Ultimate Game Programming with DirectX, Second Edition. Written for experienced programmers who want to learn DirectX 10 and how to apply it to game creation, this book goes in-depth with DirectX 10 and each of its subsystems. Every part of the gamedevelopment process is covered and you'll apply your existing game-development skills to the new techniques and tools covered in the book. Beginning with an introduction to DirectX and Direct3D, you'll work your way through graphical interfaces, animation paths,advanced lighting and shadows,various surfacemapping techniques, and even sound. One topic is covered per chapter and end-of-chapter questions help you practice and reinforce your new skills.Whether you're a current gamedevelopment student or a professional developer, you'll find the information and techniques you need to gain a clear understanding of game programming with DirectX 10.

Table of Contents

  1. Copyright
  2. Acknowledgments
  3. About the Author
  4. About this Book
  5. Introduction to DirectX 10
    1. Overview of Graphics and Game Development
    2. A Look at Windows Vista
    3. Microsoft’s DirectX Technology
    4. Programmable Shaders
    5. Summary
    6. Chapter Questions
  6. Direct3D 10
    1. Direct3D 10 Basics
    2. Font and Text
    3. Additional DirectX Topics
    4. Summary
    5. Chapter Questions
    6. Chapter Exercises
  7. Rendering Geometry
    1. Primitives
    2. Colors
    3. Summary
    4. Chapter Questions
  8. Shader Model 4
    1. Shader Model 4
    2. Shaders in Direct3D 10
    3. Summary
    4. Chapter Questions
    5. Chapter Exercises
  9. Transformations
    1. Projection Transformations
    2. World Transformations
    3. View Transformations
    4. Transformation Demo
    5. Summary
    6. Chapter Questions
    7. Chapter Exercises
  10. Shading and Surfaces
    1. Textures
    2. Types of Textures
    3. Textures in Direct3D 10
    4. Implementing Texture Mapping
    5. Additional Texturing Topics
    6. Summary
    7. Chapter Questions
    8. Chapter Exercises
  11. Additional Texture Mapping
    1. Alpha Mapping
    2. Sprites
    3. Image Filters
    4. Summary
    5. Chapter Questions
    6. Chapter Exercises
  12. Game Math
    1. Vectors
    2. Matrices
    3. Bounding Geometry
    4. Additional Mathematics
    5. Summary
    6. Chapter Questions
  13. Sound in DirectX
    1. Overview of Microsoft Audio Technologies
    2. Direct Sound
    3. XACT3
    4. XAudio2
    5. Summary
    6. Chapter Questions
    7. Chapter Exercises
  14. Game Input
    1. Win32 Input
    2. XInput
    3. Summary
    4. Chapter Questions
    5. Chapter Exercises
  15. 3D Models
    1. Overview of 3D Models
    2. Files in C++
    3. Token Stream
    4. OBJ Models
    5. Summary
    6. Chapter Questions
    7. Chapter Exercises
  16. Animations
    1. Introduction to Animation
    2. Time-Based Simulations
    3. Additional Animation Topics for the Future
    4. Summary
    5. Chapter Questions
    6. Chapter Exercises
  17. Lighting
    1. Overview of Lighting
    2. Light Types
    3. Basic Lighting Information
    4. Implementing Per-Pixel Lighting
    5. Additional Lighting Topics
    6. Summary
    7. Chapter Questions
    8. Chapter Exercises
  18. Conclusions
    1. Improvements to the Game
    2. Additional Techniques and Topics
    3. Moving Forward
    4. Summary
    5. Chapter Questions
  19. Answers to Chapter Questions
    1. Chapter 1 Answers
    2. Chapter 2 Answers
    3. Chapter 3 Answers
    4. Chapter 4 Answers
    5. Chapter 5 Answers
    6. Chapter 6 Answers
    7. Chapter 7 Answers
    8. Chapter 8 Answers
    9. Chapter 9 Answers
    10. Chapter 10 Answers
    11. Chapter 11 Answers
    12. Chapter 12 Answers
    13. Chapter 13 Answers
    14. Chapter 14 Answers
  20. Recommended Resources
    1. Recommended Tools
    2. Recommended Books
    3. Recommended Web Sites and Articles
  21. Index