DirectX Graphical Interface Guide (1)

zhaozj2021-02-08  230

The translator stated that these guidelines were gradually translated in the DirectX8.1 SDK. This should be good to get your information for the programmer of the first time contact DirectX Graphics. In fact, I have begun to Direct3D8.1 from these guidelines; because this is the first translation of English materials, the words are not good, the words are not intended, some terms are also very reluctant, please forgive me. In addition, you need to reprint this article, keep the following parts: ----------------------------------- --------------------------------- DirectX Graphic Interface Guide Translator: In355Hz Email: In355Hz@hotmail.com -------------------------------------------------- --------------------- DirectX Graphics Interface Guide: (Applicable to DirectX 8.1 C / C Programming)

The guidelines of this region will explain how to complete some normal work using Microsoft Direct3D and Direct3DX in the C / C program. These work are always broken down into several necessary steps. In some cases, in order to make the expression more clear, some steps are also subjected to several sub-steps.

The guidelines provided in this region are:

· Guide 1: Create a device

· Guide 2: Demonstration vertices

· Guide 3: Use matrix

· Guide 4: Create and use light source

· Guide 5: Use texture mapping

· Guide 6: Using the Mesh Model

Tip: The sample code that appears in the guide comes from the source files in the path provided by each guide.

The source code in these guidelines is written in C . If you use a C compiler, you must change these files to make them compile. At least, you need to add VTABLE and use it to reference the interface function.

Some of the annotations included in the sample code may differ from the source code from the Microsoft Platform Software Development Kit (SDK). These changes are only to simplify the expression and are limited to the annotation, which prevents behavior of the sample program from being changed. (See the second part of this article 1: Create a device)

转载请注明原文地址:https://www.9cbs.com/read-2844.html

New Post(0)