XNA

Image

This Wrox Blox will guide you through the world of 3D programming and give you solid knowledge and a foundation in game programming using Microsoft's XNA Framework. You will learn the fundamentals from 3D mathematics to model animation, including all the subjects needed to start developing 3D games, such as how to position objects in 3D space, handle collision detection, control the game camera, and understand the basics of shaders — special programs that execute on the graphics processor. Also covered are how to extend the XNA Content Pipeline to read and use model skeletal animation, and also load and play back timeline animation data created in 3D modeling tools. 3D concepts and systems can seem like a foreign language when you’re a beginner.   And not knowing the lingo can make it hard to know what terms to search for to solve a problem.   This Wrox Blox will give you all the tools you need to build your own 3D game.

Table of Contents

Who Is This Book For? 1

3D Overview 2

Basic 3D Math 4

Right-Hand Rule 4

Working with Matrices 5

Identity, Scale, Rotate, Orbit, Translate (ISROT) 6

Working with Vectors 7

Unit Vectors 10

Working with Quaternions 12

Controlling the Camera 13

Basic Camera 13

Follow Camera 19

ViewPorts 20

BoundingFrustum 22

3D Models 23

Modeling Programs and Formats 23

Loading a Model 24

Collision Detection 27

Skeletal Animations 29

Extending the Content Pipeline 29

Manipulating Bones at Run Time 31

Using Model Animations 36

About Michael C. Neel 39

Usage Rights for Wiley Wrox Blox

Any Wrox Blox you purchase from this site will come with certain restrictions that allow Wiley to protect the copyrights of its products. After you purchase and download this title, you:    

  • Are entitled to three downloads
  • Are entitled to make a backup copy of the file for your own use
  • Are entitled to print the Wrox Blox for your own use
  • Are entitled to make annotations and comments in the Wrox Blox file for your own use
  • May not lend, sell or give the Wrox Blox to another user
  • May not place the Wrox Blox file on a network or any file sharing service for use by anyone other than yourself or allow anyone other than yourself to access it
  • May not copy the Wrox Blox file other than as allowed above
  • May not copy, redistribute, or modify any portion of the Wrox Blox contents in any way without prior permission from Wiley

If you have any questions about these restrictions, you may contact Customer Care at (877) 762-2974 (8 a.m. - 5 p.m. EST, Monday - Friday). If you have any issues related to Technical Support, please contact us at 800-762-2974 (United States only) or 317-572-3994 (International) 8 a.m. - 8 p.m. EST, Monday - Friday).

Image

This Wrox Blox will guide you through the world of 3D programming and give you solid knowledge and a foundation in game programming using Microsoft's XNA Framework. You will learn the fundamentals from 3D mathematics to model animation, including all the subjects needed to start developing 3D games, such as how to position objects in 3D space, handle collision detection, control the game camera, and understand the basics of shaders — special programs that execute on the graphics processor. Also covered are how to extend the XNA Content Pipeline to read and use model skeletal animation, and also load and play back timeline animation data created in 3D modeling tools. 3D concepts and systems can seem like a foreign language when you’re a beginner.   And not knowing the lingo can make it hard to know what terms to search for to solve a problem.   This Wrox Blox will give you all the tools you need to build your own 3D game.

Table of Contents

Who Is This Book For? 1

3D Overview 2

Basic 3D Math 4

Right-Hand Rule 4

Working with Matrices 5

Identity, Scale, Rotate, Orbit, Translate (ISROT) 6

Working with Vectors 7

Unit Vectors 10

Working with Quaternions 12

Controlling the Camera 13

Basic Camera 13

Follow Camera 19

ViewPorts 20

BoundingFrustum 22

3D Models 23

Modeling Programs and Formats 23

Loading a Model 24

Collision Detection 27

Skeletal Animations 29

Extending the Content Pipeline 29

Manipulating Bones at Run Time 31

Using Model Animations 36

About Michael C. Neel 39

Usage Rights for Wiley Wrox Blox

Any Wrox Blox you purchase from this site will come with certain restrictions that allow Wiley to protect the copyrights of its products. After you purchase and download this title, you:    

  • Are entitled to three downloads
  • Are entitled to make a backup copy of the file for your own use
  • Are entitled to print the Wrox Blox for your own use
  • Are entitled to make annotations and comments in the Wrox Blox file for your own use
  • May not lend, sell or give the Wrox Blox to another user
  • May not place the Wrox Blox file on a network or any file sharing service for use by anyone other than yourself or allow anyone other than yourself to access it
  • May not copy the Wrox Blox file other than as allowed above
  • May not copy, redistribute, or modify any portion of the Wrox Blox contents in any way without prior permission from Wiley

If you have any questions about these restrictions, you may contact Customer Care at (877) 762-2974 (8 a.m. - 5 p.m. EST, Monday - Friday). If you have any issues related to Technical Support, please contact us at 800-762-2974 (United States only) or 317-572-3994 (International) 8 a.m. - 8 p.m. EST, Monday - Friday).

Image

Foreword by Tom Miller

Developer, XNA Game Studio Express, Microsoft Corporation

 

Microsoft XNA Unleashed provides comprehensive coverage and solid instruction on how to leverage the XNA Framework to create high quality games for Windows and the Xbox 360. The author shows you how to take full advantage of the many features the XNA Framework provides; you will learn the intricacies of important tasks such as adding sound and music to games, as well as creating, loading, and texturing 3D objects. In addition to providing coverage of 2D programming, the author shows you how to create sophisticated 3D games. All the important topics such as physics, artificial intelligence, and special effects are covered in detail. Chad Carter is the CTO at Robertson Marketing Group. Many Fortune 500 companies use the ecommerce system he architected and developed from the ground up for the promotional business sector. He has been creating DirectX applications since 1996 and has developed games using Managed DirectX. Chad created a 3D locomotive simulator for Norfolk Southern that is used to teach children to obey railroad crossings signals. Chad’s website devoted to the XNA Framework can be found at www.xnaessentials.com.

 

  Learn how to install and use XNA Game Studio Express

  Discover how to build, deploy, and debug games for the Xbox 360 and Windows

  Examine the XNA Framework in depth: 2D, 3D, sound, input, and HLSL

  Learn how to create game components and game services

  Delve into performance tuning techniques

  Discover how to extend the Content Pipeline

  Learn how to use the Microsoft Cross-Platform Audio Creation Tool (XACT) to add sound and music to games

  Create a full 2D parallax side-scroller game

  Discover how to use sprite batches

  Learn to make the most of sprite fonts

  Create 2D components such as splash screens and progress bars

  Examine the different sprite batch blending modes

  Discover 2D cel animation

  Examine the High Level Shader Language (HLSL) in detail covering basic HLSL as well as vertex deformations and post-processing effects

  Create a full 3D game that includes a 2D radar in the Heads Up Display (HUD), and much, much more

 

CD-ROM includes

• All C# examples and source code presented in this book.

• Explosion Generator tool for generating explosion animations.

 

Introduction                 

Part I      Get Up and Running with XNA on Your PC and Xbox 360

1              Introducing XNA and XNA Game Studio Express                       

2              XNA and the Xbox 360              

3              Performance Considerations    

Part II     Understanding XNA Basics

4              Creating 3D Objects                      

5              Input Devices and Cameras     

Part III    Content Pipeline

6              Loading and Texturing 3D Objects             

7              Sound and Music     

8              Extending the Content Pipeline                  

Part IV   2D in XNA

9              2D Basics                       

10           2D Effects                     

11           Creating a 2D Game               

Part V    High Level Shader Language

12           HLSL Basics          

13           Advanced HLSL    

Part VI   Physics and Artificial Intelligence

14           Physics Basics 

15           Finite State Machines and Game State Management  

16           AI Algorithms 

Part VII  3D Effects

17           Advanced Texturing Techniques

18           Special Effects 

19           Particle System

Part VIII Putting It Into Practice

20           Creating a 3D Game 

21           Improving the Game

22           Finishing Touches

Index

 

 

Image

Bring your gaming visions to life with Microsoft XNA Game Studio Express

Create complete 3D games using Microsoft XNA Game Studio Express and this hands-on guide. Written by experienced game developers, Microsoft XNA Game Studio CreatorAnd#39;s Guide details the fundamentals of great game programming and offers detailed examples.

Inside, youAnd#39;ll learn to program a game engine, write shader code, create and animate 3D models, and add fluid motion and special effects. YouAnd#39;ll also find out how to launch ballistics, add realistic scenery and terrain, and integrate lighting and textures. Step-by-step tutorials on underlying C# code and explanations of vector and matrix techniques are included.

  • Build and dynamically update XNA game windows and custom 3D objects
  • Learn scintillating animation techniques
  • Create lifelike skyboxes, textures, lighting, and shading effects
  • Program shaders using high-level shader language
  • Develop single- and multi-player games
  • Generate and code terrain with height detection
  • Construct impressive graphics using sprites, multi-texturing, and blending
  • Integrate audio, game dashboards, and score tracking
  • Develop realistic collision detection, ballistics, and particle effects
  • HaHHhhndle keyboard, mouse, and game controller input
  • Create static *.fbx and animated Quake 2 models and control them in code

Andnbsp;

Subscribe to RSS - XNA