The following topic presents the changes made in the 2013 release of the FBX SDK. Consult the readme.txt
for additional information, including fixed and known issues.
The classes in the FBX SDK have all been renamed using the "Fbx
" prefix, instead of "KFbx
" or "K
" or the lower-case "fbx
". All structures have also been renamed with the same prefix, including global functions and enumerations. For example:
KTime
and KString
have been renamed respectively to FbxTime
and FbxString
.fbxDouble3
has been renamed to FbxDouble3
.KFbxSdkManager
has been renamed to simply FbxManager
.By default, the fbxsdk_compatibility.h
header file will be included when including fbxsdk.h
. This file defines the majority of the old class names to help old applications transition to FBX SDK 2013. However, if you want to exclusively use the new API, you can define FBXSDK_NEW_API
in your project. Doing so will exclude the fbxsdk_compatibility.h
file, which will most likely result in compilation errors for applications which have been written using previous releases of the FBX SDK.
It is highly recommended that you begin by fixing compilation errors before defining FBXSDK_NEW_API
in your project. Given that this compatibility file may be removed in future releases, it is also recommended to fully adapt your code to the latest version of the FBX SDK.
We encourage you to read the information found in fbxsdk_compatibility.h
which explains various details about upgrading to this version of FBX.
FbxFile
class has been exposed in fbxfile.h
.FbxFileUtils
class now exposes all static functions related to file handling, such as remove, rename, etc.FbxPathUtils
class now exposes all static functions related to file path handling, such as IsRelative
, Clean
, etc.KFbxMemoryAllocator
class. Instead, use handler setter functions such as FbxSetMallocHandler
located in fbxalloc.h
KFCurveFilter
classes. Please use FbxAnimCurveFilter
instead.FbxLight
class has been augmented to support area lights and barn doors.FbxGeometryBase
class has been augmented to support render options such as PrimaryVisibility
, CastShadow
and ReceiveShadow
.