3D game graphics engine design

Author
FuHao
Advisor
LiuNaiZuo
School
University of Electronic Science and Technology
Major
Applied Computer Technology
Classification
TP391.41 Image recognition device
Degree
Master's thesis
Year
2006
Downloads
660
Citations
3

Request the full text

Abstract

Digital game is one of the fields which is most valuable and has potentials to develop in computer industry, it has high requirement in technology too. It represents the newest achievements of computer science in graph processing、 network communication 、 real-time computing and artificial intelligence. Because of the popularity of digital game and the great profit, capital and technique have increased rapidly in this field from its birth, and this trend is still continuing. 3D games are current of digital game, they challenge much when they present the real world. The key point to implement 3D game is game engine, and graphic engine is one of the most important modules.This paper establishes an entire 3D game graphic engine Trial3D based on analyzing 3D game engine’s architecture and process.Trial3D makes triangles as the basic units to process, it can receive and process popular Quakell model and WorldCraft level, render and process static 、 mobile scenes inside and outside, support multi-types light, Gouraud shading, modified perspective texture mapping and collision detection. Trial3D takes the following techniques to achieve higher render velocity and frame frequency: To inside scenes, BSP tree is used with scan line technique to make no-repaint come true, and the former is also been used to cull polygons and detect collision in world space; to outside scene, partition arithmetic and OSP tree are used to cull object in world space and detect collision; Culling and hiding-side eliminating is realized in world space; space and pixel cutting are both realized. Besides, 1/z buffer is used to substituted z buffer to realize correct depth buffer and perspective texture mapping, this technique is also used to manage mobile scenes to make up the disadvantage coursed by BSP tree and OSP tree that only static scene can be managed. Affine texture mapping is used combined with perfect per modified perspective texture mapping, this make the texture real and get high efficiency.Trial3D is a rendering engine totally realized by software, in which all the space translation、 lighting、 texture mapping and rasterlization are realized through program. DirectX’s 2D graphic API and input API are used in it. It can be used in 3D games running on Windows.

Table of contents

Abstract 4-5 Abstract 5-7 directory 7-11 Introduction 11-16 <br / > 1.1 research background and significance the 11-12 1.2 research direction and the status quo 12-14 1.3 author 14 1.4 papers chapters arranged the 14-16 Chapter II 3D game engine architecture 16-20 2.1 Overview of the game engine 16 2.2 3D game engine architecture and related processes 16-20 Chapter 3D the Game graphics engine Trial3D the overall design and support 20-45 3.1 module structure 20 - 22 3.2 3D mathematical 22-30 3.2.1 coordinate system and matrix transformations the 22-25 coordinate conversion 3.2.2 25-26 3.2.3 mathematical engine module 26-30 3.3 3D process design and optimization 30-37 3.3.1 3D conversion process 30 3.3.2 choice of control methods and algorithms to optimize the 30-36 3.3.3 full 3D conversion process 36-37 3.4 Trial3D of, basic data structure 37-42 organization between geometric objects 3.4.1 37-38 3.4.2 vertices, 38-39 3.4. 3 polygon 39 3.4.4 objects 39-40 3.4.5 rendering linked list node 40-41 3.4.6 camera 41-42 overall organization and structure of the 3.5 scene the input 42-43 3.6 file format and load tools 43-45 3.6.1 checkpoints 43 3.6.2 discrete model and animation 43-45 Chapter 3D renderer Design and Implementation 45-71 4.1 Excluding 45-47 4.1.1 objects removed 4.1.2 polygonal, 45-47 excluded 47 4.2 space cropped 47 -50 4.2.1 Algorithm Description the 47-48 4.2.2 function processing flow 48 4.2.3 technical details 48-50 < br /> 4.3 on the back to eliminate 50-51 4.3.1 Algorithm Description 50-51 4.3.2 technical details 51 4.4 dynamic objects depth sorting 51-54 4.4.1 problems introduced 51-52 4.4.2 Algorithm design 52-53 4.4. 3 function description 53-54 4.5 the depth buffer 54-59 4.5.1 introduced and algorithms described 54-55 4.5. the function handles process the 55-56 4.5.3 technical details and the algorithm first optimization 56-58 4.5.4 z buffer exists and 1 / z buffer 58 4.5.5 1 / z buffer second algorithm optimization 58-59 4.6 illumination and coloring 59-65 4.6.1 Overview 59 4.6.2 basic data structure the 59-61 4.6.3 algorithms and functions handling process 61-65 4.6 nbsp a .4 technical details; 65 4.7 texture mapping 65-68 4.7.1 Overview 65-66 4.7.2 mixed texture mapping algorithm and function processing flow 66 4.7.3 technical details the 66-68 4.8 pixel clipping and rasterization 68-71 4.8.1 Basic principle and algorithms described 68 4.8.2 function processing flow 68-70 4.8.3 Technical details 70-71 Chapter Design and Implementation of the Scene Manager 71-84 5.1 indoor scene management 71-78 5.1.1 indoor scene management and the introduction of the BSP tree 71 < br /> 5.1.2 BSP tree generated with the 5.1.3 BSP tree traversal 71-75 75 5.1.4 BSP tree and scan line technology to achieve zero weight painted the 75-76 5.1.5 BSP tree polygon culling and collision detection 76-77 5.1.6 combine 1 / z buffer dynamic object management 77-78 5.2 outdoor scene management the 78-84 5.2.1 outdoor scenes management overview 78-80 5.2.2 the OSP tree generation 80-82 5.2.3 OSP tree in the world space polygon culling and collision detection 82-83 5.2.4 1 / z buffer to achieve outdoor static and dynamic the scene correct occlusion 83-84 Chapter paper summarizes and follow-up discussion 84-89 6.1 paper summarizes 84 6.2 multiple texture and bump mapping 84-85 6.3 shadow 85-86 6.4 billboard technology 86 6.5 particle system 86 < br /> 6.6 MipMapping and trilinear texture filtering 86-89 6.6.1 bilinear texture filtering 86-87 6.6.2 MipMapping 87 < br /> 6.6.3 Trilinear filtering 87-89 Acknowledgements to References 89-90 90-91 attack Shuo which obtained during research 91

Related dissertations

  1. 3D Game Engine Research and Implementation
    JiangFeng ·Zhejiang University ·2005 ·Master's thesis
  2. Groups of autonomous agents in the animation behavior control
  3. Design and Implementation of Hot Rolling Simulation Platform Based on Computer Simulation Technology
  4. Parallel distributed processing and application in rendering based on
  5. A CMOS Vision Sensor Based on Address Event Representation
    YuZuo ·Tianjin University ·2012 ·Master's thesis
  6. Research on Production Efficiency Promotion of A Enterprise Based on TOC Theory
    LiuYanJun ·Hebei University of Technology ·2012 ·Master's thesis
  7. Research and Implementation of Embedded Browser Layout Rendering Engine
  8. The Research and Implementation of WebGL Based3D Graphics Engine
    FangQiang ·Anhui University ·2013 ·Master's thesis
  9. The GPU real-time image anti aliasing algorithm design and Implementation Based on
    WangYiChen ·Fudan University ·2012 ·Master's thesis
  10. Research and Implementation of Realistic Water Effect
    LiQiaoYu ·Shandong University ·2012 ·Master's thesis
  11. Design and Implementation of a3D Engine Based on Flash
    WanXiaoLong ·Sun Yat-sen University ·2013 ·Master's thesis
  12. Construction of remote rendering platform of Web application system
    WangJing ·Fudan University ·2011 ·Master's thesis
  13. Design and Implementation of the3D Engine Based on Android System
    WeiWenHui ·Wuhan University of Technology ·2012 ·Master's thesis
  14. Research on General Purpose GPU Computing Technology in the High Performance Computing Platform
    ShenYuLin ·Lanzhou University ·2012 ·Master's thesis
  15. The Research for Huaqing Auto Parts Limited Company’s Administration of Manufacturing Changes
    GuMing ·Hunan University ·2010 ·Master's thesis
  16. Research on Key Techniques of Three-Dimensional Simulation in Mars Exploration
  17. The Study of Mechanical Processing Desktop Virtual Reality System
    WangGuangKuo ·Chongqing University ·2013 ·Master's thesis
  18. Application Research of Industrial Engineering in a Garment Company
    LiBin ·Zhejiang University of Technology ·2009 ·Master's thesis
  19. Research on Virtual Reality of Living Environment of Planting Ginseng under Forest
    DongZuo ·Jilin University ·2008 ·Master's thesis
  20. Automatic Placement of the Labels on the Vectorgraphs
    WangFengMin ·Dalian University of Technology ·2008 ·Master's thesis