Introduction to Direct 3D

Introduction

Direct3D is a group of Microsoft Api that allows the developer to control a 3D environment. The 3D environment processes vertexes through the Geometry pipeline. Step 1 transforms the vertexes into the World coordinates, step 2 applies camera matrices to the vertex, step 3 applies projection matrices that transform the vertex for a 3D coordinate to a 2D coordinate, and the 2D coordinate is normalized to window coordinates (this is mapping the viewport to the window).

In this tutorial we will use one of three objects: 1. A triangle with normals 2. A tiger loaded from a direct.x file 3. A cylinder calculated from an equation.

All the 3D code is encapsulated in the D3DEngine class. All music segment is defined in the DXMusic class. The DirectInput will be managed by CDX. For more information on CDX click here.

You might also like...

Comments

About the author

David Nishimoto United States

NishiSoft provides Part I of the Information Technology Project collaboration. Sign up and list your IT project tasks, assign task too friends, and get percent complete task.

Part will ...

Interested in writing for us? Find out more.

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“Debugging is anticipated with distaste, performed with reluctance, and bragged about forever.” - Dan Kaminsky