- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I need to convert a NURBS surface to a mesh that can be used by my plugin. To do so, I get the MFnNurbsSurface for the object and use MFnNurbsSurface::tesselate to get the mesh.
However, the mesh after tessellation is sometimes different from the mesh rendered by the Maya renderer. How can I get a mesh that matches the result from the Maya renderer?
I am thinking that the difference might be caused by differences in the tessellation options seen in the attribute editor when selecting the NURBS surface, or in the Render menu > Set NURBS Tesselation options on one hand and the values of MTesselationParams used for calling tesselate. But I cannot figure out if and how the 2 sets of values correspond. There is some resemblance between the names of some parameters, but many parameters do not seem to have direct equivalents.
Solved! Go to Solution.