openscenegraph
|
This class manage format for hardware skinning. More...
Classes | |
struct | IndexWeightEntry |
Public Types | |
typedef osg::Matrix | MatrixType |
typedef osgAnimation::Bone | BoneType |
typedef std::vector < osg::ref_ptr< osg::Vec4Array > > | BoneWeightAttribList |
typedef std::vector < osg::ref_ptr< BoneType > > | BonePalette |
typedef std::vector< osg::Matrix > | MatrixPalette |
typedef std::vector < std::vector < IndexWeightEntry > > | VertexIndexWeightList |
Protected Member Functions | |
bool | init (RigGeometry &) |
BoneWeightAttribList | createVertexAttribList () |
osg::Uniform * | createVertexUniform () |
Additional Inherited Members | |
![]() | |
static OpenThreads::Mutex * | getGlobalReferencedMutex () |
static void | setThreadSafeReferenceCounting (bool enableThreadSafeReferenceCounting) |
static bool | getThreadSafeReferenceCounting () |
static void | setDeleteHandler (DeleteHandler *handler) |
static DeleteHandler * | getDeleteHandler () |
This class manage format for hardware skinning.
typedef std::vector<osg::ref_ptr<BoneType> > osgAnimation::RigTransformHardware::BonePalette |
typedef std::vector<osg::ref_ptr<osg::Vec4Array> > osgAnimation::RigTransformHardware::BoneWeightAttribList |
typedef std::vector<osg::Matrix> osgAnimation::RigTransformHardware::MatrixPalette |
typedef std::vector<std::vector<IndexWeightEntry> > osgAnimation::RigTransformHardware::VertexIndexWeightList |
osgAnimation::RigTransformHardware::RigTransformHardware | ( | ) |
void osgAnimation::RigTransformHardware::computeMatrixPaletteUniform | ( | const osg::Matrix & | transformFromSkeletonToGeometry, |
const osg::Matrix & | invTransformFromSkeletonToGeometry | ||
) |
bool osgAnimation::RigTransformHardware::createPalette | ( | int | nbVertexes, |
BoneMap | boneMap, | ||
const VertexInfluenceSet::VertexIndexToBoneWeightMap & | vertexIndexToBoneWeightMap | ||
) |
|
protected |
|
protected |
osg::Uniform* osgAnimation::RigTransformHardware::getMatrixPaletteUniform | ( | ) |
int osgAnimation::RigTransformHardware::getNumBonesPerVertex | ( | ) | const |
int osgAnimation::RigTransformHardware::getNumVertexAttrib | ( | ) |
int osgAnimation::RigTransformHardware::getNumVertexes | ( | ) | const |
osg::Vec4Array* osgAnimation::RigTransformHardware::getVertexAttrib | ( | int | index) |
|
protected |
|
virtual |
Reimplemented from osgAnimation::RigTransform.
void osgAnimation::RigTransformHardware::setShader | ( | osg::Shader * | ) |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |