Submit your movie showing your layers and the name of the passes with transitions.
MEL:
Explain last weeks first, % ...
What is a variable? why do we need them?
strings
int
float
Declare Var:
string $myName = "<myName>";
int $myAge = <age>
float $myHeight = <hight in inches>
Declare Array:
string $drawer[];
$drawer[0] = ?
$drawer[1] = ?
print $drawer;
string $allInScene[] = `ls`;
string $onlySelected[] = `ls -sl`;
Rand:
rand(-300,500);
Key all your cubes
For Loop:
string $objects = `ls -sl`;
for ($singleObj in $objects)
{
print "\n"
print $singleObj;
}
or
{
float $rx = rand(-30-30);
float $ry = rand(-30-30);
float $rz = rand(-30-30);
move -a $rx $ry $rz $singleObj;
}
move forward in time: key all your cubes
Flags:
polyCube -w 5 -h 2 -d 1 -sx 1 -sy 1 -sz 1 -ax 010 -ch 1;
Show:
- The Command Prompt
- Create a shelf button from the Script Editor
Class: Model a stone
How to Execute others MEL scripts
Download rockGen.mel
source rockGen File, launch rockGen
No comments:
Post a Comment