select -all;
doDelete;
string $name;
string $name2;
for ($z=0; $z<8; ++$z)
{
    for ($y=0; $y<8; ++$y)
    {
        for ($x=0; $x<8; ++$x)
        {
            $name = `shadingNode -asShader blinn`;
            $name2 = $name + ".color";
            setAttr $name2 -type double3 ($x/7.0) ($y/7.0) ($z/7.0);
            polySphere -ch on -o on -r .03;
            xform -translation ($x/8.0) ($y/8.0) ($z/8.0);
            hyperShade -assign $name;
        }
    }
};
 
No comments:
Post a Comment