Design and Implementation of 3D Game Engine
- Author
- GeYaPing
- Advisor
- ZhaoZheng
- School
- Tianjin University
- Major
- Applied Computer Technology
- Classification
- TP391.3 Retrieval machine
- Degree
- Master's thesis
- Year
- 2009
- Downloads
- 128
- Citations
- 0
Abstract
The TGX Engine I am a self-developed game engine , the paper first introduces the term on the game engine , and then the main TGX engine overall framework and its core module design and analyzed in detail . The engine is a Windows and DirectX - based game engine, the main purpose for a small network games . Engine renderer, scene management , special effects , GUI , sound, animation, input , network modules . While still achieving some of the Demo to verify the effect of the corresponding function module . TGX engine uses a hierarchical and modular design principle , consists of four interfaces and two static library , consists of four main functional modules , each module uses an interface implemented by a DLL . The four main modules are the rendering system , input system, a sound system and a network system . Rendering system and network system uses a hierarchical design ideas to design, input and sound systems on the basis of the DirectX functionality provided a simple package . TGX engine include: modular design . Interface mode enables the definition and implementation of object separately , each interface can have multiple different implementations , but also can easily change the implementation of some of the modules . Layered architecture of the rendering system : optimized math libraries, flexible rendering the skin skeletal animation , multi- species GUI. Designed and implemented scene management the BSP structure of the interior scenes . Based on the the DirectInput input system and DirectSound - based three-dimensional sound . Designed and implemented WinSock - based network management . This paper first describes the basic concepts and design rules of the game engine , and then analyze the TGX engine architecture and its core module , and discussed the Design and Implementation of the core module .
Table of contents
Chinese Abstract 3-4
ABSTRACT 4-8
first chapter 8-15
1.1 Introduction 8 <br / > 1.2 game engine related concepts 8-11
1.2.1 game engine 8-9
1.2.2 3D engine 9
1.2.3 APIs VS 3D engine 9-10
1.2.4 OPENGL VS DIRECT3D 10
1.2.5 Direct3D features 10-11
1.3 abroad research 11-12
1.4 research value and significance 12
1.5 criteria 12-13
1.6 research 13 - 15
Chapter II game engine 's overall architecture 15-21
2.1 design Principles 15-16
2.2 technology infrastructure 16-17 <br / > 2.2.1 Interface (Interface) 16-17
2.2.2 dynamic Link library (DLL) and an import library (Lib) 17
2.3 engine structure 17-20
2.3.1 rendering system 19
2.3.2 input System 19
2.3.3 sound System 19 <br / > 2.3.4 network Systems 19-20
2.3.5 math library 20
2.3.6 logging system 20
2.4 Summary 20-21
Chapter rendering system 21-56
3.1 math Library 21-26
3.1.1 Overview 21-22
3.1.2 Euler angles and quaternion 22-23
3.1.3 collision Detection 23
3.1.4 speed optimization 23 - 24
3.1.5 implementation example 24-26
3.2 log system 26-28
3.2.1 Overview 26
3.2. 2 the importance of logging system 26-27
3.2.3 logging system to solve the problem 27
3.2.4 logging system to achieve a simple 27-28
3.3 renderer 28-38
3.3.1 Overview 28-29
3.3.2 light 29-34
3.3. 3 Material 34-35
3.3.4 texture 35
3.3.5 surface properties manager 35-36
3.3.6 vertex buffer District 36-37
3.3.7 camera 37-38
3.4 graphical user interface, 38-42
3.4.1 Overview 38-39
3.4.2 control base class TGXControl 39
3.4.3 text label TGXStatic 39-40
3.4.4 button control TGXButton 40
3.4.5 scroll bar control TGXScrollBar 40-41
3.4.6 text edit box TGXEditBox 41
3.4.7 listbox TGXListBox 41
3.4.8 slider TGXSlider 41-42
3.5 scene management 42-48
3.5.1 Overview 42-43
3.5.2 scenario management technology 43-46
3.5.3 BSP tree implementation 46-48
3.6 animation 48-56
3.6.1 animation Overview 48-49
3.6.2 skinned skeletal animation 49-53
3.6.3 model animation file types 53-56
Chapter IV input, sound and network systems 56-72
4.1 input System 56-62
4.1.1 Overview 56-58
4.1 .2 keyboard 58-60
4.1.3 mouse 60-62
4.2 sound system 62-67
4.2.1 Overview 62-63
4.2.2 DirectMusic processing music 63-64
4.2.3 DirectSound processing audio 64-65
4.2.4 3D sound implementation 65-67
4.3 network Systems 67-72
4.3.1 network game system 67-69
4.3.2 WinSock 69 -70
4.3.3 network Module design 70-72
Chapter Summary and Outlook 72-73
References 73-75 < br /> published papers and scientific information note 75-76
Thanks 76
Related dissertations
- Three-dimensional game engine design and implementation
- 3D mobile game engine framework and key technologies to achieve
- Object-oriented Software Construction for Game Engine
- The Research and Implement of Scene Rendering Techniques in 3D Game Engines
- The Research and Application of Multiplayer FPS Game Engine Based on DirectX9.0
- Design and Implementation of Action System in Motion Game Engine
- Design and Implementation of a Virtual Reality 3D Engine Based on XNA
- Research and Realization of the Key Technologies for 3D Mobile Phone Game Engine
- The Construction of Tourist Culture in A Web
- The Applied Research of Electronic Integrated Marketing Communication on Festival and Special Event
- Drivers of Sustainable Growth of International New Ventures
- Research on the Shareholding Control Mechanism of Corporation in the Network View
- Venture Capital Firms’Network and Investment Efficiency of Listed Companies
- M&A Synergistic Research Based on Network Perspective
- Study on the Problems and Countersmeasures of the Agricultural Informatization Construction in China
- Comparative study on Sino US network copyright protection system
- Cross-Straits Communication in Network Media Environment
- Negative word-of-mouth spread of network and the strategy of enterprises
- A Investigation on the Influence of Network on Print News Source
- Communication Analysis of Korea Drama’s Popularity in China