Chapter 1. Introducing Direct3D

IN THIS CHAPTER

  • Getting Started

  • The Direct3D Device

  • Making Our Triangle Three Dimensional

  • Automatic Device Resets During a Resize

  • We've Got Camera and Action; What About Lights?

  • Device States and Transforms

  • Swapchains and RenderTargets

  • In Brief

One of the most popular aspects of "rich multimedia" applications would be the addition of 3D graphics. With the processing power of today's modern GPU (graphics processing unit), realistic scenes can be rendered in real time. Have you ever been playing the latest 3D game and wondered, "How do they do that?," only to assume it must be too complicated? Managed Direct3D allows developers an easy and fast way to get complex (or simple) graphics and animations on the screen. In this chapter we will cover the following:

  • Creating a default Direct3D device

  • Rendering a triangle in both screen coordinates and in world space

  • Adding a light to our triangle



Managed DirectX 9 Graphics and Game Programming, Kick Start
Managed DirectX 9 Kick Start: Graphics and Game Programming
ISBN: B003D7JUW6
EAN: N/A
Year: 2002
Pages: 180
Authors: Tom Miller

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net