void skinWithBlendShapes(const Character &character, const SkeletonStateT< T > &state, const ModelParametersT< T > &modelParams, MeshT< T > &outputMesh)
Applies blend shape deformations and skeletal transformations to a mesh.
BlendWeightsT< T > extractFaceExpressionBlendWeights(const ParameterTransform ¶mTransform, const ModelParametersT< T > &modelParams)
Extracts facial expression blend shape weights from model parameters.
ParameterTransformT< float > ParameterTransform
BlendWeightsT< T > extractBlendWeights(const ParameterTransform ¶mTransform, const ModelParametersT< T > &modelParams)
Extracts blend shape weights from model parameters.
A character model with skeletal structure, mesh, and optional components.
A generic mesh representation with support for vertices, faces, lines, and texture coordinates.
A vector of size numModelParams holding the values of all model parameters for a character.
Represents the complete state of a skeleton.