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

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.

主站蜘蛛池模板: 靖宇县| 大姚县| 来宾市| 江永县| 乳源| 巴中市| 科技| 富民县| 香港 | 琼结县| 普安县| 永清县| 遂平县| 黔东| 揭西县| 南陵县| 察隅县| 尚义县| 淄博市| 禹州市| 剑川县| 全州县| 陇南市| 多伦县| 广南县| 万州区| 义马市| 康保县| 噶尔县| 中山市| 永年县| 遵义市| 得荣县| 临海市| 阿拉善盟| 怀柔区| 陇西县| 鱼台县| 建湖县| 新沂市| 安远县|