|
![]() |
|||
|
||||
OverviewFull Product DetailsAuthor: Clayton WalnumPublisher: Pearson Education (US) Imprint: Sams Publishing Dimensions: Width: 18.60cm , Height: 2.60cm , Length: 23.10cm Weight: 0.745kg ISBN: 9780672324987ISBN 10: 0672324989 Pages: 456 Publication Date: 08 May 2003 Audience: College/higher education , Tertiary & Higher Education Format: Paperback Publisher's Status: Out of Print Availability: In Print ![]() Limited stock is available. It will be ordered for you and shipped pending supplier's limited stock. Table of ContentsIntroduction. 1. Exploring Direct3D. What Is Direct3D? The Direct3D Library. What Direct3D Can Do. Direct3D Architecture on Windows. Direct3D Example Applications. In Brief. 2. Writing a Windows Program. Windows the Old-Fashioned Way. The Minimum Windows Application. Digging into the Program. Building a Basic Windows Application. In Brief. 3. Programming 2D Computer Graphics. Understanding Screen and Cartesian Coordinates. Defining Vertex and Shape Data Types. Transforming Shapes. Using Matrix Math in Transformations. Building a 2D Graphics Application. Running the Graphics2D Application. Understanding How the Graphics2D Program Works. Exploring the Program Listings. In Brief. 4. Programming 3D Computer Graphics. Understanding the 3D Coordinate System. Defining a 3D Object. Moving from Local Coordinates to Screen Coordinates. Transforming 3D Objects. Building a 3D Graphics Application. Running the Graphics3D Application. How the Graphics3D Program Works. Presenting the Program Listings. In Brief. 5. Getting Direct3D Up and Running. Creating a Direct3D Object. Creating a Direct3D Device. Releasing Direct3D Objects. Your First Direct3D Program. Understanding Display Modes. Checking for Display-Mode Availability. Windowed Versus Full-Screen Applications. Drawing to the Display. Programming a Windowed Application. In Brief. 6. Understanding Direct3D Surfaces. Exploring Direct3D Surfaces. Transferring Image Data Between Surfaces. Using Surfaces for Real. Digging Deeper into the StretchRect() Method. Building the CopyRectsApp Application. Exploring the CopyRectsApp Program. Performing Computer Animation with Surfaces. Building the AnimationApp Application. In Brief. 7. Drawing Graphics Primitives. Defining a Point. Defining a Shape with Vertices. Using Vertex Buffers. Rendering Graphics Primitives. In Brief. 8. Direct3D Transformations. Understanding Direct3D Transformations. Building the MatrixTriangleApp. Seeing Transformations in Action. Building 3D Objects from Polygons. Performing Multiple Transformations. Understanding the Order of Transformations. In Brief. 9. Lighting 3D Objects. Understanding Types of Source Light. Types of Reflective Light. Exploring Other Attributes of Lights. Defining a Direct3D Light. Defining an Objects Material. Defining Normals. Building the LightApp Application. Experimenting with Lights. In Brief. 10. Using Direct3D Textures. Applying Texture Mapping to a Polygon. Creating a Texture Surface. Understanding Texture Coordinates. Using Texture Coordinates. Rendering Textures. Setting the Texture. Creating the TextureApp Application. Implementing Transparency. Creating the TransparencyApp Application. In Brief. 11. Programming Alpha Blending and Fog. Introducing Transparency with Alpha Blending. Understanding Alpha Blending. Creating th.e VertexAlphaApp Application. Using Fog. Creating the VertexFogApp Application. In Brief. 12. Creating a 3D World. Introducing Direct3DdemoApp. Exploring the Program. Exploring the Full Program. In Brief. Index.ReviewsAuthor InformationAward-winning author Clayton Walnum has been writing about computers for two decades. In the 80's, he published many computer games in Atari computer magazines and eventually became the Executive Editor of two monthly Atari magazines, ANALOG Computing and ST-Log. Over the course of his career, he has written many books on graphics and game programming, covering such technologies as Visual Basic, C++, OpenGL, and DirectX. Some of these books include Sams Teach Yourself Windows Game Programming with DirectX in 21 Days, Sams Teach Yourself Game Programming with Visual Basic 6 in 21 Days, and 3-D Graphics Programming with OpenGL. He holds a degree in Computer Science. Contributor: Justin Rogers has created a fully functional game engine, for Microsoft to host the Terrarium, a game Microsoft uses to demonstrate the capabilities of their new .NET platform. Tab Content 6Author Website:Countries AvailableAll regions |