
564 CHAPTER IO Subdivision Surfaces
The transform node is added to the list.
nurbsTransforms.append( transform ).
The NURBS surface shape nodes are added as children to the transform node. The
shape nodes are also added to the initial shading group.
dagFn.setObject( transform );
unsigned int j;
for( j=O; j < nurbsSurfs.length(); j++ )
{
dagFn.addChild( nurbsSurfs[j] );
MFnDependencyNode depFn( nurbsSurfs[j] );
MGlobal::executeCommand( MString("sets -e -fe
initialShadingGroup ") +
depFn.name() );
1.0.5
EDITING SUBDIVISION SURFACES
In Maya, a subdivision surface consists of a base polygonal mesh with any number