|
Revision 11262, 0.6 kB
(checked in by mplatings, 3 years ago)
|
|
Workaround for files exported from SoftImage? that don't tag skeleton nodes correctly.
|
| Line | |
|---|
| 1 | #ifndef FBXRMESH_H |
|---|
| 2 | #define FBXRMESH_H |
|---|
| 3 | |
|---|
| 4 | #include <fbxfilesdk/fbxfilesdk_def.h> |
|---|
| 5 | #include <osgDB/ReaderWriter> |
|---|
| 6 | #include <osg/Material> |
|---|
| 7 | #include "fbxRNode.h" |
|---|
| 8 | osgDB::ReaderWriter::ReadResult readFbxMesh( |
|---|
| 9 | FBXFILESDK_NAMESPACE::KFbxSdkManager& pSdkManager, |
|---|
| 10 | FBXFILESDK_NAMESPACE::KFbxNode* pNode, |
|---|
| 11 | osg::ref_ptr<osgAnimation::AnimationManagerBase>& pAnimationManager, |
|---|
| 12 | std::vector<StateSetContent>&, |
|---|
| 13 | BindMatrixMap& boneBindMatrices, |
|---|
| 14 | const std::set<const KFbxNode*>& fbxSkeletons, |
|---|
| 15 | std::map<KFbxNode*, osgAnimation::Skeleton*>& skeletonMap); |
|---|
| 16 | |
|---|
| 17 | #endif |
|---|