In the following steps, you’ll create a particle object made of 100 randomly positioned particles displayed as tiny spheres.
You’ll also dynamically add an attribute to the particles. To color particles with an expression, Maya requires you to dynamically
add the appropriate attribute.
To create a particle object
- Make sure you’ve done the steps in Preparing for the lessons.
- From the menu set, select >.
- In the window, click , and set the following options:
- : Bubbles
- : 100
- : 5
- Click in the scene view (roughly in the center) to create the 100-particle object.
- From the , select the so that particles become selected.
- With Bubbles selected, display the .
- In the , select the BubblesShape tab, and then open the section and set the following:
- : Spheres
- : Click .
- : 0.5
- In the section of the , click . A window appears that prompts you to choose whether to add the attribute per object, per particle, or connected to a shader.
- Turn on , then click .
This adds an RGB PP attribute to the particle shape node for Bubbles. Because you’re adding this attribute as a per particle
attribute, you can give each particle a different color.