Method for drawing surface of SPH (smoothed particle hydrodynamics) fluid in real time on basis of screen spaces
暂无分享,去创建一个
The invention provides a method for drawing the surface of SPH (smoothed particle hydrodynamics) fluid in real time on the basis of screen spaces. The method aims to track the surface of the fluid in real time and vividly draw the surface of the fluid on the basis of dynamic behavior of the fluid simulated by an SPH process, and research is carried out around an acceleration computation process on the basis of the screen spaces. The method includes generating depth graphs of the fluid in three-dimensional spaces from viewpoint positions; smoothing and filtering the depth graphs to dynamically extract the surface of the fluid relative to viewpoints; combining optical effects of environment mapping, fluid reflection, refraction and the like; simulating interaction among the fluid and other three-dimensional solid bodies in virtual scenes; vividly drawing flexible body and fluid interaction scenes on the basis of a GPU (graphics processing unit). The method has the advantages that various computation and rendering are carried out completely on the basis of the GPU, all operation can be carried out in a parallel mode, and the method is good in real-time performance and physical realism.
[1] Aimin Hao,et al. Hydraulic Flow Simulation on Dynamical Changing Terrain , 2010, 2010 International Conference on Computational and Information Sciences.