You can customize or extend the features of FBX SDK in various ways.
Defining custom properties (user properties)
You can definecustom propertiesfor any object. To learn how, look at sample program UserProperties (seeDisplayUserProperties()in sample program ImportScene.
To learn how how to get data from custom properties, see functionDefining a custom type (user data) for layer elements
To create a layer element with a custom type, use class KFbxLayerElementUserData. Like any other layer element, it can be mapped by polygon vertex, by vertex, by polygon, etc.
CreateCubeWithMaterialAndMyKFbxMesh()in sample program ExportScene03 (seeExportScene03). It creates a custom compound based on float and boolean data types, and adds data per vertex.
See functionSupporting additional file formats
FBX imports and exports scene data using several file formats, including FBX, COLLADA, OBJ, etc.
Each of these file formats has its own writer class (subclassed from classKFbxWriter) reader and reader class (subclassed from classKFbxReader).
FBX SDK implements Scene I/O using a plug-in architecture. This makes it relatively easy to extend FBX SDK so that it supports an additional file format (usually called a"custom"file format) of your own design.
Sample programMyOwnReaderWriter(seeSample programs) shows how to use FBX SDK to write and read"CustomWriter"files, which use file extension.abc.
In general, to support your own custom file format, you must:
You must also use classKFbxIOPluginRegistry(seeMyOwnWriterReaderPlugin.cppand.h) to:
TheMyOwnWriterReaderfolder does not contain a stand-alone sample program. Instead, it contains sample functions that supportCustomWriterfiles. The sample functions are in turn used by other sample programs (ExportScene05,ImportScene, andViewScene) to write and readCustomWriterfiles.
See alsoExtending FBX or Collada file formatson this page.
Extending FBX or Collada file formats
FBX Extensions SDK allows you to extend FBX file format (versions 5 and 6) and the Collada file format. You can:
FBX Extensions SDK contains:
You can download FBX Extensions SDK by going towww.autodesk.com/fbx.