Game Analysis, Debugging and Performance Optimization Based on Graphics Pipeline

Author
WeiXiaoChao
Advisor
PanZhiGeng
School
Zhejiang University
Major
Computer Applications
Classification
TP391.41 Image recognition device
Degree
Master's thesis
Year
2005
Downloads
114
Citations
2

Request the full text

Abstract

Nowadays, impelled by 3D application (especially PC games), real-time graphics technique is developed very fast. It has produced much impact in computer graphics, making real-time one of the most vital targets in performances of 3D application. However, along with increasing complexity of model and 3D scene, an even higher requirement in real-time performance is still the bottleneck of many application systems (such as VR and visual technique, etc.).The first part of this thesis is the introduction of game debugging and analysis toolkit, D3DWrapper. In this part, the software is described in detail on the way to intercept states of graphics pipeline and the process of geometric reconstruction. The second part of our research is about optimization based on graphics pipeline. In the thesis, the author discusses some acceleration algorithms and how to optimize the performance of graphics pipeline. Some algorithms are applied on the optimization of M3D library, a kind of graphics API on mobile platform, to improve real-time performance.At the beginning of this thesis, we will present software, D3DWrapper. The software can utilize the states obtained from graphics instruction to construct state machine representing graphics pipeline and resource map describing the memory allocation for graphics resource. With these data structures, the application can trace, debug or replay the process of 3D rendering. It can also be used in non-invasive editing of binary code and reconstruction of 3D model.On pipeline performance optimization, the author discusses the way to locate the performance bottleneck of graphics pipeline, and then various optimization techniques on different stages of the pipeline are recommended. At the end of this part, it is introduced the elements of vertex buffer and index buffer under hardware condition.On the acceleration algorithms, this thesis mainly introduces back face culling and clipping techniques which are usually used in geometric stage of graphics pipeline. We present early back face culling and early clipping techniques to cut off invalid data which may enter the lighting stage in order to improve the efficiency of geometric stage.

Table of contents

Abstract 3-4 Abstract 4-5 directory 5-7 Chapter 1 Introduction 7-19 <br / > 1.1 Introduction 7-8 1.2 rendering pipeline 8-16 1.2.1 pipeline Introduction 8-9 1.2.2 application phase 9-10 1.2.3 geometric phase 10-14 1.2.4 grating phase 14 - 16 1.3 rendering pipeline status interception and application 16-18 1.3.1 pipeline status interception 16-17 1.3. 2 drawing instruction interception application 17-18 1.4 organization of this thesis 18-19 Chapter pipeline-based tracking and debugging method 19 -32 2.1 interception instruction 19-24 2.1.1 OpenGL commands interception 21-22 2.1.2 Direct3D instructions interception 22-24 2.2 D3DWrapper software framework 24-26 2.3 instruction trace 26-27 2.4 data record 27-29 2.4.1 state machine application 27-28 2.4.2 resource map application 28-29 <br / > 2.5 draw playback 29-30 2.6 graphics applications debugging 30-31 2.7 Summary 31-32 < br /> the third chapter of the scene based on pipeline model analysis and reconstruction 32-38 3.1 Introduction 32 3.2 interception and management scene geometry information 32-34 3.3 scene geometry analysis of the relationship 34-35 3.4 three-dimensional model file export 35-37 3 0.5 Chapter Summary 37-38 Chapter pipeline performance optimization 38-47 4.1 Introduction 38-39 4.2 optimization of the application 39-42 4.3 geometry optimization stage 42-44 4.4 vertex and index buffers 44-46 4.5 Chapter Summary 46-47 Chapter geometric phase of accelerated rendering algorithm 47-58 5.1 reduction technology 47 -49 5.2 backface culling 49-51 5.3 early backface culling 51-55 5.4 early cone reduction 55-57 5.5 Chapter Summary 57-58 Chapter Summary and Outlook 58-59 References 59-62 < br /> Master of attack during the published and accepted papers 62-63 Appendix : experimental results color 63-66 Thanks 66

Related dissertations

  1. Heterogeneous Platform Research Based on Streamit Compiler
    WangBo ·Tsinghua University ·2011 ·Doctoral dissertation
  2. Research and implementation of real-time rendering technology, the role of large-scale groups in the 3D scene
  3. TilePro64 multicore processors based H.264 HD video decoding software design
    ChenJianJun ·Zhejiang University ·2012 ·Master's thesis