OGRE  1.10.12
Object-Oriented Graphics Rendering Engine
Ogre::RTShader::DualQuaternionSkinning Class Reference

Implement a sub render state which performs dual quaternion hardware skinning. More...

#include <OgreShaderExDualQuaternionSkinning.h>

+ Inheritance diagram for Ogre::RTShader::DualQuaternionSkinning:

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)
 

Detailed Description

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.


The documentation for this class was generated from the following file: