D3DRMINTERPOLATIONOPTIONS

Defines options for the IDirect3DRMInterpolator::Interpolate method. These options modify how the object is loaded.

typedef DWORD D3DRMINTERPOLATIONOPTIONS;

#define D3DRMINTERPOLATION_OPEN 0x01L

#define D3DRMINTERPOLATION_CLOSED 0x02L

#define D3DRMINTERPOLATION_NEAREST 0x0100L

#define D3DRMINTERPOLATION_LINEAR 0x04L

#define D3DRMINTERPOLATION_SPLINE 0x08L

#define D3DRMINTERPOLATION_VERTEXCOLOR 0x40L

#define D3DRMINTERPOLATION_SLERPNORMALS 0x80L

Parameters

D3DRMINTERPOLATION_OPEN

The first and last keys of each key chain will fix the interpolated values outside of the index span.

D3DRMINTERPOLATION_CLOSED

The interpolation is cyclic. The keys effectively repeat infinitely with a period equal to the index span. For compatibility with animations, any key with an index equal to the end of the span is ignored.

D3DRMINTERPOLATION_NEAREST

Nearest key value is used for in-betweening on each key chain.

D3DRMINTERPOLATION_LINEAR

Linear interpolation between the two nearest keys is used for in-betweening on each key chain.

D3DRMINTERPOLATION_SPLINE

A B-spline blending function on the 4 nearest keys is used for in-betweening on each key chain.

D3DRMINTERPOLATION_VERTEXCOLOR

Specifies that vertex colors should be interpolated. Only affects the interpolation of IDirect3DRMMesh::SetVertices.

D3DRMINTERPOLATION_SLERPNORMALS

Specifies that vertex normals should be spherically interpolated (not currently implemented). Only affects the interpolation of IDirect3DRMMesh::SetVertices.