Font Size: a A A

The Realtime Simulation Algorithm Of Smoke Movement Situation In Different Force Field

Posted on:2017-05-14Degree:MasterType:Thesis
Country:ChinaCandidate:Z LuoFull Text:PDF
GTID:2308330503982562Subject:Computer Science and Technology
Abstract/Summary:PDF Full Text Request
Smoke is a common phenomenon in daily life, and its simulation is widely used in various aspects, which adds a bit of color to the life of people and meets people’s visual enjoyment. However, due to its changeable and easily disturbed characteristic, the smoke simulation is still a difficult and hot research field in computer graphics and virtual reality. For the real-time rendering of realistic and interactive smoke scenes, we put forward an algorithm which can simulate the real-time interaction between three-dimensional smoke and dynamic obstacles in the multi force field. And also we designed different smoke interactive scene to verify the algorithm.First of all, for further performance of the smoke diffusion in the smoke simulation space with obstacles, we used the Kanilan power density spectrum to establish the small-scale unsteady wind in the simulation space. Considering the wind decay in reality, we added the wind attenuation factor according to the air resistance coefficient and the distance from the wind source, which enhanced the real-time interactive effect of smoke and obstacles.At the same time, to gain more realistic performance of the smoke and the moving obstacle interaction details and enhance the realistic effect, we applied the AABB bounding box technology and quickly calculated the boundary of the moving obstacle in the environment with the wind, the gravity, the thermal buoyancy and the eddy current inhibition. The interaction between the smoke and obstacles were expressed in a two-way coupling mode, and the force which the obstacle applied to the smoke was the showed in the movement of the smoke. The use of the AABB bounding box made the simulation space no longer a single rectangle, so that the smoke simulation space can be presented with different shapes, which expanded the application fields of the smoke diffusion simulation.Then, taking into account the details of the smoke, we introduced the multi grid technique to divide the simulation space, the focused part with the fine grid and on the contrary with the coarse grid, which enhanced the sense of reality and reduced the grid computation cost at the same time. We added the shadow effects into the interactive scene, mainly manifested in the real-time shadows of the moving obstacle and the shadow of the smoke and light interaction. In the form of the smoke, we designed and verified an algorithm to generate multi forms of smoke, which greatly enhanced the expressiveness of the smoke simulation and made the simulation more lively and interesting.Finally, the smoke simulation system was designed using HLSL language and the convenient Unity3 D software under Windows platform, and the experimental method was verified. Experimental results show that the algorithm can effectively control the smoke in the natural flow state according to the wishes of the designers, and can realize the interaction between the smoke and the moving obstacles.
Keywords/Search Tags:unsteady wind, shadow effect, the smoke-moving obstacles interaction, AABB bounding box, multi forms of smoke, multi grid
PDF Full Text Request
Related items