Three.js Development Guide (7): Particles and Particle Systems

Using particles, you can easily create many small objects that can be used to simulate raindrops and snowflakes.

7.1 Understanding particles

    Create particles

7.2 Particles, particle systems and BasicParticleMaterial

    Unless you use the CanvasRenderer class, you need to use the ParticleSystem class to display particles

7.3 Formatting particles using the HTML5 canvas

    in CanvasRenderer class

    in WebGLRenderer

7.4 Formatting particles with textures

    You can use images as textures for particles

    use sprite

7.5 Creating particle systems from advanced geometry

    The particles rendered by the particle system come from the vertices of the geometry. This means that if we provide a complex geometry, such as a torus kink or a pipe, we can create a particle system based on the vertices of this geometry.


Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325469609&siteId=291194637