### Keep up-to-date with Free tutorials!!

Sign me up to receive third-party emails from 3dtotal's partners, too!

- Latest news
- Exclusive Shop Offers
- Preview early content
- Plus much more

Not Ready to take that step? OK, Why not just Subscribe to the RSS Feed

1 | 2 | 3 | 4 | 5 | 6
Creating Orbiting Planets with Maya's Particle Instancer

(Score 4.67 out of 5 after 3 Votes)
| 67259 Views
| 0
Software used:
Keywords:

Now if you hit play, 6 particles numbering from 0-5 will appear over one second (Fig.11).

Fig. 11

Now we will attach the geometry to the particles using the instancer. Select the Sun, Jupiter, Io, Europa, Ganymede and Callisto geometries and then the particle transform node in that order. Under particles, click instancer (replacement) (Fig.12). You can now hide your original geometries.

Fig. 12

If you hit play you will notice an instance of the sun geometry is being emitted with every particle. Obviously not what we want. Select the particleShape1 node and, in the attribute editor, under the instancer (geometry replacement) tab, change the object index to Particle ID (Fig.13).

Fig. 13

Now the instancer places the geometry onto the particles in the order we selected them earlier (Fig.14).

Fig. 14

Since we are going to be controlling the movement of these particles with expressions we don't need any initial velocity from the emitter, which can cause problems later on. Select the emitter and set the speed to 0 in the attribute editor (Fig.15). Now if you hit play the planets will be emitted but they won't go anywhere.

Fig. 15

Now it's time for expressions!

When writing expressions there are a few data types that can be used. The only one that we will use here is a vector data type. A vector is a set of data with 3 parts. It never has less or more that 3 parts to it. An example of a vector in Maya is color: R,G and B being the 3 parts. Another example, and the one we will use, is position: X, Y and Z.

We will define vector variables which the expression can reference whenever called upon. Select the particleShape1 node and under Per Particle (Array) Attributes, right click in the position text field and select Runtime Expression Before Dynamics from the drop down menu (Fig.16).

Fig. 16

## < previous page continued on next page >

1 | 2 | 3 | 4 | 5 | 6
Related Tutorials

Creating a Smoke-Based Explosion in Fume FX

by Vikas Nagolkar
published on 2013-06-17

Keywords: explosion, smoke, particle, technique,

(25)
2 173757

Particle Blazing Fire In 3DSMAX

by Ghassan Lafi
published on 2009-12-09

Keywords: fire, blaze, particle, max,

(10)
7 79660

Painting Planets

by Cristian A.G
published on 2009-06-16

Keywords: painting, planets, photoshop,

(14)
9 108779

Using a Particle System to Create Foliage

by Luciano Iurino
published on 2009-12-09

Keywords: particle, system, foliage, max,

(3)
0 17283