Maya Python polyPlanarProjection

Script Example 1 #create a new blinn shader with a bitmap image #Create a polygonal sphere #select 100 faces and apply the planar projection to them #apply the shader to all these faces import maya.cmds as cmdscmds.polySphere()for i in range(100):‘pSphere1.f[%d]’%i)

Maya Python Animation setKeyframe

In this example we’ll be looking at how to create keyframes with code. The script will animate a lot of small cubes placed on a sphere. We need 3 blinn shaders. First we create a sphere with default parameters.Then we create 250 small cubes. We use variable col1 for changing the cube color. pointPosition helps […]