Order Independent Transparency in OpenGL

Author
WuZuoHeng
Advisor
WenGuiHua , FengTao
School
South China University of Technology
Major
Computer technology
Classification
TP391.41 Image recognition device
Degree
Master's thesis
Year
2012
Downloads
25
Citations
0

Request the full text

Abstract

This article uses OpenGL and its GPU to implement order independent transparency.OpenGL stands for Open Graphics Library, it’s a cross-language, multi-platform API, and dueto these, it’s widely used in high performance graphics develop and interactive visualsimulation, especially in game development area. With the improvement of GPU and itspowerful concurrency feature, it also becomes more and more important in data processingarea.With the development of visualization technology and computer technology, the applicationof visualized technology limits to expand ceaselessly, many areas are increasingly dependenton the visualization technology, such as automobile industry, machinery manufacturing,scientific research field. In recent years, OpenGL improves rapidly, all kinds of technologyusing GPU emerge in an endless stream. As GPU being used in mobile phone, handheld gamedevice and game machine field, GPU professional knowledge in today’s competitiveenvironment appears more and more important. And order independent transparencyrendering (Order Independent Transparency) is one of the hot technologies.Transparency is an important rendering effect, it can significantly improve the reality of sceneand visualization system efficiency. For special translucent processing, in practicalapplications, such as games, are mostly adopted simulation way, which is only simulation,rather than correct rendering with high cost. The main reason is the correct rendering of highcost, low efficiency, and high complexity. These greatly restrict the algorithm’s application.However, as the hardware graphics chip performance upgrades, the domain will expandgradually, in a real-time system using a fully correct transparency rendering would becomepossible.With the improvement of GPU (Graphic Processing Unit) and programmable graphicsprocessor, a variety of rendering translucent object algorithm also appear, such astransparency rendering by CPU based sorting, depth peeling, dual depth peeling, weightedsum, weighted average, and GPU based sorting. Here we will discuss and implement dualdepth peeling algorithm.Before talking about dual depth peeling, first of all we have to explain depth peeling, becausedual depth peeling is based on depth peeling algorithm. Depth peeling is a robust solution tothe fragment sorting problem which renders the transparent objects multiple times, peelingone layer of fragments every time by the distance from the observer (Camera), from nearestto furthest, and then blend all the layers in correct order to get the final result. The major drawback of it is that it requires one geometry pass per peeled layer. Thus, to capture all thefragments of a scene of depth complexity N, depth peeling requires N geometry passes. Dualdepth peeling improves this algorithm, reduces the number of geometry passes from N toN/2+1by applying the depth peeling method from the front and from the back simultaneously.And in the best case, it can be nearly2times faster.

Table of contents

Summary 5-6 Abstract 6-9 introduction 9-11 The first chapter describes the problem 11-19 1.1 depth buffer 11-13 1.2 painters algorithm 13-14 1.3 -weighted average algorithm (Weighted Average) 14-15 <br / > 1.4 depth peeling algorithm (Depth Peeling) 15-16 1.5 double depth peeling algorithm (Dual Depth Peeling) 16-17 1.6 Why use double depth peeling algorithm 17-18 1.7 Summary 18-19 The second chapter describes the background knowledge 19-38 2.1 OpenGL Introduction 19-26 2.1.1 OpenGL is a state machine 20 2.1.2 OpenGL rendering pipeline 20-24 2.1.3 associated with the OpenGL library 24-26 2.2 GPU and shader language GLSL 26-31 2.2.1 GLSL About 26-29 2.2.2 establish a coloring program (Creating a shader) 29-30 2.2.3 write a shader program 30-31 2.3 off-screen rendering (Off Screen Rendering) 31 - 37 2.3.1 multiple render targets (Multiple Render Target, abbreviated as MRT) 32 2.3.2 frame Buffer object (Framebuffer Object, abbreviated as FBO) 32-35 2.3.3 floating point texture object 35-36 2.3.4 occlusion test 36-37 2.4 Summary 37-38 <br / > The third chapter describes the algorithm 38-45 3.1双depth peeling 38-40 3.2 lower hybrid equation 40 3.3 specific steps are as follows 40-44 3.4 Summary 44-45 Chapter IV implementation details 45-58 4.1 initialize the minimum - maximum depth 45 4.2 release - mixing stage 45-49 4.3 release layer to merge the two results 49-50 4.4 offscreen rendering 50-51 4.5 major rendering algorithm 51-52 build a framework for the establishment and rendering 4.6 main window 52-55 4.7 functions and procedures Screenshot 55-57 4.8 Summary 57-58 fifth chapter the role played by the actual application and 58-61 conclusion 61-62 References made ??during 62-64 master's degree research 64-65 Thanks 65-66 accessories 66

Related dissertations

  1. On the Transparency of Government Auditing of Our Country
  2. The Research on the Signal of Monetary Policy and the Management of Monetary Policy Expectations
    PengCheng ·Anhui University ·2014 ·Master's thesis
  3. County-level Local Government Debt Risk and Its Prevention
    WuMin ·Hunan Agricultural University ·2013 ·Master's thesis
  4. Research on Better Land Transaction Transparency Based on Workflow Technology
    ChengBingBing ·Chang'an University ·2013 ·Master's thesis
  5. The Sino-American Comparative Study of Transparency on the Third Income Distribution
    QuGuoLi ·Northeast Normal University ·2013 ·Doctoral dissertation
  6. Media, Transparency&Media-transparency
    LiGuanHua ·Dalian Polytechnic University ·2013 ·Master's thesis
  7. Software Design of a Certain Experience Platform Multi-parameter Monitoring System
    BaiZuoZuo ·University of North ·2014 ·Master's thesis
  8. Research and Design for the Simulator and Offline-programme System of Transfer Robot Based on OPENGL
  9. A Professional Technology Institute Virtual Design and Realization of the System
  10. Particle Systems’ Applied and Achieved in the Virtual Environment
  11. Design and Implement of Visual Simulation System Based on OpenGL for Rehabilitation Training
  12. The Control Based on the Brain Computer Interface and Research of Virtual Scene Application
    ZhangZuoLin ·Harbin Engineering University ·2013 ·Master's thesis
  13. Natural Landscape Simulation Research Based on Particle System
  14. Research and Application of Vector Visualization Method Based on OpenGL
    LiHaiJie ·Northeastern University ·2013 ·Master's thesis
  15. The Unified Data Model of the Single and Multiple Z Value of Geological Bodies and3D Visualization、Spatial Analysis Research
  16. The Application and Research of Three-Dimensional Reconstruction Technology Based on Opengl in Medical Image System
    LuZuo ·Zhejiang University of Technology ·2013 ·Master's thesis
  17. Based on the Embedded System OpenGL Anti-aliasing Technology Research and Application
  18. Implementation of3D Graphics Modeling and Displaying Based on OpenGL on the Android Platform
    DuHongYan ·Harbin Institute of Technology ·2012 ·Master's thesis
  19. The Design and Implementation of a Network Communication Game on Linux
    PangTianCong ·Beijing Jiaotong University ·2014 ·Master's thesis
  20. Design and Research of3D Visualization Microcomputer Interface of Virtual Experimental System
    ChenYing ·Guangxi University ·2012 ·Master's thesis