Design and Development of Simple Game Engine
- Author
- WangZuo
- Advisor
- ShenZuoJing
- School
- Jilin University
- Major
- Software Engineering
- Classification
- TP391.41 Image recognition device
- Degree
- Master's thesis
- Year
- 2012
- Downloads
- 209
- Citations
- 0
Abstract
The game engine is the core component of interactive applications for real-time image ofthe game, is the soul of the game, the game industry’s core technology. Game engine directlycontrol the content of the games including plot, checkpoints, art, music, operation, bundledwith all the elements in the game, so to be able to synchronize, and orderly conduct of thework. In short, the game engine is the control of the main routine of the game function, fromthe calculation of game system environment; physical collisions and game object relativeposition, to control volume for the game and the display, and the acceptance of the player’sinput.The study showed that the game engine marks the level of a business or even a game.Whether a country has a versatile and powerful game engine marks the entire game industrylevel. At the same time, the progress of the game engine drives a lot of game-related industry.The game engine can be independent of the specific development of the game, before thegame developed. Then, game developers will be able to more realistic and complex virtualworld built through the underlying interface. A common engine, not only can embark oncommercial road, provide a profit for the R&D team, the same time, the buyer can reduce theconsumption of secondary development, increasing the efficiency of game production.Throughout the game industry abroad, take the famous Universal game engine unreal intoday’s game industry’s reputation has been described its glory; ID Software company willvirtual reality technology applications in the game engine, developed based on ID Tech4engine "Ray the on Hammer4"and" Doom3", a large-scale game scene rendering, greatlyenhance the realism of the game, the game the effects elevated to an unprecedented height;South Korean government is to pay large sums of money to hire professional integration offoreign advanced game engine, and integrate a good game engine for the domestic gamedevelopers to use its direct benefit is the game industry for South Korea’s economy hasbrought a lot of foreign exchange earnings.On the other hand, the domestic game industry in China started late, the level is relativelybackward, the basis of technical reserves and the level of R&D is a huge number of gamesbehind the relatively poor quality of the game, the prevalence of the phenomenon of "cottage"It is a big gap between the foreign, most outdated game engine provided by third parties abroad, only individual companies have proprietary game engine, which embodies the falseprosperity at this stage, the game industry in China.The game engine associated with the industry in performance is becoming more and morein today’s game industry. It is part of the essential core game development, thus, its versatility,portability, reusability; totally affect the quality of the good or bad of the game. In thisenvironment, especially in China, a generic game engine to fill the vacancies of independentresearch and development. At the same time, you can highlight the technical level of the gameindustry in China.With the development of2D,3D game, the endless variety of games, real-time strategygames, martial arts shooter, role-playing games, adventure maze game, but also promote thedevelopment of the game engine. Today, the game engine has been developed into a complexsystem by multiple subsystems work together to complete, including the game modeling,rendering engines, artificial intelligence, animation, sound, scripting engine, physics engine,network engine, scene management, document management, data management, and manyother content, covering the whole process of game development.In this paper, the analysis of the functional framework and design flow of the gameengine, in-depth study of some of the basic functions of the game engine, to take advantage oftoday’s very popular Microsoft DirectX developers to build a simple game engine based onDirectX, consists of three main modules:1, Rendering Module:Rendering described molding work the secondary details beautification processing.Rendering game engine technology, including imaging almost all of the work. The game as avideo entertainment technology, the feelings of the visual to the user must be critical. In otherwords, a game is good or bad to the player’s first impression is the screen, and they arerendering technology decision. Therefore, render the very core part of the game engine, it’sgood or bad, a direct impact on the success of the last game.Text rendering module designed primarily about lighting and rendering, texturing,particle systems.2, Physical Collision Module:Collision system is to study how to determine the two objects collided technology, whena geometry occupy the same virtual space of another geometry when a collision occurs. Whentalking about the need to detect collisions between objects will collide into real reaction froma mathematical point of view, it will increase the realism for the program. Prevent an objectthrough another object, or prevent the geometry of objects through the scene and create. Between the objects pass through each other, or objects through the environment, it is verydifficult to create the need for interactive processing of objects.This article mainly deal with the collision detection in the physical system.3, Animation Loading Module:Animation loading is read from external files, loaded into memory processing technology,the emergence of this technology is to achieve the engineering and commercialization of theengine. Frequent changes part separated from the dead-write program code and made themmore conducive to the part of the editing process. In this way, the people in charge of this partcan no longer simply programmers, they can be the artists, special effects, and planners.Meanwhile, after the release of a program, developers can simply change these parts withouthaving to re-altered the entire client, so that to achieve the scalability of the project.Here, animation loaded module models, animation and scripting system load relatedconducive to expansion and improve efficiency.Response to these modules, respectively, from its principle, structure, algorithm depthdiscussion on each module using DirectX designed to achieve, and finally, gives concreterealization effect diagram.
Table of contents
Summary 4-7
Abstract 7-12
Chapter 1 Introduction proposed 12-16
1.1 issues 12-13
1.2 research status purpose and significance of the study 13-14
1.3 structure 14
1.4 article 14-16
Chapter 2 game engine architecture 16-21
2.1 game engine overall framework 16
2.2 game engine design process 16-17
2.3 tools and technology 17-19
2.3.1 vectors and computing 17-18
2.3.2 DirectX 18-19
2.3.3 COM 19
2.4 game WINDOWS programming 19-21
Chapter 3 rendering module 21-33
3.1 lighting subsystem 21-24
3.1.1 source and light structure 22-23
3.1.2 reflective material structure 23-24
3.1.3 illumination algorithm 24
3.2 texture subsystem 24-28
3.2.1 textures create 25-26
3.2.2 The implementation details of texture 26-28
3.3 effects subsystem 28-30
3.3.1 antialiasing 29
3.3.2 fog 29-30 <br / > 3.4 particle subsystem 30-33
Chapter 4 animations load modules 33-42
4.1 load model 33-35
4.2 model animation 35-38
4.2.1 skeletal animation 36-37
4.2.2 animation path 37-38
4.3 scripting system 38-42
4.3.1 properties scripting system 39-40
4.3.2 command script system 40-42
Chapter 5 collision detection module 42-45
5.1 bounding box collision test method 42-43
5.2 boundaries touch the ball measuring method 43-45
Chapter 6, system testing and implementation 45-51
6.1 system test 45
6.2 system implementation 45-51
6.2.1 illumination achieve 46 <br / > 6.2.2 texture realize special effects to achieve 46-47
6.2.3 particles achieve 47-48
6.2.4 rendering of 48-49
6.2.5 animation effects to achieve 49
6.2.6 properties scripts and command scripts 49-50
6.2.7 collision detection 50-51
Chapter 7 summarizes 51-52
References 52-53
Thanks 53
Related dissertations
- Object-oriented Software Construction for Game Engine
- Study and Realization of Some Key Technologies in Engine for Network Game
- Construction of Over the Counter Bulletin Board Based Onanglo-American Market Positioning and Characteristics
- Research on the Expansion of Governmental Financial Reporting under the Public Performance Management Framework
- Study on Application of Lean Production Theory in Large Polymer Battery New Line of LS Company
- Research on Program Form of Reality Television in China-from2001to2011
- Collision Dynamics Modeling and Impedance Control of Two-link Manipulator
- The Research of Virtual Reality for3D Scene Simulation Technology Based on Vega/VP
- Research on Real-time Rendering of Multi-resolution Terrain Features
- The Application of RFID Technology in Library
- A Study of High Dynamic Range Images Rendition on Displays
- The Designment and Realization of Small2D Game Engine
- Design and Presentation of "Minnan Tour of Fighting Against Transgenosis" Mobile Game
- Design and Implementation of Multi-user Collaboration Network Training Platform Based on Virtools
- The Design and Implementation of Office Automation System for Same Company
- The Design and Implementation of the Intelligent Cluster Rendering System
- The Design and Implementation of University Computer Lab Management System
- Study of Collision Problems in Random Access Process of LTE System
- The Research on Planning in CDMA Wireless Network Optimization and Construction
- On the civil judgment of the objective scope of res judicata expansion