Improvement and Verification on the Simulation of Soap Bubbles Color Conformation and Movement
- Author
- ZhangLei
- Advisor
- LvMengYa
- School
- Yanshan University
- Major
- Applied Computer Technology
- Classification
- TP391.41 Image recognition device
- Degree
- Master's thesis
- Year
- 2011
- Downloads
- 37
- Citations
- 1
- soap bubble simulation
- GPU
- wind field simulation
- Harmonic wave superimposing method
- marching cubes algorithm
Abstract
The simulation of natural phenomena such as soap bubbles has been one of the mostchallenging research areas in computer graphics. Soap bubbles with the traditional formulaand the render method can hardly meet the requirements of high authenticity. As extensiveresearch in industrial applications has been done, physically based method has beenwidely used to simulate soap bubbles. It analyses the inherent physical characteristics ofsoap bubbles, and establishes an accurate physical model to obtain the realistic soapbubbles. We adopt the physical method to simulate soap bubbles, and focus on ourresearches on the real-time and the reality of the simulation.Firstly, for the purpose of improving the authentic performance, we suggest animproved solution based on the Cosine Rule and the similar triangles computing the radiusand the location of the sphere where the mutual wall belongs to. We use the Harmonicwave superimposing method to construct the wind field, so that the shape and movementof the soap bubble will be more realistic and natural.Secondly, in order to improve the real-time quality, we use the render method basedon the GPU to draw the color of soap bubbles. We dynamically generate cube maptextures to calculate the reflected radiance, and adopt the image-space approach torefractions based on two passes of modern graphics cards. In addition, the stencil buffer isadded to draw the shadow of soap bubbles, so as to reduce the time of calculations.Thirdly, the gravity, the repulsive force and the lennard force, which greatly affectsoap bubbles’movement, are added into the field of soap bubbles, to improve the detailsand the reality of soap bubbles’movement. Moreover, we use the Marching Cubesalgorithm to draw the move of soap bubbles, to ensure the deformation of soap bubbles iscalculated accurately.Finally, in order to verify our improved soap bubbles simulation algorithms, we usethe VC++ language and Open Graphics Library to design the real-time soap bubblessimulation system. Experiment results show: our algorithms can run in real-time and soapbubbles effects are of great reality and nature in the turbulent wind environment.
Table of contents
Summary 5-6
Abstract 6-10
Chapter 1 Introduction 10-16
1.1 research background and significance 10 -11
1.2 research status analysis 11-13
color Status 1.2.1 bubbles and motion simulation studies 11-12
1.2.2 bubble simulation Research Status Status wind field simulation studies 12-13
1.2.3 pulsating research trends 13
1.3 soap simulation 13-14
1.4 content and expectations 14
1.5 papers nbsp structure ; 14-16
Chapter 2 on the physical properties of soap bubbles build model 16-24
2.1 analysis of the physical properties of soap bubbles 16-19
2.1.1 soap structural characterization 17
2.1.2 iridescent colors of soap bubbles surface characteristic analysis 17 -18
2.1.3 characteristics of bubbles movement 18-19
2.2 soap rendering technology choices 19-21
2.2.1 GPU-based color rendering method 19-20
2.2.2 marching cubes algorithm 20-21
2.3 draw a single soap bubble structure improvements 21-23
2.3.1 polygonal structure based soap bubbles structure 21-22
2.3.2 surface normal vector calculation 22-23
2.4 Summary 23 - 24
Chapter 3, the improved model and color of soap bubbles structure 24-34
3.1 soap bubbles merge process optimization analysis 24-25
3.2 multi- soap improved foam structure calculation method 25-28
3.2.1 improvements double soap bubble structure calculation method 26-27
3.2.2 multiple soap bubbles structure drawing steps critical analysis of 28-33
3.3.1 surface interference light ; improve 27-28
improved 3.3 soap bubbles surface color rendering method nbsp 28-30
3.3.2 based on reflection and transmission of color optimization 30-31
3.3.3 nbsp drawn based on dynamic texture reflected light ; 31
3.3.4 application precise the optical transmittance of light refraction calculation 31-33
3.4 Summary build soap model equations of motion 33-34
Chapter 4 optimized 34-45 <br / > 4.1 soap critical analysis of the deformation force optimize the 34-38
4.1.1 soap gravity calculations 35
4.1.2 soap bubble pressure optimization 35-36
4.1.3 soap computing Laplace pressure 36
optimized tension and repulsion soap bubbles on 4.1.4 calculation of after 36-37
4.1.5 on soap bubbles merge optimized energy calculation 37-38
4.2 build fluctuating wind farm based on harmonic synthesis 38-40 <br / > 4.3 Marching Cubes algorithm based on dynamic rendering merger analysis and critical steps to create a 40-44
4.3.1 isosurface 41-43
4.3.2 ambiguity optimization problem solving 43-44
4.4 Summary design 44-45
Chapter 5 soap simulation system implementation and evaluation 45-60
5.1 build experimental platform 45-46
soap simulation system design 5.2 46-49
5.2.1 soap overall system architecture design of real-time simulation design nbsp 46-48
5.2.2 bubbles color calculation module ; 48-49
5.2.3 soap simulation system data structure design 49
5.3 soap achieve real-time simulation system 49-53
5.3.1 soap main simulation system design 49-51
5.3.2 soap bubble shape calculation module achieve 51-52
5.3.3 bubbles color calculation module implementations 52-53
5.4 results and analysis 53-59
5.4 Real-time analysis of real-time simulation system .1 soap authenticity analysis 53-54
5.4.2 soap simulation system 54-59
5.5 Summary 59-60
conclusion 60-62
References bear 62-66
master's degree with major achievements during the research tasks 66 - 67
Thanks About 67-68
Author 68
Related dissertations
- Optimization Research on the Simulation of Smoke in the Fluctuating Wind Field
- 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 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
- Research on Boundary Face Method Base on GPU-acceleration
- Research on Applying GPU Parallel Computation to Medical Image Processing