Cl_pyramid.mel

[index]

28th March 2009   3:42pm 25sec
C:\Work\vsfx705\mel\Cl_pyramid.mel


pyramid



polyPlane;
scale 100 100 100;
  
for ($x = 0; $x < 5; $x++) {
for ($y =0 ; $y < 5; $y++) {
for ($z = 0; $z < 5; $z++) {
if($x >= -5 && $x <=5 || $y >= -5 && $y <= 5) 
    {
    polyCube;
  
        move     ($x * rand(1,5)) ($y * 2) ($z * 2);
         scale   ($y * 0.5) ($y * -0.5) ($y * 0.5);
            
    }
else 
    /*nothing*/    ;
    }
}         
}