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 / FbxSDK for game engine (slow importer)
  RSS 2.0 ATOM  

FbxSDK for game engine (slow importer)
Rate this thread
 
56633
 
Permlink of this thread  
avatar
  • Gadens
  • Posted: 07 June 2011 12:53 AM
  • Total Posts: 3
  • Joined: 06 June 2011 07:23 PM

Hi

I have a test with the importer of fbxsdk to my game engine. But the importer is slow. Any body knows if it can be improved?

In the game engine is no need import every itens in the fbx file, just meshes (vertices, normals, texcoords), bones and animations. How a can get this itens with a better perdormance?

tks



Replies: 1
/img/forum/dark/default_avatar.png

Hi,
Just to cover the basics, are you importing ASCII or Binary FBX?  ASCII is far slower than a binary stream.  I only use ASCII for debugging.
Also, you are talking about performance in release, right?  Debug libs of the FBX SDK are also extremely slow.
I find that in release, I can load about a 0.5M triangle binary FBX file in just a few seconds (which I think is pretty fast!!).
Cheers,
Will

Author: MayorOfMonkeys

Replied: 07 June 2011 02:14 AM  
avatar
  • Gadens
  • Posted: 07 June 2011 02:41 AM

Hi

I use release version, but the fbx in ASCII.
The file has 8mb and load in 20sec.
But on xna importer this is fast, in 3sec more less it is imported and converted to xnb file. How is it possible?

20sec is too much time for loading just 1 model in game. And i dont want to generate my specific file format for this.

tks for reply



Replies: 0
avatar
  • Gadens
  • Posted: 07 June 2011 02:58 AM

I test the same model in fbx viewer and the model is imported in 1sec.



Replies: 1
/userdata/avatar/46bb5886n_car2.JPG

Do you mean the fbx viewer in FBX SDK sample? If so, the viewer is open sourced, you can compare its code with your importer.

Author: nian.wu

Replied: 07 June 2011 08:49 PM