Реализация системы частиц в реальном времени на GPU
A.V. Maltsev, A.V. Maltsev · Международный журнал Программные продукты и системы · 2014
Particle systems are commonly used in virtual three-dimensional scenes for realistic simulation and visualization of important (in terms of the correct environment perception) natural phenomena and objects that have no clear geometry boundaries, e.g. smoke, fire, water jets, rain, snow, etc. The work proposes the technology for distributed simulation and visualization of such systems using modern multi-core graphic processors. This technology includes two stages. The first stage includes calculation of particle system condition at specified time moment as particles data array. The second assumes a visualization of obtained array with «on the fly» synthesis of necessary particle geometry, their lighting calculation and texture mapping. Both stages are performed on videocard''s graphics pipeline that allows achieving high degree of parallelism. For this purpose the shader rendering mechanism is employed including vertex, geometry and fragment shaders. The second stage uses a geometr y shader for synthesis of particle''s polygonal model. As an example, particle construction is considered as a “sprite”. It has a square form with its front face is always looking at virtual camera. Developed technology supports using of particle systems with number of elements about 10 6 in three-dimensional scenes. It saves a possibility of real-time rendering that is particularly important for such application fields as simulation-training complexes and virtual environment systems. Furthermore, the article also describes practical results of proposed decisions that are oriented for using in real -time visualization systems.
Cited by 3 works. doi:10.15827/0236-235x.108.057-062