Font Size: a A A

Fire Simulation In Wind Based On Particle System

Posted on:2008-12-21Degree:MasterType:Thesis
Country:ChinaCandidate:G SongFull Text:PDF
GTID:2178360215975323Subject:Computer application technology
Abstract/Summary:PDF Full Text Request
Generating a visually convincing image is one of the most challenging and difficult problems in computer graphics. How to simplify the natural scenes but guarantee the simulation effects is becoming a pivotal technique. Based on a careful analysis on the previous related work and considering the demand of virtual scene for video game, the system develops a real time algorithm of fire motion in the wind, the work and results are as follows:Based on the analysis of the motion of fire, complex motion fields of fire are simplified to four simplified fields: thermal buoyancy, wind, gravity and vortex field to improve the system's real time simulation. Considering wind and the turbulence effects of the fire, the system uses random particles to simulate the upward spiral movement of fire in wind to develop a vortex field, which makes the fire movement more flexible and realistic. The system uses polygon to render fire instead of classical dot particles, which makes run-time further decreased. Furthermore, the system uses texture mapping technique and particle tracing technique to enhance the render quality. Collision detection system is an indispensable part of visual system. The system uses the collision principle of particle and spherical surface to solve the collision problem between sphere and the flame primarily.At last, through VC++ and OpenGL language, a demo system based on our algorithm is gotten. To guarantee the friendly interactivity, the system uses OpenGL high-level interface technology to generate system interface, making it more convenient and friendly to control the system parameters with real-time observation of the fire changes. Experimental results show that the algorithm can produce real time simulation of fire in consumer PC Platform and the effect of fire looks realistic.
Keywords/Search Tags:Particle Systems, Irregular Objects, Fire, Wind Field
PDF Full Text Request
Related items