Optimizing on real-time fluid 3D effect in mobile environment

Jue-min Lu, Jin-Chun Piao, Shin-dug Kim · 2015

Simulating fluids on screen has been getting many spotlights because it is one of the most challenging tasks in computer science area. So we developed a real-time fluid simulation on android platform with SPH fluid algorithm and Bullet physics engine, and then rendered it with OpenGL|ES. Because of the limitation of smartphone environment, the simulation does not show a good performance. We suggest three methods to improve the performance of the demo. Firstly, we enable parallel computing with ARM NEON to accelerate mathematical computation. Secondly, we simplify the SPH algorithm with particle-forming technique. Finally, we optimize rendering skill with SSFR technique. We carry out experiments to validate the methods we suggest. The experiments results show that the first method improved the performance by about 26% to 40%, the second method improved the performance by about 50%, and the third method helped us represent a more smooth and natural fluid surface. Therefore, these methods are proved to be able to improve the performance of the real-time 3D fluid effect simulation significantly.

Read the paper · More papers on PaperTik