This section contains a series of tutorials, each providing step-by-step instructions for implementing the basics of Direct3DŽ Immediate Mode in an application. The tutorials are written parallel to a set of sample files that are provided with this SDK in the \Samples\Multimedia\D3DIM\Tutorials directory, following their code path and providing explanations along the way. Readers are encouraged to follow along in the sample code as they move through these tutorials.
The tutorials in this section show how to use Direct3D for common tasks by dividing those tasks into required steps. In some cases, steps are organized into substeps for clarity. The following tutorials are presented here:
Note The sample files in these tutorials are written in C++. If you are using a C compiler, you must make the appropriate changes to the files for them to successfully compile. At the very least, you need to add the vtable and this pointers to the interface methods.
Some comments in the included sample code might differ from the source files in the SDK. Changes are made for brevity only, and are limited to comments to avoid changing the behavior of the code.