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

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

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

RevLine 
[10780]1#ifndef FBXRNODE_H
2#define FBXRNODE_H
3
[11109]4#include "fbxMaterialToOsgStateSet.h"
[10780]5namespace osgAnimation
6{
7    class AnimationManagerBase;
[11153]8    class RigGeometry;
[10780]9}
10
[11153]11typedef std::map<std::pair<KFbxNode*, osgAnimation::RigGeometry*>, osg::Matrix> BindMatrixMap;
12
[11139]13osgAnimation::Skeleton* getSkeleton(KFbxNode*, std::map<KFbxNode*, osgAnimation::Skeleton*>&);
14
[10780]15osgDB::ReaderWriter::ReadResult readFbxNode(
16    FBXFILESDK_NAMESPACE::KFbxSdkManager& pSdkManager,
17    FBXFILESDK_NAMESPACE::KFbxNode* pNode,
18    osg::ref_ptr<osgAnimation::AnimationManagerBase>& pAnimationManager,
[11139]19    bool& bIsBone,
[11109]20    int& nLightCount,
21    FbxMaterialToOsgStateSet& fbxMaterialToOsgStateSet,
[11141]22    std::map<KFbxNode*, osg::Node*>& nodeMap,
[11153]23    BindMatrixMap& boneBindMatrices,
[11141]24    std::map<KFbxNode*, osgAnimation::Skeleton*>& skeletonMap,
[11109]25    const osgDB::Options* options = NULL);
[10780]26
27#endif
Note: See TracBrowser for help on using the browser.