Library tutorials & articles

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.

Comments

  1. 02 Aug 2004 at 09:40

    Where can I find out the headers?


    include "cdxinput.h"


    include "dsnEngine.h"


    include "music.h"



    Joseph

  2. 01 Jan 1999 at 00:00

    This thread is for discussions of Introduction to Direct 3D.

Leave a comment

Sign in or Join us (it's free).

David Nishimoto 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 include a wo...

Want to stay in touch with what's going on? Follow us on twitter!