|
Revision 11213, 0.9 kB
(checked in by paulmartz, 3 years ago)
|
|
Backport FBX plugin to 2.8 branch. Modified FBX to use the old osgDB::ReaderWriter::Options namespace. This commit includes a merge of r11111 (osgDB UTF mods).
|
-
Property svn:mime-type set to
text/x-cpp
-
Property svn:eol-style set to
native
|
| Line | |
|---|
| 1 | #ifndef FBXRNODE_H |
|---|
| 2 | #define FBXRNODE_H |
|---|
| 3 | |
|---|
| 4 | #include "fbxMaterialToOsgStateSet.h" |
|---|
| 5 | namespace osgAnimation |
|---|
| 6 | { |
|---|
| 7 | class AnimationManagerBase; |
|---|
| 8 | class RigGeometry; |
|---|
| 9 | } |
|---|
| 10 | |
|---|
| 11 | typedef std::map<std::pair<KFbxNode*, osgAnimation::RigGeometry*>, osg::Matrix> BindMatrixMap; |
|---|
| 12 | |
|---|
| 13 | osgAnimation::Skeleton* getSkeleton(KFbxNode*, std::map<KFbxNode*, osgAnimation::Skeleton*>&); |
|---|
| 14 | |
|---|
| 15 | osgDB::ReaderWriter::ReadResult readFbxNode( |
|---|
| 16 | FBXFILESDK_NAMESPACE::KFbxSdkManager& pSdkManager, |
|---|
| 17 | FBXFILESDK_NAMESPACE::KFbxNode* pNode, |
|---|
| 18 | osg::ref_ptr<osgAnimation::AnimationManagerBase>& pAnimationManager, |
|---|
| 19 | bool& bIsBone, |
|---|
| 20 | int& nLightCount, |
|---|
| 21 | FbxMaterialToOsgStateSet& fbxMaterialToOsgStateSet, |
|---|
| 22 | std::map<KFbxNode*, osg::Node*>& nodeMap, |
|---|
| 23 | BindMatrixMap& boneBindMatrices, |
|---|
| 24 | std::map<KFbxNode*, osgAnimation::Skeleton*>& skeletonMap, |
|---|
| 25 | const osgDB::ReaderWriter::Options* options = NULL); |
|---|
| 26 | |
|---|
| 27 | #endif |
|---|