OGRE
1.10.12
Object-Oriented Graphics Rendering Engine
|
Implement a sub render state which performs dual quaternion hardware skinning. More...
#include <OgreShaderExDualQuaternionSkinning.h>
Public Member Functions | |
DualQuaternionSkinning () | |
Class default constructor. More... | |
virtual bool | addFunctionInvocations (ProgramSet *programSet) |
virtual void | copyFrom (const HardwareSkinningTechnique *hardSkin) |
ushort | getBoneCount () |
Returns the number of bones in the model assigned to the material. More... | |
ushort | getWeightCount () |
Returns the number of weights/bones affecting a vertex. More... | |
bool | hasCorrectAntipodalityHandling () |
Only applicable for dual quaternion skinning. More... | |
bool | hasScalingShearingSupport () |
Only applicable for dual quaternion skinning. More... | |
virtual bool | resolveDependencies (ProgramSet *programSet) |
virtual bool | resolveParameters (ProgramSet *programSet) |
void | setDoBoneCalculations (bool doBoneCalculations) |
void | setHardwareSkinningParam (ushort boneCount, ushort weightCount, bool correctAntipodalityHandling=false, bool scalingShearingSupport=false) |
Implement a sub render state which performs dual quaternion hardware skinning.
This sub render state uses bone matrices converted to dual quaternions and adds calculations to transform the points and normals using their associated dual quaternions.