Inside Sabertooth
Learn how Sabertooth uses 3ds Max to create 3D interactive projects, including HBO Go’s Game of Thrones interactive experience
  • 1/3
You are here: Forum Home / Autodesk® FBX® / FBX SDK / FBX 2009 SDK Deformer Exception
  RSS 2.0 ATOM  

FBX 2009 SDK Deformer Exception
Rate this thread
 
56480
 
Permlink of this thread  
avatar
  • Total Posts: 1
  • Joined: 02 June 2011 04:35 AM

Hi

We have a VC++ project, running in VS .NET 2003 (Unfortunately upgrading is not an option right now). I’m trying to load an FBX model with a skin deformer, using the 2009 FBX SDK.

Whenever I call either KFbxMesh::GetDeformer or KFbxMesh::GetDeformerCount on a mesh instance, an unhandled memory access exception occurs with the following stack trace:

fbxsdk_200903::KRedBlackTree<fbxsdk_200903::KMap<int,fbxsdk_200903::KFbxPropertyEntry *,fbxsdk_200903::KFbxLessCompare<int>,fbxsdk_200903::KHungryAllocator>::KKeyValuePair,fbxsdk_200903::KFbxLessCompare<int>,fbxsdk_200903::KHungryAllocator>::Find() C++
fbxsdk_200903::KFbxPropertyPage::GetPropertyItem<fbxsdk_200903::KFbxPropertyConnect>() + 0x20 C++
fbxsdk_200903::KFbxPropertyPage::GetSrcCount() + 0x1f C++
fbxsdk_200903::KFbxPropertyHandle::GetSrcCount() + 0x16 C++
fbxsdk_200903::KFbxProperty::GetSrcObjectCount() + 0x41 C++
fbxsdk_200903::KFbxGeometry::GetDeformerCount() + 0x1a C++

The latest FBX SDK’s headers do not compile with VS2003.
The FBX file was exported using 3DS MAX 2010 (v6.1.0 FBX)
The exception doesn’t occur with v7.2.0 FBX files exported with MAX2011/12 but the older SDK couldn’t get the correct time frame information from these newer FBX files. (GlobalTimeSettings always contained a time span of only 1 second)

I’m attaching both the v6.1 and v7.2 FBX files. (It’s a simple cube linked to 2 bones)

Do you have any ideas what I can do in this situation?

If you need any more info, let me know.

Thanks



Attachment Attachment
Replies: 1
/userdata/avatar/uxh72ggpe.jpg

I suspect we might have fixed a bug in later versions of the FBX SDK, and we do not intend to release a patch for a 2010 version of the FBX SDK since it is quite old. We are sorry, but VS2003 is not supported anymore since the FBX 2010.x release.

However, do you experience this issue when using latest releases of both the products and the FBX SDK?

Author: Robert Goulet

Replied: 03 June 2011 04:19 AM