3D Game Engine Design and Implementation (1)
When you write this title, you think: Is it possible to achieve it? Now I have learned and practical attitude, as long as I work hard, I will definitely be harvested. If you say, you will start writing your own idea first, because there is a purpose, never fighting unprecedented.
Before conducting this project, you will definitely learn what COMPUTER Graphics is a computer image. It is different from image processing because it is how to generate an image, while the image processing main image compression storage, etc. In addition to this, learn a little linear algebra and space analysis geometry. After these foundations, you can take a look at DirectX examples, see what is 3D, how to express 3D objects in your computer, of course, to understand complex illumination, also require physical knowledge.
I design this 3D game engine, mainly to achieve very simple features, the details of the details are now don't need to test, because the development process is iterative, it is impossible to develop a perfect engine for the first time, and it is impossible to complete. First choose the appropriate platform, development tools, and design general architecture. Here I choose mainly the Windows platform, and the 3D API selects DirectX, and OpenGL is not supported. Development tools use vs 2003.net Chinese version because it supports C reaches 98%, which can completely use C performance, object-oriented design, template mode reuse code. Architecture design uses a modular design that uses the COM mode DLL implementation, which can develop each module to achieve the maximum reuse of the code.
Now summarize what the goal is, as follows:
l Platform: Windows Platform
l 3D API: DirectX
l Development Tool: VS 2003.NET Chinese version
l Architecture: COM mode DLL
There are still many things that have not been thought of, waiting for further design.