"MID_" Flags for ParticleSystem
tracked
Vincent Nacon
To provide additional "keyframe" points information for particle's color, glow, alpha, scale, and emission*.
PSYS_PART_MID_* can have many of the same variable type in the list and ends when it detected an integer type in that list's item.
Ex:
[PSYS_PART_START_COLOR, <1,0,0>,
PSYS_PART_MID_COLOR, <1,1,0>, <0,1,0>, <0,1,1>,
PSYS_PART_END_COLOR, <0,0,1>]
[PSYS_PART_START_GLOW, 1.0,
PSYS_PART_MID_GLOW, 0.5, 1.0, 0.2, 1.0, 0.75, 1.0, 0.4, 1.0,
PSYS_PART_END_GLOW, 0.0,
PSYS_PART_START_EMISSION, 1.0,
PSYS_PART_MID_EMISSION, 0.5, 1.0, 0.2, 1.0, 0.75, 1.0, 0.4, 1.0,
PSYS_PART_END_EMISSION, 0.0]
[PSYS_PART_START_SCALE, <0.1,0.1,0.0>,
PSYS_PART_MID_SCALE, <0.3,0.3,0.0>,
PSYS_PART_END_SCALE, <0.0,0.0,0.0>]
[PSYS_PART_START_ALPHA, 0.1,
PSYS_PART_MID_ALPHA, 0.7, 0.3, 0.0,
PSYS_PART_END_SCALE, 0.1]
Log In
Extrude Ragu
I would like the abilty to both fade in and out a particle but I feel like this really needs a way to set the mid duration otherwise it will look very strange if particles fade in only to immediately fade out
Vincent Nacon
Extrude Ragu In this case, you'd set many keyframes, even if they are the same values. You still can set the age and figure out how many you need to break it up and take in start/end into account.
In this example: Particle will last 10 seconds. There are 5 keyframes total below. 10/5=2 seconds.
Meaning start and end will last 2 seconds (4 seconds in total) and the mid will be 6 seconds long.
[ PSYS_PART_MAX_AGE, 10,
PSYS_PART_START_ALPHA, 0.0,
PSYS_PART_MID_ALPHA, 1.0, 1.0, 1.0,
PSYS_PART_END_ALPHA, 0.0]
If you only has one value for the Mid, then it will act like there's only one keyframe for mid, in which the particle will fade in and then fade out immediately.
[ PSYS_PART_MAX_AGE, 10,
PSYS_PART_START_ALPHA, 0.0,
PSYS_PART_MID_ALPHA, 1.0,
PSYS_PART_END_ALPHA, 0.0]
Spidey Linden
tracked
Issue tracked. We have no estimate when it may be implemented. Please see future updates here.