Managed DirectX was released with the latest version of the core DirectX libraries in DirectX9. It enables developers using the new .NET languages (i.e. C#, VB.NET, etc.) to develop rich multimedia applications with DirectX. Unfortunately the Managed DirectX runtime was released without adequate documentation, and developers are having a hard time figuring out the best way to write managed applications. This book covers how to use the Managed DirectX objects, how they differ from the core DirectX libraries, and how to create these rich multimedia applications in C#. It also covers in depth graphics techniques and the new high-level shader language shipping with DirectX9.
Learn how to use programmable shaders in the DirectX 9 graphics pipeline-and deliver awesome 3-D graphics to your animations, games, and other multimedia applications. This book distills hundreds of hours of hands-on guidance from the developers on the Microsoft DirectX team-as well as insights from leading-edge video card manufacturers-into step-by-step instruction and best practices for exploiting the programmable pipeline. You'll see how to program shaders in assembly-language as well as the new high-level shader language (HLSL)-and you get complete code walk throughs for all the sample programs and the DirectX 9 SDK on CD. Discover how to: Program vertex shaders to create transformations, apply vertex fog, or deform geometry Generate 2-D image effects'such as output color inversion-with pixel shaders Use HLSL to add a semi-transparent glow effect by combining a vertex shader and frame buffer blending Produce a metallic paint effect by combining a vertex shader, a pixel shader, and a texture shader with multilayer texture blending Incorporate reflective surfaces into your 3-D scenes by applying an environment-map effect Experiment with the EffectEdit SDK sample to load and edit effect files and preview results on the fly Package multiple object-rendering techniques into a single effect for simpler pipeline state management CD inside Get code for all the sample programs plus SDKAbout Programmable Shaders. With programmable shaders, you get unprecedented control over rendering options in DirectX 9. You can use vertex shaders to deform geometry, apply procedural textures with pixel and texture shaders, and use effects to encapsulate shader and pipeline state-making code reuse a snap. CD features: Sample programs that demonstrate: Vertex shader transformations, lighting, fog, vertex displacement, and vertex blending Pixel shader texturing, 2-D image processing, and lighting Texture shader generation of procedural textures Encapsulating assembly-language and HLSL shaders into an effect Interactive development of an effect using EffectEdit DirectX 9 SDK Fully searchable eBook For customers who purchase an ebook version of this title, instructions for downloading the CD files can be found in the ebook.
Companion CD included with Paint Shop Pro 8 evaluation edition!Interfaces strongly affect how an application or game is received by a user, no matter which cutting-edge features it may boast. This unique book presents a comprehensive solution for creating good interfaces using the latest version of DirectX. This involves building an interface library from the ground up. Divided into three sections, the book discusses the foundations of interface design, the construction of a feature-rich interface library, and the creation of a fully functional media player in DirectShow.
Using XNA Game Studio 3.0, any programmer can master the art of game development and begin selling games to millions of Xbox 360 users worldwide. Now, there’s a practical, comprehensive guide to game development with Microsoft’s powerful new XNA Game Studio 3.0 and the entire XNA Framework. In Microsoft® XNA® Game Studio 3.0 Unleashed, XNA expert Chad Carter covers the entire XNA platform, presents extensive sample code, and explains that code line by line. Carter walks you through the entire process of game development, including installing XNA, creating objects, handling input, managing and extending the content pipeline, optimizing game performance, and creating both 3D and 2D games. Carter presents sophisticated coverage of using XNA’s high level shader language; creating physical effects; and endowing characters with realistic artificial intelligence. A case study section walks through the entire process of planning and coding a game, improving it, and putting on the finishing touches that make it marketable. This edition contains nine new chapters, including all-new sections on creating networked games, programming games for the Zune handheld, and preparing and submitting games to Xbox LIVE, where accepted titles will reach gamers worldwide. Plan your games to deliver solid performance on the platforms you’ve targeted Understand essential XNA Framework concepts, including object creation, cameras, input handling, libraries, game services, and managing and extending the content pipeline Create a 2D game that will run across 3 platforms (Windows, Xbox 360, and Zune) with a single code base Create a Visualizer media player for the Microsoft Zune Use the High Level Shader Language (HLSL) to communicate directly with graphics hardware Bring realistic physics to your game action and realistic artificial intelligence to your characters Create sophisticated 3D effects that use advanced texturing and a particle system Build networked games, including multiplayer demos, turn-based games, and real-time network games Create 4 full games–2D parallax side scroller, 3D shooter, multiplayer turn-based 2D card game, and a multiplayer real-time 3D game Discover best practices for creating Xbox LIVE Community Games Sell your finished game on Xbox LIVE Marketplace CD-ROM includes: All C# examples and source code presented in this book.
This updated bestseller provides an introduction to programming interactive computer graphics, with an emphasis on game development using DirectX 11. The book is divided into three main parts: basic mathematical tools, fundamental tasks in Direct3D, and techniques and special effects. It includes new Direct3D 11 features such as hardware tessellation, the compute shader, dynamic shader linkage and covers advanced rendering techniques such as screen-space ambient occlusion, level-of-detail handling, cascading shadow maps, volume rendering, and character animation. Includes a companion CD-ROM with code and figures. eBook Customers: Companion files are available for downloading with order number/proof of purchase by writing to the publisher at [email protected].
This updated bestseller provides an introduction to programming interactive computer graphics, with an emphasis on game development using DirectX 12. The book is divided into three main parts: basic mathematical tools, fundamental tasks in Direct3D, and techniques and special effects. It shows how to use new Direct12 features such as command lists, pipeline state objects, descriptor heaps and tables, and explicit resource management to reduce CPU overhead and increase scalability across multiple CPU cores. The book covers modern special effects and techniques such as hardware tessellation, writing compute shaders, ambient occlusion, reflections, normal and displacement mapping, shadow rendering, and character animation. Includes a companion DVD with code and figures. eBook Customers: Companion files are available for downloading with order number/proof of purchase by writing to the publisher at [email protected]. FEATURES: • Provides an introduction to programming interactive computer graphics, with an emphasis on game development using DirectX 12 • Uses new Direct3D 12 features to reduce CPU overhead and take advantage of multiple CPU cores • Contains detailed explanations of popular real-time game effects • Includes a DVD with source code and all the images (including 4-color) from the book • Learn advance rendering techniques such as ambient occlusion, real-time reflections, normal and displacement mapping, shadow rendering, programming the geometry shader, and character animation • Covers a mathematics review and 3D rendering fundamentals such as lighting, texturing, blending and stenciling • Use the end-of-chapter exercises to test understanding and provide experience with DirectX 12
* Adapted to VB .NET by key Microsoft Insiders --Lead author is the .NET Game evangelist at Microsoft! * An easy-to-read, soup-to-nuts guide that helps you start programming games fast. * Packed with code examples that are complete games, Beginning .NET Game Programming in VB .NET includes an introduction to Managed DirectX 9 and is also an introduction to exciting advanced features of .NET, including the Speech API to generate voices, synchronizing mouth animations with generated sounds, the .NET Compact Framework, data access with ADO.NET, collision detection, and artificial intelligence. * Includes complete code listings and applications for all games included in the book: .Nettrix (a Tetris clone), .Netterpillars (a Snakes clone), River Pla.Net (River Raid clone), Magic KindergarteN., D-iNfEcT, and Nettrix II (for the Pocket PC) as well as a version of the classic game Spacewars and a "Twisty Cube" game.