Data Structures |
|
struct | RpInterpolator |
Functions |
|
RwInt32 | RpInterpolatorGetStartMorphTarget (const RpInterpolator *interpolator) |
RwInt32 | RpInterpolatorGetEndMorphTarget (const RpInterpolator *interpolator) |
RwReal | RpInterpolatorGetValue (const RpInterpolator *interpolator) |
RwReal | RpInterpolatorGetScale (const RpInterpolator *interpolator) |
RpInterpolator * | RpInterpolatorSetStartMorphTarget (RpInterpolator *interpolator, RwInt32 morphTarget, RpAtomic *atomic) |
RpInterpolator * | RpInterpolatorSetEndMorphTarget (RpInterpolator *interpolator, RwInt32 morphTarget, RpAtomic *atomic) |
RpInterpolator * | RpInterpolatorSetValue (RpInterpolator *interpolator, RwReal value, RpAtomic *atomic) |
RpInterpolator * | RpInterpolatorSetScale (RpInterpolator *interpolator, RwReal scale, RpAtomic *atomic) |
An Interpolator object contains an instance of dynamic geometry data, interpolated from keyframes stored in Morph Targets. It is this data which ends up being rendered when working with keyframe-animated models.
|
RpInterpolatorGetEndMorphTarget is used to retrieve the index of the end morph target for the given interpolator. The end morph target contains the geometry which will be rendered when the interpolator reaches its maximum value (equal to the interpolator's scale). By default the end morph target has index zero corresponding to the first morph target in the atomic's geometry. Note that this function is used for debug purposes only and, for efficiency, is available as a macro for final release versions of an application. The world plugin must be attached before using this function.
|
|
RpInterpolatorGetScale is used to retrieve the current scale of the specified interpolator. The scale corresponds to the maximum value the interpolator can have. A new atomic has a scale of one. Note that this function is used for debug purposes only and, for efficiency, is available as a macro for final release versions of an application. The world plugin must be attached before using this function.
|
|
RpInterpolatorGetStartMorphTarget is used to retrieve the index of the start morph target for the given interpolator. The start morph target contains the geometry which will be rendered when the interpolator value is zero. By default the start morph target has index zero corresponding to the first morph target in the atomic's geometry. Note that this function is used for debug purposes only and, for efficiency, is available as a macro for final release versions of an application. The world plugin must be attached before using this function.
|
|
RpInterpolatorGetValue is used to retrieve the current value of the specified interpolator. Valid interpolator values are in the range from zero up to the interpolator's scale. For a new atomic the value is zero. Note that this function is used for debug purposes only and, for efficiency, is available as a macro for final release versions of an application. The world plugin must be attached before using this function.
|
|
RpInterpolatorSetEndMorphTarget is used to define the index of the end morph target for the given interpolator. The end morph target contains the geometry which will be rendered when the interpolator reaches its maximum value (equal to the interpolator's scale). By default the end morph target has index zero corresponding to the first morph target in the atomic's geometry. Calling this function will cause the owning atomic's frame to be flagged as dirty, so that it is brought up to date at the next synchronization stage (see RwFrameUpdateObjects). This is so that any changes in the atomics bounding sphere can be taken into account when calculating what sectors the atomic overlaps. This behavior can be overridden (in the case where the application can bring bounding spheres up-to-date in a more efficient manner) by setting the rpINTERPOLATORNOFRAMEDIRTY flag for the interpolator. Note that this function is used for debug purposes only and, for efficiency, is available as a macro for final release versions of an application. The world plugin must be attached before using this function.
|
|
RpInterpolatorSetScale is used to define the current scale for the given interpolator. The scale corresponds to the maximum value the interpolator can have. A new atomic has a scale of one. Calling this function will cause the owning atomic's frame to be flagged as dirty, so that it is brought up to date at the next synchronization stage (see RwFrameUpdateObjects). This is so that any changes in the atomics bounding sphere can be taken into account when calculating what sectors the atomic overlaps. This behavior can be overridden (in the case where the application can bring bounding spheres up-to-date in a more efficient manner) by setting the rpINTERPOLATORNOFRAMEDIRTY flag for the interpolator. Note that this function is used for debug purposes only and, for efficiency, is available as a macro for final release versions of an application. The world plugin must be attached before using this function.
|
|
RpInterpolatorSetStartMorphTarget is used to define the index of the start morph target for the given interpolator. The start morph target contains the geometry which will be rendered when the interpolator value is zero. By default the start morph target has index zero corresponding to the first morph target in the atomic's geometry. Calling this function will cause the owning atomic's frame to be flagged as dirty, so that it is brought up to date at the next synchronization stage (see RwFrameUpdateObjects). This is so that any changes in the atomics bounding sphere can be taken into account when calculating what sectors the atomic overlaps. This behavior can be overridden (in the case where the application can bring bounding spheres up-to-date in a more efficient manner) by setting the rpINTERPOLATORNOFRAMEDIRTY flag for the interpolator. Note that this function is used for debug purposes only and, for efficiency, is available as a macro for final release versions of an application. The world plugin must be attached before using this function.
|
|
RpInterpolatorSetValue is used to define the current value for the given interpolator. Valid interpolator values are in the range from zero up to the interpolator's scale. For a new atomic the value is zero. Calling this function will cause the owning atomic's frame to be flagged as dirty, so that it is brought up to date at the next synchronization stage (see RwFrameUpdateObjects). This is so that any changes in the atomics bounding sphere can be taken into account when calculating what sectors the atomic overlaps. This behavior can be overridden (in the case where the application can bring bounding spheres up-to-date in a more efficient manner) by setting the rpINTERPOLATORNOFRAMEDIRTY flag for the interpolator. Note that this function is used for debug purposes only and, for efficiency, is available as a macro for final release versions of an application. The world plugin must be attached before using this function.
|
Converted from CHM to HTML with chm2web Pro 2.85 (unicode) |