Font Size: a A A

Research On Dynamic Graphics Special Effects Rendering Technology Based On Particle System

Posted on:2017-06-17Degree:MasterType:Thesis
Country:ChinaCandidate:C H ChenFull Text:PDF
GTID:2518304895461054Subject:Education Technology
Abstract/Summary:PDF Full Text Request
With the continuous development of computer graphics,computer simulation gradually go deep into the people's work and life,dynamic natural scene simulation is an important research content in the field of computer simulation.Dynamic natural scenes with irregular geometry,its shape is dynamic and random,in the process of actual simulation needs to pay a large amount of calculation,directly affect the authenticity of the simulation and real time.So far,the most successful simulation of dynamic natural scene is using particle system.It regards the irregular object as the composition of a number of identical particles,the dynamic properties of the particle is updated in real time simulation of natural scene.In order to solve the redundant computation of particle system,it can design the particle system engine,packaged the particle system into a library.The function form is used to reduce the large amount of computation,and improved the real-time performance of the system.But the traditional particle system using point and line to draw particle can not meet the validity of the simulation,using the texture mapping and color blending technology of OpenGL to achieve as real as possible.According to the natural phenomenon of particle system simulation algorithm based on the research work,through the method of particle system and the principle of the OpenGL window,color rendering and interactive fusion technology,based on OpenGL and particle system,designed the particle system engine to simulate various dynamic graphic effects,and used particle system engine to simulate various dynamic natural scenes such as fireworks,fire,waterfalls and so on.The main work includes the following aspects:1.The rationale of particle system.Particle system used a lot of tiny particles as the basic element to simulate irregular objects with attribute definition,through the real-time updating of the properties of particles to simulate the dynamic natural scenes.Particle system including particle formation,particle initialization,particle movement,the demise of particle and particle rendering process,each particle has many attributes such as location,size,color,transparency,and speed and life value and so on.2.Design the particle system engine.First of all,data structure of particle system should be designed;all classes and class attributes of particle system should be designed.Then,according to the actual dynamic natural scenes,analysis the dynamic properties and the state change rule of particles,using appropriate physical theory and choosing the appropriate modeling method,such as Newton's laws of motion,velocity attenuation function,designing all function methods of classes of particle system.Finally,according to the working mechanism of the particle system design establishment module with independent parameters.The particle system is encapsulated into a library function.The library functions mainly include particle swarm management,properties setting function,action function,and action list.3.Using texture mapping and color fusion technology to simulate fireworks effect.The algorithm firstly according to the actual situation of fireworks analysis the dynamics law of particles and establish the suitable physical model.Then,using the particle system engine design the fireworks simulation algorithm,drawing out each particle by particle texture images which using the OpenGL texture mapping technology when each particle's position property is obtained.Finally,using of color fusion function to blend the particle color so that it can make the effects more beautiful.The experimental results show that the algorithm can display all particles in texture image,making the effects assume integration,true and beautiful.Based on the above theoretical research,the particle system engine is designed,and the results show the correctness of the proposed algorithm.
Keywords/Search Tags:Newtonian mechanics, Particle system, Particle system engine, Texture mapping, Color blending
PDF Full Text Request
Related items