Font Size: a A A

Research On The Real-time Rendering Of Small-scale Fluid Animation Simulation

Posted on:2020-12-12Degree:MasterType:Thesis
Country:ChinaCandidate:S T ZhouFull Text:PDF
GTID:2428330599460291Subject:Computer Science and Technology
Abstract/Summary:PDF Full Text Request
With the development of computer graphics,physics-based simulation methods for making fluid animations are becoming more and more popular in film effects and interactive applications.These simulation animations enrich the scene production elements while giving people a powerful visual enjoyment and Great scientific value and commercial value.At present,most of the interactive simulation research of fluids pursues its overly realistic rendering effect,so as to be applied to film and television special effects,but these scenes require dozens or even millions of particles to participate in the simulation,and also to reconstruct the fluid surface network.Grid rendering is costly and not real-time.In order to improve the real-time rendering of fluid simulation and the application potential of fluid animation,based on the previous fluid particle and fluid mesh simulation methods,this paper simplifies the rendering steps and optimizes the physical simulation process,which greatly improves the real-time performance of the simulation;In addition,a more accurate lighting rendering model is introduced to show the colorful visual effects of fluid animation.Firstly,different simulation methods are used for different fluid simulation scenarios.Smoothed Particle Hydrodynamics(SPH)is suitable for scenes where fluids such as streams can flow freely in the scene.The fluid grid method(Solving wave equation)is suitable for scenes such as pools where the range of fluid motion is fixed,or coupled two types of methods to meet the needs of the simulation.Appropriate simulation methods can greatly increase the simulation efficiency of fluid simulation and lay the foundation for the real-time rendering of subsequent fluid animation.Secondly,each fluid simulation method has its own bottleneck that limits simulation efficiency.In order to carry out the real-time rendering of fluid animation,for real-time rendering of fluid animation,a modified method based on screen space fluid rendering is proposed to solve the problem of complex information extraction from surface rendering by fluid particle simulation,which avoids the extremely complex information extraction calculation in the rendering process and speeds up the fluid simulation speed.Aiming at the problem of cumbersome iterative data volume in the fluid grid simulation calculationprocess,a simplified method of computational fluid grid simulation is introduced.The approximate derivative is used to optimize the simulation calculation,which greatly improves the simulation efficiency.Finally,with the Unity3 D engine and the Unity Shader language,the fluid rendering model is constructed,considering its complex optical properties,fluid reflection,refraction,absorption and attenuation of light,enabling it to not only render realistic fluid animations.It can also realize fluid animation of artistic styles such as cartoons,which greatly enriches the visual effects of fluid animation simulation.In this paper,the simulation experiment of small-scale fluid animation simulation is designed and implemented.The experimental results and data show that the simulation method of this paper ensures the realism of fluid simulation movement and enriches its visual effect under the premise of real-time rendering,which can meet the needs of various simulation applications.
Keywords/Search Tags:Fluid simulation, Mesh, Particle, Screen space, Approximate derivation, Illumination model, Real-time rendering
PDF Full Text Request
Related items