You are on page 1of 5

Maya Tutorials - Creating the logo effect from Matrix

HIGHEND3D > Maya > Tips & Tutorials

Creating the logo effect from Matrix

Maya expressions and dynamics is great. We can produce some cool special effects using maya.
Now we are going to reproduce some of the logo effect of the film "Matrix" using maya particles and
expressions.Now let us begin.
First we need to create all the 26 letters ,from "a" to "z". Creat----text, open the option ,set the text type to poly.
Type "abcd.......xyz" in the text box. Press "Create".
[Maya]
- Mel Scripts
- Forums
- Hardware Tests
- List Servers
- List Archive
- Game Archive
- Dev Archive
- Plugins
- Shaders
- Tools
- Tips & Tutorials
- Users Links

Now you have all the letters you want.Open the outline window, you can find that maya has create two groups.
One contains all the curve of the letters and another contains the 26 mesh objects. Delete the group contains all the
curve. Here we need only the group contains all the polygon letters.

Now we need to write a script to rename all the polygen letters to names that are easy for later use.use the script
below to rename all the letters. Of course you can rename them by hand. ( I am not sure the script is optimised,
maybe you can write one better, but this one really dose the work).

int $i;
string $t="abcdefghijklmnopqrstuvwxyz";
string $cmd="rename Trim_Char_";
for($i=1;$i<=26;$i++)
{string $temp;
$temp=eval("substring "+$t+" "+$i+" "+$i);
print($temp);
eval($cmd+$temp+"_1_1 "+"text"+$i);
};

file:///D|/TEMP/Maya Tutorials - Creating the logo effect from Matrix.htm (1 of 5) [24.6.2000 ?. 13:41:43]
Maya Tutorials - Creating the logo effect from Matrix
type the script in your script editor and execute it.Now your outline window should show this.

now select all the polygon letters and Center pivot, translate to abs(0,0,0), then freezetransform. Then hide all of
them.

Create a 10*20 nurbs plane. Select the plane and add a particle emitter to it.The emitter type is set to surface.
Rotate the plane 180 degrees along z axis. Set the speed of the emission to about 15. emitter rate to 0.2 .

Now we will add one attribute to the particleshape node .


Select particleshape1, open the attribute editor. click the "general" under "add dynamic attributes"section. Add a
new attribute named "index" and set the attribute type to "Array".

file:///D|/TEMP/Maya Tutorials - Creating the logo effect from Matrix.htm (2 of 5) [24.6.2000 ?. 13:41:43]
Maya Tutorials - Creating the logo effect from Matrix

Next to make an particleinstancer.Select all the polygen letters in the outline window( note: dont select the group),
creat particle instancer.In the option window, turn on "Allow All data types".select the "objectindex" to the new
attribute "index".

file:///D|/TEMP/Maya Tutorials - Creating the logo effect from Matrix.htm (3 of 5) [24.6.2000 ?. 13:41:43]
Maya Tutorials - Creating the logo effect from Matrix

Now you will see all the particles in the scene turned int letter "a". we are going to add
an expressions to make each of the particles to instance one random letter.
Select particleshape1 and open the expression editor.Add the runtime expression
index=rand(1,26);
Play the animtion and you will find that each particles are now instancing a random letter and changes every
frame. It is now near the effect we want. But we still need to write some expressions to control the motion of each
particle.

Select particleshape1 and add one another array attribute "gate". It has not much meaning , just for used in the
expression. Add the runtime expressions below to the particleshape1.

particleShape1.index=rand(1,26);
vector $temp=particleShape1.worldVelocity;
if ($temp.y<=rand(-10,-5))
{ particleShape1.gate=1;};
if ($temp.y>=(-1))
{particleShape1.gate=0;};

if (particleShape1.gate==1){ particleShape1.acceleration=<<0,rand(20,25),0>>;
//print("aaaa");
};
if (particleShape1.gate==0) {
particleShape1.acceleration=<<0,rand(-25,-20),0>>;
//print("bbbb");
};

These expressions is to control the acceleration of each particles along the y axis. Play the animation and you can
now get a cool random acceleratoin effect for the particles;
Finally you need to position your camera and do render. I rendered the front camera. I think it looks good. When
done, you can use Maya fusion or some other software to add some motion blur or tail effects. Here is a picture of
my last effect.

file:///D|/TEMP/Maya Tutorials - Creating the logo effect from Matrix.htm (4 of 5) [24.6.2000 ?. 13:41:43]
Maya Tutorials - Creating the logo effect from Matrix

At last, you can change the expressions to get some other special effects. All is you imagine. Have Fun
¡¡
Harley Zhao
Original Force Animation Studio
¡¡

About Us Partners & Sponsors Terms & Conditions Advisory Board Contact Us Advertise
Produced by Will McCullough. Copyright © 1999-2000 HIGHEND Network All rights reserved. All other marks are property of their respective owners.

file:///D|/TEMP/Maya Tutorials - Creating the logo effect from Matrix.htm (5 of 5) [24.6.2000 ?. 13:41:43]

You might also like