Design and Implementation of 3D Game Engine
- Author
- RuanFuChu
- Advisor
- HuangHaiYu
- School
- Southwest Jiaotong University
- Major
- Applied Computer Technology
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2010
- Downloads
- 381
- Citations
- 4
Abstract
3D Game Engine is the main technology in the process of development of 3D Game, it fully uses of the various computer’s hardware and software resource to enable the 3D Game design to become more fast and efficient. Because of the use of Game Engine, game developer just need to focus on the realization of game logic, while simulation of the game world are given to the Game Engine, so the Game Engine can reduce the cost of game development. At the same time, the Game Engine Develop is not only the best way to improve skills of game development, but also is the necessary steps to design the game, therefore it is of significance.The whole system is designed and realized in the Object-Oriented Programming method, it has divided into five function modules:The Engine Control, the Graphics Process, the Resource Management, the Input Device Management, and the Scene Elements. The part of The Engine Control is responsible for the initialization of the engine, internal management, and recycling. It is not only the user entrance, but also to manage other sub-modules. The part of the Graphics Process is in charge of the process of all the 3D graphics and 2D pictures of 3D Games. In order to manage a lot of primitive in high efficient, this article has deeply researched the structure of computer hardware, and packed the data, so that make them be well fit for the process of computer hardware. The Resource Management function provided by the engine has classfied the resources and managed them, so the user can use easily manage the resource in the process of development. As well as, many games need to quickly give a response to what the players input, but the traditional input management based on Windows message mechanism can not make it. So the engine uses the DirectX DInpute component to realize the quick respone to what the players input. At last according to the real requirement and based on the functions which are finished before, the engine has realized the relativel elements about outside environment in the relative theory of the simulating of outside environment, such as outside terrain, sky, water and other natural elements, which has enriched the functions of the engine.This article is based on the current research condition of both home and abroad 3D Game Engine, has deeply researched the relative skills and theories of the developing process of 3D Game Engine. In the part of whole design, this article firstly has described the function requirement of the 3D Game Engine, and has divided the function modules of the whole system, meanwhile has described in detail the specific function of these modules. In the part of thorough design, this article has separately described the specific realization of each function module. After the design part, this article has demonstrated how to deploy the environment need by the engine and how to use the engine with an application example. At last this article has summarized all what this article has done, illustrated the problems in the design process and places to be improved in the future.
Table of contents
Summary 6-7
Abstract 7-12
Chapter 1 Introduction 12-15
1.1 research background and current situation at home and abroad 12-13
1.1.1 What is a game engine 12
1.1.2 current research 12-13
1.2 research significance main issues 13-14
1.3 topics addressed organizational structure 14
1.4 papers 14-15
Chapter 2 theory and technology 15-25
2.1 3D graphics processing pipeline 15-21
Principia Mathematica 2.1.1 3D graphics pipeline 15-20
2.1.2 3D rendering fixed pipeline 20-21
2.2 LOD technology 21-22
2.3 DirectX technology 22-24
2.3.1 What is DirectX 22-23
2.3.2 DirectX component description 23
2.3.3 DirectX9.0 resource management 23-24
2.4 X document describes nbsp.; 24-25
Chapter 3 engine overall design 25-44
3.1 system functional requirements 25
3.2 system Architecture 25-26 < br /> 3.3 data processing 26-27
3.4 engine controller design 27
3.5 graphical management module design 27-33
3.5. a functional description 27
3.5.2 organizational Structure 27-31
3.5.3 External Interface 31
3.5.4 data structure Description 31-32
principle 3.5.5 algorithms 32-33
3.6 resource Management module design 33-36
3.6.1 Description 33-34
3.6.2 organizational Structure 34-35
3.6.3 External Interface 35
3.6.4 data structure Description 35 - 36
3.7 input Manager module design 36-39
3.7.1 Description 36
3.7.2 organizational Structure 36-37 <br / > 3.7.3 External Interface 37
3.7.4 data structure Description 37-38
3.7.5 algorithms principle 38-39
3.8 scene elements module design 39-42
3.8.1 Description 39-40
3.8.2 organizational structure 40-41
3.8.3 external interface 41
3.8.4 data structure Description 41
3.8.5 principles related algorithms 41-42
3.9 engine log 42-43
3.10 Summary 43-44
Chapter 4 engine detailed design 44-81
4.1 engine controller 44-45 initialization
4.1.1 engine 44
4.1.2 maintenance manager interface 44-45
recycling 4.1.3 engine 45
4.2 graphical management module 45-57
4.2.1 renderer 45-51
management 4.2.2 vertex geometry data 51-56
4.2.3 camera management 56-57
4.3 resource Management module 57-66
4.3.1 material, texture resource management 57 - 61
4.3.2 model resource management 61-66
4.4 input management module 66-72
4.4.1 input module Manager implementations achieve 66
4.4.2 input devices 66-70
4.4.3 scene picked up the mouse to achieve 70-72
scene elements to achieve 4.5 achieve 72-80
4.5.1 outdoor terrain 72-76
4.5.2 sky realization 76-77
4.5.3 water realization achieve 77
4.5.4 particle system 77-80
4.6 Summary 80-81
Chapter 5 engine use and functional test 81-85
5.1 instructions for use 81-83
5.1.1 DirectX-based development environment set 81-82
5.1.2 RTEngine function documented 82
5.1.3 use RTEngine build 3D game development environment 82-83
5.2 functional Test 83-85
5.2. a basic functional test 83-84
5.2.2 scenario Editor based RTEngine introduced 84-85
conclusion 85-86
Thanks 86-87
References defined in Appendix 1 87-90
related graphics processing module interfaces and data structures 90-98
resources to deal with Appendix 2 definition module related interfaces and data structures defined 98-102
Appendix 3 input management module related interfaces and data structures 102-104
Appendix 4 scene elements in the module interfaces and define data structures 104-109
pursuing a master's degree theses published 109-110
Related dissertations
- Design and Implementation of Field Battle Scene of3D Game
- Research and Development of "Virus Killing" Demonstration System Based on Vision
- Sound Source Localization Virtual Roaming System Based on Directx
- Design and Implementation of Flight Game Based on Android Platform
- Android3D Game Engine Development
- The Design and Implementation of the Android-based3D Game Lost One Way in the Star Sky
- Design and Implementation of Virtual Campus Roaming System
- Tree-dimensional Modeling Based on DirectX
- Design and Implementation of3D Game Based on the Irrlicht Engine
- Design and Implementation of Smoke Particle System
- Virtual Reality Technique Based3D View of the Surface Pressure under Wind Tunnel Model
- Design and Implementation of the Computer Room Assisted Instruction System Based on the Screen Copy Technology
- Design and Implementation of the3D Online Game Engine
- Fusion Research for Scene of Online3D Video Conference System
- Desing and Implementation of Network-Based Large Tiled Display System
- Research and Development of Virtual Display Technology for Vehicle Braking Stability
- Design and Implementation of UAV Path Planning Simulation System via Directx
- Design and Implementation of the Dynamic Monitor Display Editor System by Process Industry Monitor Platform
- The Research and Implementation of Terrain Merging Based on 3D Mesh
- Numerical Simulation Software Development in C# on Three-Dimensional Temperature Field of Casting Solidification Process