1(College of Information Science and Engineering,Yanshan University,Qinhuangdao 066004,China)2(Key Laboratory for Computer Virtual Technology and System Integration of Hebei Province,Qinhuangdao 066004,China)
Abstract:Aiming at the problem that the water droplet motion simulation on the glass window is not real in the current rain scene,a real-time rendering algorithm for water droplet motion control is proposed.Firstly,using the particle system in a discrete environment,considering the effect of gravity,combined with random numbers to construct static water droplets of different shapes,solve the problem of single shape of water droplets caused by using only one sphere in water droplet modeling;Then,based on the real force model of water droplets on the vertical glass surface,the air resistance control factor is introduced to calculate the water droplet velocity,which improves the current uncontrollable problem of water droplet motion length;Finally,considering the force of the water droplets and the affinity of the adjacent grid to the water droplets,combined with the custom wind factor and bending factor,determine the direction of water droplet movement and enhance the realism of the water droplet movement on the glass window.Experimental comparison and analysis show that the proposed method can draw realistic water droplets in real time on the glass window.
唐勇,刘培艺,张鹏,李颖,. 玻璃窗上水滴运动控制的实时绘制算法[J]. 小型微型计算机系统, 2020, 41(3): 502-505.
TANG Yong,LIU Pei-yi,ZHANG Peng,LI Ying,. Real-time Rendering Algorithm for Water Droplet Motion Control on the Glass Window. Journal of Chinese Computer Systems, 2020, 41(3): 502-505.