In recent years, with the development of multimedia technology, computer animation, virtual reality technology, computer simulation in the field of computer graphics, more and more profound concern, to become the hotspot of graphics research. Mountains, water, clouds, smoke and other natural features of the simulation is widely used in games, movies, media advertising and other fields [1][2]. Due to the irregularities of the natural scenery on the form, the randomness in sports, it is difficult using traditional modeling of geometry and behavior models. Therefore, how realistic natural scenery to reach the effect of virtual reality is a challenging task in computer graphics. Particle system simulation object as a set of mutual constraints particles, it can use a very simple body has always been constructed of irregular objects, rather than the traditional line, surface or polygon to reproduce the natural scenery, the particle system with a simple, fast, real-time features in the simulation of irregular objects has a unique advantage.Learning the model and discharge of fireworks particle system, in theory, the article introduces the basic principles of particle systems, particle system combined with OpenGL texture mapping, color fusion technology to achieve a heart-shaped fireworks simulation, enhanced real-time dynamic effects of fireworks simulation to make up for past use of particles fill the shortage of heart-shaped fireworks simulation. The shape of the heart-shaped control of Archimedean spiral function to control the properties of the particles of the explosion instantly produce the expected fireworks particles in the explosion, while analysis of the particles by the external force, according to Newton’s second law, to map out the trajectory of the fireworks particles.The fabric is widely used in life, such as clothes, curtains, flying the flag of, and characters in3D games cloak. The central position of the fabric of human life means that the fabric simulation of current and potential wide range of applications. In3-D animation, cloth simulation, including fabrics move, rotate and change in the relevant force, able to fold, color, texture of the fabric. This paper presents a method based on particle system real-time, dynamic cloth simulation method. The research method is the fabric as a connected body of particles and springs, the movement of the fabric as is the movement of particles. Experiments in the case of suspension and collision analysis of the particles are connected by a spring force, speed and position of the particle for each frame and through the differential equation solver. Under VC++using OpenGL texture mapping, color fusion to draw the particles in order to achieve real-time dynamic cloth simulation. |