3D Simulation of Raindrops and Ripples Based on OpenGL

The simulation of raindrops and ripples includes motion of raindrops in the air and motion of ripples in the water in this paper. With an analysis of the shortcomings of former methods and technologies, the region segmentation and the OpenCL technology are presented. In detail, one is the former complicated formulas for ripples are substituted by formula about region segmentation with little calculation and easy program; the other is raindrops and ripples are showed by triangles, texture coordinate, texture mapping in OpenGL with three -dimensional scene. The image of simulation shows that the purposes of simulating raindrops and ripples continuously and improving the fidelity of 3D simulation are attained by this way. And it is useful for improving the quality of raindrops' and ripples' image in movie and military simulation.