Font Size: a A A

Simulation Of Multi-Category Erose Objects Based On Particle System

Posted on:2017-01-05Degree:MasterType:Thesis
Country:ChinaCandidate:Q ZhouFull Text:PDF
GTID:2308330485964141Subject:Computer application technology
Abstract/Summary:PDF Full Text Request
With the development of society,people’s increasing demand for virtual reality, which leads to wide application requirements in computer games, animation and television advertising. And the virtual simulation of natural scenery such as sea wave, cloud, smoke, flame, rain and snow becomes a difficult problem in computer graphics simulation because of the irregularity and dynamicity of the movements. As an excellent algorithm simulating irregular movements of objects, the particle system has been researched and improved by experts from home and abroad to simulate many natural scenes successfully since it’s proposed firstly by Reeves W.T in 1983.This paper firstly introduces the basic ideological theory of the particle system and the graphics programming interface OpenGL. Combining with C++language, I write the progress model class of the particle system, analyze the physical movement progress of snowfall, establish the three-dimensional model of snow particle system. I also simplify the movement model in snowfall progress and eliminate the real-time speed control of each frame, I simulate the actual and macroscopic snowy scene by wind influence through controlling displacement of snow particle, which improves real-time performance of simulation without influencing reality of simulation. Moreover I realize the effects of wind force and the control of light or significant snow by parameter control, and introduce exponential function F=ex on the Z axis of Cartesian Coordinates as the mathematical function model of particle size to make snow particles present the perspective projection view effect of far-smallness near-bigness named three-dimensional landscape effects. Combining with the graphics programming interface OpenGL, I render the scene of snowfall and succeed in the dynamic simulation of snowfall scene. The successful simulation of three-dimensional snowfall scene reflects strong applicability of particle system and powerful rendering effect of OpenGL in the simulation of three-dimensional animation.Currently, most simulations of irregular objects with particle system aim at a certain kind of object, while in this paper I furtherly make related experiments based on particle system theory to simulate many different kinds of irregular objects in same screen. Thus I create scene simulations that have better realistic significance with these combinations to enrich simulation effects. Snow comes from vapor condensation under low temperatures. In the actual weather conditions, snow is usually accompanied by rain, the sleet weather is a common weather. In this paper I simulate the weather condition of sleet based on the three-dimensional simulation experiments of snowfall, where I can get self settings on wind farm in the sleet scene. In the winter where snow weather is regular, an important festival-Spring Festival makes it more realistic to set off fireworks in the snow scene. The firework explodes in air and produces small sparks that bloom like flowers or patterns with other shapes, which appears more beautiful with romantic snow scene at night. The sparks from explosion burns and moves constantly with dynamic, random changes of their size, speed, acceleration and position until they disappear into the night sky. This progress corresponds to the particles’basic ideological theory of particle system, even the moving trails of small sparks can be controlled with functional equation model to make sparks blaze and form certain patterns of functions. Thus beautiful fireworks can be rendered and drawn with strong rendering strengths of OpenGL such as color mixing and texture mapping. The scene that fireworks explode during the snowfall has wide application prospect in films and television programs, games and animations. Meanwhile, the paper establishes the abstract base classes of particle system based on object-oriented inheritance thought, covering the pure virtual function according to the characteristics of irregular objects, experiments’code has a clear hierarchy anda good scalability.
Keywords/Search Tags:OpenGL, particle system, texture mapping, simulation of snowfall scene, sleet, fireworks in the snow scene, Object Oriented
PDF Full Text Request
Related items