Fast Rendering of Free-Form Surface on GPU
- Author
- HuangTongLang
- Advisor
- TangMin
- School
- Zhejiang University
- Major
- Applied Computer Technology
- Classification
- TP391.7 Machine-assisted technology
- Degree
- Master's thesis
- Year
- 2006
- Downloads
- 224
- Citations
- 1
Abstract
The rendering of free-form surface, especially subdivision surface, has been a research focus in computer graphics recently. In the past years, a great achievement has been made in GPU which is designed for the computation of computer graphics. GPU has a better performance than CPU in parallel computation, and also provide a considerable degree of programmability.To fully utilize the powerful parallel computation ability of modern GPU, a GPU based algorithm is proposed to render the free-form surface fast and efficiently. We break up the original control mesh into smaller meshes(patch), and then render them one by one. First, compute the Subdivision Pattern for each patch; then, transfer the patch data and subdivision pattern to GPU; finally, compute the limit point of surface in vertex processor within the GPU.In this paper, we first review the rendering algorithms about free-form surface, including parametric surface rendering algorithms and subdivision surface rendering algorithms. We also make a brief introduction about the elution of GPU. Then some basic theories about the four kinds of surface which our algorithm has been applied to are presented. Those four kinds of surface are: bi-cubic Bezier, bi-cubic B-Spline, Catmull-Clark surface and Loop surface.Finally our algorithm is presented. At first, we make an overview of our algorithm, then, provide a detailed description of each step, including patching the original control mesh, computing subdivision pattern, and subdividing in GPU, at last, we make a fully analyses to our experiment.Based on our algorithm, we have developed a prototype system, which can support the rendering of bi-cubic Bezier, bi-cubic B-Spline, Catmull-Clark surface and Loop surface. Experiment results prove that our algorithm has following strongpoints: 1) Efficience, our algorithm can be greatly more efficient than the algorithm based on CPU under condition of excellent GPU (like GeForce6 series) and also more fast than the algorithm based on fragment processor within the GPU. 2) Balance the workload between CPU and GPU. 3) Universality, our algorithm can support all kinds of parametric surface and subdivision surface, whose subdivision on the regular part of the mesh coincides with a known parametric representation.
Table of contents
Abstract 3-4
Abstract 4-5
directory 5-8
The first chapter 8-16
1.1 freeform drawing Overview 8-11
1.1.1 Parametric Surfaces draw Overview 8-10
1.1.1.1 sampling points based rendering algorithm 8-9
1.1.1.2 Catmull recursive subdivision rendering algorithm 9
1.1.1.3 scan line rendering algorithm based 9-10
1.1.1.4 GPU-based parametric surface rendering algorithm 10
1.1.2 subdivision surface rendering Overview 10-11
1.2 programmable graphics processor introduces 11-13
1.2.1 programmable graphics processor development background 12
1.2.2 programmable graphics processor development process 12-13
1.3 The research work and contribution 13-14
1.4 Content Organization 14-16
Chapter freeform basic theory 16-28
2.1 Parametric Surfaces basic theory 17
2.2 Bezier curves, surfaces, basic theory 17-19
2.2.1 Bezier curve 18
2.2.2 Bezier surfaces 18-19
2.2.3 Bezier curve and surface properties 19
2.3 B -spline curves, surfaces, basic theory 19-22
2.3.1 B -spline curve 20-21
2.3.2 B -spline surface 21
2.3.3 B -spline curve and surface properties 21-22
2.4 Subdivision Surfaces basic theory 22-24
2.4.1 The basic idea of ??subdivision surfaces 22-23
2.4.2 subdivision surface features 23
2.4.3 Classification of subdivision surfaces 23-24
2.5 Catmull-Clark subdivision surfaces 24-26
2.6 loop subdivision surfaces 26-28
Chapter algorithm framework 28-35
3.1 algorithm processes 28
3.2 CPU part 28-34
3.2.1 divide control mesh piece 29-31
3.2.1.1 topology control mesh piece 29-31
3.2.2 subdivision templates 31-34
3.3 GPU part 34-35
Chapter breakdown structure templates 35-46
4.1 important data structure 35
4.2 tessellation template parameter constructor 35-38
4.2.1 get_params function 37-38
4.3 subdivided tessellation template structure 38-46
4.3.1 parameterized subdivision surface evaluation algorithm 38-42
4.3.1.1 The basic idea 38-40
4.3.1.2 mathematical description 40-42
4.3.1.3 algorithm simplifies 42
4.3.2 tectonic subdivision templates 42-46
4.3.2.1 construct Catmull-Clark subdivision surface template 42-44
4.3.2.2 Loop subdivision surfaces constructed template 44-46
Chapter GPU-based tessellation 46-54
5.1 graphics hardware pipeline 46-48
5.1.1 fixed graphics pipeline 46-47
5.1.2 programmable graphics pipeline 47-48
5.1.2.1 programmable vertex processor 48
5.1.2.2 programmable fragment processor 48
5.2 advanced rendering language 48-49
5.3 CPU to GPU pass data 49-51
5.4 GPU-based surface rendering 51-54
Chapter VI system implementation 54-64
6.1 implementation platform 54
6.2 file format 54-55
6.3 Analysis of experimental results 55-64
6.3.1 and CPU-based rendering algorithm parametric surface sampling point comparison 55-58
6.3.2 subdivision surfaces and compare the effect of parametric surface rendering 58-59
6.3.3 Loop subdivision surface rendering results 59-60
6.3.4 Non- regular subdivision surface rendering results 60-61
6.3.5 GPU fragment processor algorithm based on a comparison 61-64
Chapter Summary and Outlook 64-66
7.1 Summary 64
7.2 The next step 64-65
7.3 new areas of research prospects 65-66
References 66-71
completed during the master's degree thesis 71-72
participate during the master's degree research situation 72-73
Thanks 73
Related dissertations
- Research and Application of GPU Based Tessellation
- Space Deformation Based on Free-Form Surfaces
- Research of Efficient Computing Method on GPU-based LS-SVM
- Research on Key Technologies of Network Traffic Analysis and System Implementation
- A Study of GPU-based Parallel Learning to Rank
- Optimization of CUDA-based Parallel SOM Algorithm and Its Application
- Research on GPU General Computing on Text Classification
- Research on GPU-based Flame Effects Technology
- Research on Technology of Adaptive Features Modeling Based on Loop Scheme
- Research on Fast Method for Triangular Mesh Recnostruction
- Research and Implementation of FIR Filtering Parallel Algorithm Based on GPU
- Research on Multimodal Visualization of Heart
- Image Super-resolution on Improvig Motion Estimation
- Design and Implementation of Image Matching Based Wavelet Transform
- Research on Osteosarcoma Medical Image Analysis System
- Design and Implementation of Parallel Image Processing Algorithms Based on GPU
- Design and Realization of2D Graphics Acceleration Module
- Research on Text Detecting and Removal in Video Image Based on CUDA
- Rapid Implementation of the Small Infrared Target Detection Algorithm on CUDA
- Parallel Face Detection CUDA Accelerating