Keep up-to-date with Free tutorials!!

 

Sign up to our twice-monthly newsletter today for the latest tutorials, interviews and product information.

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

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

By Johnny Z
| Your Rating:
rating star fullrating star fullrating star fullrating star fullrating star full
(1 Votes)
| 43183 Views
| 0 Comments
| Comments 0
Date Added: 30th December 2010
Software used:
Maya

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

1369_tid_figure11.jpg
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.

1369_tid_figure12.jpg
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).

1369_tid_figure13.jpg
Fig. 13

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

1369_tid_figure14.jpg
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.

1369_tid_figure15.jpg
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).

1369_tid_figure16.jpg
Fig. 16





< previous page next page >
 
1 | 2 | 3 | 4 | 5 | 6
Related Tutorials

Tutorial

Gallery Image.



Keywords: 3ds max, water, animation, particles

Go to tutorial
rating star fullrating star fullrating star fullrating star fullrating star full (2)
Comments 0 Views 6798

Tutorial

Gallery Image.



Keywords: Bubbles, 3ds Max, Particle Flow, Frost

Go to galleries 1
rating star fullrating star fullrating star fullrating star fullrating star half
Comments 2 Views 12474

Tutorial

Gallery Image.



Keywords: explosion, smoke, particle, technique,

Go to galleries 1
rating star fullrating star fullrating star fullrating star halfrating star none
Comments 0 Views 121103

Tutorial

Gallery Image.



Keywords: particle, system, foliage, max,

Go to galleries 1
rating star nonerating star nonerating star nonerating star nonerating star none
Comments 0 Views 11401
Readers Comments (Newest on Top)
no comments!
No comments yet. Be the first to comment!
Add Your Comment