
550 CHAPTER IO Subdivision Surfaces
7. Open the CubeSubdShaded.ma scene.
8. Select the subd object.
9. To tessellate the subdivision surface, execute the following.
subdToPoly-sampleCount 4.
move -r 0 0 1-
The polygonal mesh generated is a close match to the subdivision surface. The
mesh has a subdivToPoly node, subdivToPolyl, as part of its construction his-
tory. This can be changed to have the mesh automatically updated.
10. Execute the following to increase the surface detail.
setAttr subdivToPolyl.sampleCount 6;
C++ API
The SubdToMesh plug-in can be used to demonstrate the following.
• Creating a custom command to