Effects


Maya provides all sorts of premade particle effects to set objects on fire, emit smoke, produce lightning, even make a river flow through a valley. Typically these act as a starting point for something more complex, so you'll need to adjust them to get the desired effect.

By using a premade effect from the Effects menu, you can take advantage of a particle system with additional attributes that directly affect the way the particles react, or render. These attributes are made up of premade expressions and connections. When you make fire using the Create Fire effect, for example, Maya automatically connects Turbulence, Gravity, and Drag fields to the particles, as well as a premade shader and special expressions to give you added control.

Here is a brief description of each of the seven premade effects:

  • Create Fire Produces an emitter that has Gravity, Drag, and Turbulence fields attached to a Cloud particle. You can set Density, Radius, Direction, and Intensity using the Options menu. Fire can be emitted from a surface, curve, or directional point. A directional point will emit fire particles in a specified direction from any point in space (Figure 18.41).

    Figure 18.41. The Fire effect.


  • Create Smoke Produces an emitter that uses Sprite images instead of Clouds or Points (Figure 18.42). To use a particular set of images, select Sprite Wizard from the Particles menu. A default set of images and directions are included with the program. You can set Lifespan, Opacity, Direction, Spread, and Speed in the Options menu.

    Figure 18.42. The Smoke effect.


  • Create Fireworks Produces a cluster of rockets and explosions according to the options you set (Figure 18.43).

    Figure 18.43. The Fireworks effect.


  • Create Lightning Creates an animated electric bolt between two or more objects (Figure 18.44). You can adjust Thickness, Spread, Jagged Sections, and Glow and Light Intensity in the Options menu.

    Figure 18.44. The Lightning effect.


  • Create Shatter Lets you break apart an object into a specified number of pieces (Figure 18.45). There are three types of Shatter: Surface, Solid, and Crack.

    Figure 18.45. The Shatter effect.


  • Surface Flow Creates manipulators that will direct particles to flow along a NURBS surface (Figure 18.46).

    Figure 18.46. The Surface Flow effect.


  • Create Curve Flow Produces manipulators to control the flow of particles along a curve's path (Figure 18.47).

    Figure 18.47. The Curve Flow effect.


To make an object emit fire:

1.

Create a polygon cylinder. Rotate and scale it to represent a log (Figure 18.48).

Figure 18.48. A cylinder used to represent a log.


2.

Select the cylinder and, from the Effects menu, select Create Fire.

3.

Click Play to start the fire simulation (Figure 18.49).

Figure 18.49. The fire effect during playback.


4.

Click Stop at any point in the timeline and render the Perspective view to see the results.

5.

Select the particles and open the Attribute Editor.

6.

Under Extra Attributes, change Fire Density to 20, Fire Lifespan to 0.2, and Fire Speed to 10; then play back the animation to see the effect (Figure 18.50).

Figure 18.50. Extra attributes to affect the fire particles.


Try changing these and other attributes to get a different type of fire effect.

7.

Make your changes. Rewind, play, stop, and render to see the results.

To create lightning:

1.

Create two spheres and translate them so that they aren't overlapping (Figure 18.51).

Figure 18.51. Two spheres used to create a lightning effect.


2.

Select both spheres.

3.

From the Effects menu, select Create Lightning.

A zigzag appears between the two spheres. Also created are two locators, a light, and a selection handle.

4.

Select one of the locators and translate it away from the objects.

The lightning will now have a curve in its trajectory (Figure 18.52).

Figure 18.52. Select the locator and move it to put an arc in the lightning bolt.


5.

Select the selection handle in the middle of the lightning object (Figure 18.53).

Figure 18.53. The selection handle for the lightning effect.


6.

In the Channel Box, adjust the attributes for Thickness, Start and End, and Color to get the desired effect.

You can also find these attributes in the Attribute Editor on the Lightning1 tab in the Extra Attributes section.



    Maya for Windows and Macintosh
    MAYA for Windows and MacIntosh
    ISBN: B002W9GND0
    EAN: N/A
    Year: 2004
    Pages: 147
    Authors: Danny Riddell

    flylib.com © 2008-2017.
    If you may any questions please contact us: flylib@qtcs.net