Guides for PopcornFX Super Tools > Mesh Emitter > Particle Settings with Texture Image > Using Texture_for_Emission Texture
Using Texture_for_Emission Texture
The most powerful and flexible technique of using PopfornFX particle system is that you can not only use a texture to determine the color and lifetime phases, but also the RGBA information in the texture to control the lifetime, size, speed and brightness for the particles.
Sampling Prop as Emitter
Prepare a custom scene with a Mesh Emitter, a plane and four target props (balloons).
Optionally delete the target props after this step.
Using Texture_for_Emission Texture
By using the image file of Targa format (*.tga) with Red, Green, Blue and Alpha channels, you are able to determine the Life, Size, Speed and Brightness of the emitted particles.
Before you start, it is highly recommended that you design the texture by means of the Diffuse or UV maps of the sampled prop.
Select the prop emitter and export its Diffuse and UV map to the image editor (for example, Photoshop) as the references for creating the Targa texture.
Create a new file with white background. Check out the channel data panel.
Adjust the layer of Red channel. It is used to determine the Life time length for each particle. Black means no life time and white means the max life time (set in the Basic Attributes
sub-section) and grey is the midpoint of the possible lifespan.
The grayscale value is from black (value = 0.00) to white (1.00). The final life time length is between (Grayscale value x Life Min) and (Grayscale value x Life Max)
Save the image in Targa format (*.tga).
Go back to iClone, make sure the particle effect is selected, go to the Modify Panel >> PopcornFX tab >> Emitter section. In the Sampler list, select the Texture_for_Emission item and load the Targa image to the Texture Resource channel.
Simulate to check out the effect. You will find that particles are only emitted from the areas of the plane that maps to the white part of the Red channel.
Go to the image editor, edit the Green channel for setting the size. Black means size 0 x 0 and white means the max size (set in the Lifetime
sub-section) and grey stands for the middle value between 0x0 and
the max size.
*The ring is gray while the circle is white, which determines that the particles from the ring are smaller.
The grayscale value is from black (value = 0.00) to white (1.00). The final size alteration is from (Grayscale value x Start Scale X, Grayscale value x Start Scale Y, Grayscale value x Start Scale Z) --> (Grayscale value x Middle Scale X, Grayscale value x Middle Scale Y, Grayscale value x Middle Scale Z) --> (Grayscale value x End Scale X, Grayscale value x End Scale Y, Grayscale value x End Scale Z)
Save the image directly, the data will be updated automatically if the targa image is not ever closed.
Simulate to view the result. You can see that the particles from the ring is smaller than the ones from the circle.
Edit the targa image again. This time, edit the Blue channel as shown. It can determine the speed of the particles. The black one means no speed while the white means full speed (set in the Emitter Settings section); the gray means the speed between them. Save the image.
The grayscale value is from black (value = 0.00) to white (1.00). The final speed is (Grayscale value x Initial Speed )
Check out the result in iClone. You will see that the particles from the ring is slower than the ones from the circle.
In the image editor, add one more channel and named it Alpha 1. This channel determines the Brightness (can be adjusted in the Basic Attribute sub-section) of the particles.
White stands for the brightest, black will make them vanish while gray
will make them dimmer. Save the image.