The Interactive Simulation of the Liquid in the Container with Spring-mass Model
Peishan Guo, Qing Zhu, Wenzhe Zhu · Journal of Physics Conference Series · 2019
Abstract With the development of the virtual reality industry, the demand for performance of virtual simulation is increasing. In the field of virtual simulation, fluid simulation has become one of the most challenging research directions in computer graphics. High-performance fluid simulation methods are still a problem which is worth studying.This paper presents a method based on grid and Spring-mass model interactions for simulate liquid in the container. Firstly, the mass-spring model is introduced to simulate the water surface. Create a flat grid, then add physical properties to the point on the triangular grid. Grids are used to connect the water proton. Secondly, change the current height of the particle through calculating the particle density on the surface of liquid to simulate the fluctuations of the water.Finally realize the calculation method in unity, prove that the method has both performance and sense of reality and better than previous methods.