Font Size: a A A

Research On Real-time Simulation Algorithm For Interactivesmoke Based On Eulerian Model

Posted on:2018-05-21Degree:MasterType:Thesis
Country:ChinaCandidate:J SunFull Text:PDF
GTID:2348330533963175Subject:Computer Science and Technology
Abstract/Summary:PDF Full Text Request
Smoke is ubiquitous in real life,and its simulation is widely used in movie industry,video games,advertising and other fields.However,due to the irregular appearance of smoke and characteristic of rapidly changing,the smoke simulation research is still a difficult field,which remains an open challenge.For the real-time displaying good interactive features of smoke,we do the research on two aspects.One is the research of smoke-trails algorithm in the virtual-real scene and the other is the algorithm research of the interaction between smoke and obstacles.Firstly,in order to implement the experiment result of controlling the smoke movement in the virtual scene,we introduced the linear feedback control technique to constantly adjust the speed of the simulated velocity field and made it consistent with the target velocity field,completing effects of the real-time smoke movement in various specific tracks.At the same time,we discretized the obstacles by voxelization method and uniformly calculated the simulation values of smoke and obstacles by the two-way coupling equation.Secondly,in order to further enhance the interaction of smoke,in the virtual-real scene,we achieved controlling the smoke movement in any track or drawing simple pattern by adopted the Skeleton Tracking principle of Kinect.When the position of the hand changed,we caught the current coordinate of bone point and passed it to the smoke source.Then the smoke was driven by the external force to move along the direction of the hand,completing a variety of interactive movement simulation of smoke tracking gestures.Thirdly,to gain more realistic performance of the real-time interactive smoke,enhancing the realistic effect and the real-time performance,we used Ray-casting algorithm to render the smoke.And,we used HLSL language to complete shader programming on the GPU,speeding up the rendering process.Then,we created multiple threads to complete parallel computing for N-S equation which efficiently solved complex solution and slow computing speed,improving the smoke simulation effectively.Finally,the real-time interactive smoke simulation system was designed using C# and JavaScript language under Unity3 D platform,and the experimental method was verified.At the same time,we compared the effect of algorithm in this paper with related smoke literature on the two aspectsof authenticity and the real-time.Experimental results showed that it is effective to control the three-dimensional smoke arbitrary movement by adopting our algorithm in the virtual-real scene,and our algorithm is also useful to complete all kinds of interaction simulation between smoke and obstacles.
Keywords/Search Tags:smoke movement, linear feedback, target velocity field, Kinect, GPU parallel computing
PDF Full Text Request
Related items