Microsoft DirectX 8.1 (C++) |
DirectX Graphics C/C++ Tutorials
The tutorials in this section show how to use Microsoft® Direct3D® and Direct3DX in a C/C++ application for common tasks. The tasks are divided into required steps. In some cases, steps are organized into substeps for clarity.
The following tutorials are provided.
- Tutorial 1: Creating a Device
- Tutorial 2: Rendering Vertices
- Tutorial 3: Using Matrices
- Tutorial 4: Creating and Using Lights
- Tutorial 5: Using Texture Maps
- Tutorial 6: Using Meshes
Note The sample code in these tutorials is from source projects whose location is provided in each tutorial.
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 Microsoft Platform Software Development Kit (SDK). Changes are made for brevity only and are limited to comments to avoid changing the behavior of the sample code.