OGRE
1.10.12
Object-Oriented Graphics Rendering Engine
|
Implement a sub render state which performs hardware skinning. More...
#include <OgreShaderExLinearSkinning.h>
Public Member Functions | |
LinearSkinning () | |
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 hardware skinning.
Meaning, this sub render states adds calculations which multiply the points and normals by their assigned bone matricies.