Real-time Simulation of Fireworks Based on CUDA Platform and Particle System Technology
- Author
- LiuGang
- Advisor
- LiuFuYan
- School
- Shanghai University
- Major
- Applied Computer Technology
- Classification
- TP391.9 Computer simulation
- Degree
- Master's thesis
- Year
- 2013
- Downloads
- 1
- Citations
- 0
Abstract
In the field of Computer Graphics, firework is one reproduction of the realworld that people have been trying to use computer. Fireworks play an importantpart in people’s festival celebrating, which appeared in China as early as thespring and autumn Period. It is difficult to use a conventional computer graphicsmodeling methods to simulate fireworks scene, because it has an abundantsurface texture and an irregular outer contour, changes dynamically andrandomly with time. The key issues that need to be addressed are how to modelthe fireworks scene simplify and effective.Particle system technology can achieve the dynamic and randomness of thefireworks scene, so it’s one of the most effective methods of analog boundaryfuzzy scene, whose advantages is using simple fireworks particles to construct acomplex scene, and have strong element of truth and the real-time nature.However it is difficult for traditional computer graphics. To get the image of thetrue level of real-time rendering, we need to use a large number of particles in asimulation scenario, whose demands are high on computer hardware. CUDAplatform used in fireworks simulation based on particle system technology isbecause CUDA platform can take full advantage of the parallel computingpower of the GPU, put fireworks particle attributes updated calculation on theGPU to improve the speed of the attribute update effectively. Using CUDA andOpenGL interoperability functions to reduce the communication between theCPU and the GPU, the concrete realization of the process by the CPU isinitialized particle attribute data transferred to the GPU, and sent directly to thegraphics driver updated in parallel by CUDA platform kernel functionprocedures for rendering without the need to return the CPU. Also in accordancewith the procedures in operational characteristics of the data, the paper combined with the CUDA memory model program data stored in the graphicsmemory using CUDA function to improve the efficiency of code execution.Taken optimization strategy by optimizing memory access, the instructionstream, to minimize the exchange of data between the redundant execution ofthe instruction and a memory and improve the efficiency of the implementationof the code. The experiments shows that based the CUDA platform fireworksanalog to real-time requirements, and the simulation results significantly betterthan the CPU platform, when the particles are more.
Table of contents
Abstract 6-7
ABSTRACT 7-12
first chapter 12-17
1.1 Introduction 12-13
1.2 research background and significance of main contents of 13-14
1.3 article 14-15
1.4 the paper is organized 15-16
1.5 Chapter Summary 16-17
chapter CUDA parallel computing 17-27
2.1 parallel computing 17
2.2 CUDA Profile 17-19
2.3 CUDA hardware architecture 19-21
2.3.1 SIMT architecture 20
2.3.2 multithreaded architectures 20-21
2.4 CUDA programming model 21-22
2.5 CUDA memory model 22-25
2.5.1 register 23-24
2.5.2 global memory 24
2.5.3 constant memory 24
2.5.4 texture memory 24-25
2.6 CUDA and OPENGL interoperability 25-26
2.7 Chapter Summary basic principles 26-27
Chapter III particle system 27-39
3.1 Introduction 27
3.2 particle system theory 27-30
3.2.1 particle system definition 27-28
3.2.2 particle system classification 28-29
3.2.3 particle system advantages and disadvantages 29-30
3.3 particle system model 30-35
3.3.1 particles generated 31 -32
3.3.2 particle properties 32-34
3.3.3 particle Movement 34
3.3.4 particles die 34
3.3.5 particle draw 34-35
development and application of 3.4 particle system development 35-38
3.4.1 particle system 35-36 <br / > Application 3.4.2 particle system 36-38
3.5 Summary modeling 38-39
Chapter IV fireworks particle system 39-49
4.1 fireworks Overview 39
4.2 fireworks particle system model design 39-43
4.2.1 fireworks particle structure 40-41
4.2.2 fireworks particle generation 41
4.2.3 fireworks particle attributes 41-42
4.2.4 fireworks particle motion 42
4.2.5 fireworks particles die 42
4.2.6 fireworks particle rendering 42-43
4.3 fireworks particle motion model 43-46
4.4 related technologies 46-48
4.5 Chapter Summary 48-49
Chapter fireworks real-time simulation system design fireworks particle system 49-56
5.1 nbsp article ; 49-52
5.1.1 initialization fireworks particle system 50
5.1.2 initialization fireworks particles 50
5.1.3 update fireworks particles 50-51
5.1.4 textures 51
5.1.5 rendering fireworks particle system 51
5.1.6 rendering fireworks particles 51
5.1.7 collaboration between modules 51-52
5.2 CUDA acceleration algorithm based 52-54
5.3 program optimization 54-55
5.4 Chapter Summary 55-56
Chapter VI results 56-63
6.1 system data flow 56-58
6.2 interactive systems design 58-59
6.3 experimental environment 59-60
6.4 results and analysis 60-62
6.5 chapter Summary 62 -63
Chapter VII summary and Outlook 63-65
7.1 This article summarizes 63-64
7.2 Prospect 64-65 <br / > References 65-69
author published during the master's degree thesis project 69-70
master's degree during the author made ?? 70- 71
Thanks 71
Related dissertations
- Genome-wide Gene-gene Interaction Analysis for Complex Diseases Using CUDA Platform
- Research on Real-time Simulation of Ocean Wave Based on Statistic Model and GPU
- The Research on Ray Casting for Visualization of Anatomical Structures Based on the GPU
- High-Performance Processing of Massive Remote Sensing Data and Its Visualization Application
- The Research of ICT Non-destructive Testing Volume Rendering Technology Based on CUDA
- Research of Efficient Computing Method on GPU-based LS-SVM
- Research on Acceleration Technology of IPSec VPN Base on GPU
- Optimization of CUDA-based Parallel SOM Algorithm and Its Application
- Research on GPU General Computing on Text Classification
- Particle Systems’ Applied and Achieved in the Virtual Environment
- Efficient Modelling of Smooth Surfaces with Branching Structures
- Research and Implementation of FIR Filtering Parallel Algorithm Based on GPU
- CUDA-based Real-Time Rendering of Transparent Object
- 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
- Research of Heuristic Unstructured Road Detection Algorithm Based on the Combination of Feature and Model
- Research on Boundary Face Method Base on GPU-acceleration
- Real-time Eye-gaze Tracing System Based on CPU+GPU
- Research on Applying GPU Parallel Computation to Medical Image Processing