DirectX/10.0/Direct3D

Goals
This book will teach you to use Direct3D, covering various topics such as lighting, normal mapping, texturing and more.

Requirements
The DirectX 10 tutorials are written using C++ with HLSL and use shader version 4.0 and 5.0. Please ensure that your hardware can support these. Running on software mode has some problems, especially being terribly, horribly slow.

Before writing any graphics code we'll need to have the tools to do so. The first of these tools is a compiler that is preferably built into a nice IDE. The one I use and will be supplying project files for is Visual Studio 2010. There are several others available and some are even free off the net. I'll leave that up to you to decide which one you prefer.

The second tool you will need is the DirectX SDK. It can be downloaded from Microsoft's website for free. After downloading and installing the SDK you will have the files necessary to compile DirectX programs. You will also notice it comes with samples, tools, and documentation. The documentation is pretty good, it also has some very simple examples under the DirectX 10 tutorials section which also applies to DirectX 11. The tools that come with it are also useful, we'll be using the DDS texture tool quite often. The sample browser also provides some simple examples to achieve certain effects you may be looking to do. The samples will generally also have some of the new features of the latest SDK demonstrated.

The June 2010 SDK can be downloaded at: http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=6812

With both installed you can now setup your IDE to work with the DirectX 11 SDK. Please note that some IDEs will need to be installed first before installing the DirectX SDK.

Credits
This book is a copy of Craig's work at http://rastertek.com/. All credit shall go to him. He's putting some hard work into this.