官术网_书友最值得收藏!

Chapter 3. Building a Simple Particle System

Particle systems are used in computer graphics for drawing fuzzy-shaped objects such as fire, clouds, and trails of dust. The basic idea for such systems is drawing a large number of small, moving particles and controlling their motion.

Here we consider the basic principles of modeling and drawing particle systems and demonstrating them by building a simple 2D particle system. In this chapter, we will cover the following topics:

  • The basics of particle systems
  • A single particle
  • An emitter
  • The attraction, repulsion, and spinning forces
  • Graphical user interface

By the end of this chapter, you will have a fully-featured project for experimenting with the particle system.

Note

This is the only chapter where we create custom C++ classes.

主站蜘蛛池模板: 定襄县| 白河县| 大庆市| 科技| 柘荣县| 砀山县| 河池市| 石渠县| 延长县| 大埔区| 钟山县| 商河县| 梧州市| 东山县| 广平县| 新龙县| 驻马店市| 新晃| 开化县| 贞丰县| 恩施市| 苏尼特右旗| 衢州市| 色达县| 辽源市| 兴仁县| 墨江| 永昌县| 新巴尔虎左旗| 康马县| 军事| 天津市| 临海市| 当阳市| 民勤县| 宁阳县| 乌鲁木齐市| 中阳县| 宁海县| 花垣县| 丹棱县|