Font Size: a A A

Improvement And Verification On The Simulation Of Soap Bubbles Color Conformation And Movement

Posted on:2012-12-31Degree:MasterType:Thesis
Country:ChinaCandidate:L ZhangFull Text:PDF
GTID:2248330362962965Subject:Computer application technology
Abstract/Summary:PDF Full Text Request
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.
Keywords/Search Tags:soap bubble simulation, GPU, wind field simulation, Harmonic wave superimposing method, Marching Cubes algorithm
PDF Full Text Request
Related items