Font Size: a A A

Research And Implementation Of 3D Game Engine

Posted on:2012-12-09Degree:MasterType:Thesis
Country:ChinaCandidate:H ChenFull Text:PDF
GTID:2178330335952867Subject:Computer Science and Technology
Abstract/Summary:PDF Full Text Request
In recent years, with the rapid development of domestic and international game industry, a variety of new game modes have been emerged. In addition, as the game industry is becoming more competitive, game studios often suffer overwhelmed pressure arranging from quality assurance, project deadlines and respond to demand changes, so the game engine and the corresponding asset pipeline should fully support the whole process of game production. This thesis describes the development tendency of the current game industry, and what is more, it describes the important role that game engine plays in the game development. Then, according to the current research status, the body of this thesis gives some detailed comments on the research and architecture of the 3D game engine.Through research and design, the 3D game engine encapsulates some useful low-level API, wraps some graphics interfaces, implements the resource manager, the engine architecture based on multi-core platform, the hierarchical graphics subsystem, the basic script system and the runtime game object model which resides in the application layer. At the same time, the 3D game engine has made full use of data-driven framework, making the engine more flexible and effective in their support for game production process. The topics of research and innovation are mainly reflected in the following aspects:1) The memory alignment technique has been designed to improve memory access speed. Through the statistics on the different memory usage models that used in the whole game engine, a mechanism that creating a new heap for each mode has been designed to maintain cache coherence. At last, memory pool technique has been described for its potential on minimization of memory fragments.2) To facilitate the bug tracking and debugging in software, we implement a suite of related debugging strategies for different kind of components in game engine, and the feature to output the debugging information to the appropriate output target, and the functionality to write dump files as application crashed which provides an opportunity to recreate last memory layout eventually. In addition, the debugging system also supports a variety of debugging facilities to draw lines, text and simple model to aid debugging visualization of the graphics subsystem.3) The 3D game engine architecture based on multi-core platform has been implemented, by making the input-output system, graphics subsystems, audio systems, and the game loop into different threads. Message mechanism has been utilized to do communication between different threads, to reduce coupling between modules, which makes it possible to invoke some part of the functionalities asynchronously.4) We implement a runtime game object model for application layer of game engine, which is component-centric instead of object-centric. As message mechanism has some nice characteristics, we utilize it to support the various communications between game objects without too much coupling.Finally, the content of the study was summarized and future research directions are proposed.
Keywords/Search Tags:Game Engine, Multi-core platform, Resource Management, Game Editor
PDF Full Text Request
Related items