root/OpenSceneGraph/trunk/src/osgPlugins/fbx/fbxRNode.h @ 11153

Revision 11153, 0.8 kB (checked in by mplatings, 3 years ago)

Fix for some FBX files with multiple meshes bound to a bone.

Line 
1#ifndef FBXRNODE_H
2#define FBXRNODE_H
3
4#include "fbxMaterialToOsgStateSet.h"
5namespace osgAnimation
6{
7    class AnimationManagerBase;
8    class RigGeometry;
9}
10
11typedef std::map<std::pair<KFbxNode*, osgAnimation::RigGeometry*>, osg::Matrix> BindMatrixMap;
12
13osgAnimation::Skeleton* getSkeleton(KFbxNode*, std::map<KFbxNode*, osgAnimation::Skeleton*>&);
14
15osgDB::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::Options* options = NULL);
26
27#endif
Note: See TracBrowser for help on using the browser.