FCDControllerTools Namespace Reference

Holds commonly-used transformation functions for skin controllers. More...


Functions

void FCOLLADA_EXPORT ApplyTranslationMap (const FCDSkinController *controller, const FCDGeometryIndexTranslationMap &translationMap, const UInt16List &packingMap, fm::pvector< const FCDSkinControllerVertex > &skinInfluences)
 Applies a translation map obtained from FCDGeometryPolygonsTools::GenerateUniqueIndices to a given FCDSkinController to synchronize with the updated indices.


Detailed Description

Holds commonly-used transformation functions for skin controllers.

Function Documentation

void FCOLLADA_EXPORT FCDControllerTools::ApplyTranslationMap const FCDSkinController controller,
const FCDGeometryIndexTranslationMap translationMap,
const UInt16List packingMap,
fm::pvector< const FCDSkinControllerVertex > &  skinInfluences
 

Applies a translation map obtained from FCDGeometryPolygonsTools::GenerateUniqueIndices to a given FCDSkinController to synchronize with the updated indices.

This is useful for older engines and the applications that only support one index per face-vertex pair.

Parameters:
controller The skin controller to process.
translationMap The map that translates old vertex position indices into new indices. This map is recieved from FCDGeometryPolygonsTools::GenerateUniqueIndices.


Generated on Thu Feb 14 16:58:42 2008 for FCollada by  doxygen 1.4.6-NO