AREA forums upgrade
Read more about the planned upgrade of our forums
  • 1/3
You are here: Forum Home / Autodesk® FBX® / FBX SDK / Backwards compatibility
IMPORTANT ANNOUNCEMENT ABOUT AREA FORUMS
  RSS 2.0 ATOM  

Backwards compatibility
Rate this thread
 
72405
 
Permlink of this thread  
avatar
  • jomeder
  • Posted: 22 October 2012 02:05 PM
  • Total Posts: 17
  • Joined: 15 August 2012 12:18 AM

Hi,

I’m not too clear on how backwards compatibility works with the SDK. I’d appreciate any info about that. Is this documented anywhere?

The Supported File Formats page in the docs mentions any version from 6.0 onward can be imported. The FBXImporter class docs mention support for FBX 5 and I see there is a reader class for it in the SDK. Will FBX 5 files be imported? If they aren’t imported automatically and I had a need could I use the FBX 5 reader class to do the import?

How do I explicitly set the FBX file version I want to export? Do I need to iterate through the IOPlugin registry looking for writers for specific FBX versions?

Regards,

Jo



Replies: 1
/userdata/avatar/uxh72ggpe.jpg

Yup, we instantiate a different reader/writer when reading/writing different file formats. The FBX SDK can read FBX 5.x, 6.x and 7.x, Collada, 3DS, OBJ and DXF files natively. However, it doesn’t write all of them, and in the future it will most likely be able to write only FBX files.

To set which writer you want to use, you need to set the integer pFileFormat when calling FbxExporter->Initialize(...)

And yes, you can find them by iterating in the IOPluginRegistry.

Author: Robert Goulet

Replied: 23 October 2012 05:31 AM