3ds Max C++ API Reference
Parameter types for shape interpolation

(Must match types in spline3d.h & polyshp.h) More...

Macros

#define PARAM_SIMPLE   0
 Parameter space based on segments. More...
 
#define PARAM_NORMALIZED   1
 Parameter space normalized to curve length. More...
 
#define POLYSHP_INTERP_SIMPLE   0
 Parameter space based on segments. More...
 
#define POLYSHP_INTERP_NORMALIZED   1
 Parameter space normalized to curve length. More...
 
#define SPLINE_INTERP_SIMPLE   0
 Parameter space based on segments. More...
 
#define SPLINE_INTERP_NORMALIZED   1
 Parameter space normalized to curve length. More...
 

Detailed Description

(Must match types in spline3d.h & polyshp.h)

Macro Definition Documentation

◆ PARAM_SIMPLE

#define PARAM_SIMPLE   0

Parameter space based on segments.

This simple interpolation is

◆ PARAM_NORMALIZED

#define PARAM_NORMALIZED   1

Parameter space normalized to curve length.

This interpolation normalizes the parameter

◆ POLYSHP_INTERP_SIMPLE

#define POLYSHP_INTERP_SIMPLE   0

Parameter space based on segments.

This simple interpolation is based on parameter space. If a polyline has four segments, the first segment has parameter values 0-0.25, the second 0.25-0.5, the third 0.5-0.75, and the fourth 0.75-1.0. This is regardless of the length of each segment.

◆ POLYSHP_INTERP_NORMALIZED

#define POLYSHP_INTERP_NORMALIZED   1

Parameter space normalized to curve length.

This interpolation normalizes the parameter space to distance along the length of a polyline. So, parameter space 0 is the start, 1.0 is the end, and 0.5 is halfway along the actual length of the curve.

◆ SPLINE_INTERP_SIMPLE

#define SPLINE_INTERP_SIMPLE   0

Parameter space based on segments.

This simple interpolation is based on parameter space. If a spline has four segments, the first segment is parameter values 0-0.25, the second is 0.25-0.5, the third is 0.5-0.75, and the fourth is 0.75-1.0. This is regardless of the length of each segment.

◆ SPLINE_INTERP_NORMALIZED

#define SPLINE_INTERP_NORMALIZED   1

Parameter space normalized to curve length.

This interpolation normalizes the parameter space to distance along the length of a spline. So, parameter space 0 is the start, 1.0 is the end, and 0.5 is halfway along the actual length of the curve.