Https://developer.valvesoftware.com/wiki/Particle_System_Overview
- File Format: PCF
- Editor particle Editor
- Memory Fields
- This is actually an application of the component mode. Otherwise, the memory and CPU overhead will increase.
- Control Points
- Each particle system has a maximum of 64 control points. The default value 0 is the particle's origin point.
- You can set positions, orientations, and entities for each control point.
- The doctor's treatment light in TF uses control points to establish a connection between weapons and target players.
- Components
- The particle system is composed of components. Each item can have multiple elements.
- Renderers
- Spirit, the most common
- Rope, a continuous "rope", such as lightning
- Trail, tail
- Blob, water drop
- Model: uses a model to replace particles, such as explosive fragments.
- Project, sticker?
- Emitters
- There can be multiple different types of transmitters
- Main attributes: Time (start/end/fadein/fadeout), number of launches (min/max), speed, random
- Initializers
- Initialization position, color, size, transparency, speed, etc., can be random
- Random position shape
- Move Between Two Control Points
- Operators
- Each frame affects the attributes of each particle.
- It can affect the location of the control point.
- Forces
- Contraints
- Physical collision
- Constraint relationships with Control Points
- Space constraints
- Children
- Develop a particle system to achieve more complex results
- Performance
- Limit the maximum number of particles in each particle system. The memory is pre-allocated so much space.
- Multithreading
- Multiple particle systems are allocated to multiple threads for calculation.
- The subsystem is in the same thread as the parent system.
- SIMD
- Overdraw
- Use as few, small, and opaque particles as possible
- Defines the minimum screen space in the material, which is too small to remove (or fade out)
- Close soft particles whenever possible
- Shared data
- Flexible use of control points
- Collision
- Create a particle file for a low-end server, such as xxxx_dx80.pcf.