Required Changes To NURBS Related Plug-Ins

3DS Max Plug-In SDK

Required Changes To NURBS Related Plug-Ins

See Also: What's New in the MAX 3.0 SDK, Required Changes to MAX 2.0 Plug-Ins for MAX 3.0.

Overview

This section discusses the changes to the NURBS API that affects plug-ins. Note that not all these changes are required of every NURBS related plug-in. A brief description of the new or changed methods is provied here. Please refer to the reference section for the methods for details.

New NURBS Texture Surface API

The API for NURBS Texture Surfaces has changes significantly to reflect the underlying change. This reflects a significant architectural change and will mean that users of the API will need to rebuild this functionality. See the sub-section Texture Mapping in Working with NURBS for a list of the new or revised classes.

Replaced or Eliminated Methods

Two methods have been removed from Class NURBSExtrudeSurface. These are:

void SetEVec(TimeValue t, Point3& evec);

Point3& GetEVec(TimeValue t);

They are replace by the methds:

void SetAxis(TimeValue t, Matrix3& ray);

Matrix3& GetAxis(TimeValue t);

Tesselation Related Changes

The tesselation methods have changed in this release. This impacts several areas such as Class NURBSSet and Class TessApprox. There are also some new tesselation related global functions available. See Working with NURBS to review these.

Material IDs

Material IDs have been added to NURBS curves. Class NURBSCurve now has a new data member int mMatID.