3D Rendering with Direct3D

Once you know how to initialise Direct3D you are ready to start creating 3D worlds. There are quite a large number of things that need looking at. This section contains a number of notes on these.

Note that there is a demo application with source code showing off a working Direct3D application here: Cube Demo

Notes Index

Z Buffer- the depth buffer

Matrices - the matrices used by Direct3D

Lighting - the lights used by Direct3D

Rendering Primitives - drawing things!

Effects files - notes on using effect files (.fx)

3D Models - notes on rendering 3D models (X files)

OpenGL and Direct3D Axis Differences

Note: OpenGL and Direct3D vary in the axis system. In Direct3D x is right, y up and z in, like this.

© 2004-2016 Keith Ditchburn