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 / Can I have a thread per scene?
  RSS 2.0 ATOM  

Can I have a thread per scene?
Rate this thread
 
43672
 
Permlink of this thread  
avatar
  • Total Posts: 38
  • Joined: 05 February 2009 04:40 AM

Hi All,

I am trying to use an FBX SDK 2011.2 in a high performance multithreaded server environment. I know that FBX SDK is generally not thread safe, and therefore I am limiting myself to:

1. Having one KFbxSdkManager and KFbxSdkScene object per thread
2. Never accessing objects created in one thread by another thread
3. Protecting with global mutex Manager creation and destruction calls

However, a simple multithreading program like that crashes right away :(

I suspect some of FBX SDK calls do access global variables as a side effect. Is there a list somewhere of what FBX SDK calls are thread safe (when used on different objects!) and what are not?

Thanks for your help,

—Matt



Replies: 0
avatar

Hi Matt,

I am sorry, there is no such list. What you describe is not supported, and would crash for sure.

It’s on our roadmap however to correct this and have the FBX SDK totally thread safe.

Regards,

Viviane, FBX Team



Viviane Rochon
Maya Data Platform
Autodesk

Replies: 0