tailieunhanh - XNA 3D Primer
Michael C. Neel is a software developer living in Knoxville, Tennessee. Michael’s personal web site, and he also blogs at several other .NET developers. A regular speaker on .NET and general software development, Michael has spoken at conferences and user groups in Tennessee, Georgia, Alabama, Mississippi, Louisiana, Kentucky, Ohio, North Carolina, Virginia, Maryland, and Indiana. Michael is a Microsoft MVP award recipient for 2009 and 2009. (That’s not a mistake: He’s twice received the 2009 MVP Award — he’s that specia. | Michael C. Nee XNA 3D Primer WROX BLOX WILEY Wiley Publishing Inc. Updates source code and Wrox technical support at 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 XNA 3D Primer In early computer graphics graphic adapters were 2D two-dimensional only. Games created a frame by setting pixel colors in the graphics adapter s memory then telling the graphics adapter to make the buffer active in a simple process called frame buffering. If a game was in 3D three dimensions it meant that the programmers wrote 3D-to-2D conversion methods sometimes in C often in Assembly to generate 2D frames from 3D sources. Fortunately it s no longer 1980 and graphics adapter advancements include processing 3D images. With XNA it s possible to write high-performance 3D games in managed code that will run on a Windows PC and Xbox 360. 3D game development has never been easier but that doesn t mean it is easy. Learning the terms and concepts in 3D graphics programming should qualify as a foreign language credit. Who Is This Book For This Wrox Blox is an introduction to 3D game programming with XNA but it is not an introduction to XNA. You should be familiar with the basics of XNA working through a few tutorials at http creators . should be sufficient and also be comfortable with C and .NET . Although this Wrox Blox covers the concepts of 3D at a high level it does not dive into details such as calculating vector cross-products. The focus is on the methods in the XNA .
đang nạp các trang xem trước