Overview
FbxToSBConverter is a tool that converts an .fbx file to either an .sk or .skm file format so that it can be processed by SmartBody.
Users
Drag and Dropping (.skm only)
For an .fbx file that you want to convert to an .skm, simply drag and drop your .fbx file to the FbxToSBConverter.exe and a .skm with the name name as the .fbx will be output in the same folder as the .fbx.
Command Line
FbxToSBConverter can also be used on the command line. See below for the command line parameters.
Parameters
Mandatory
- inputFileName.fbx (the name of the fbx that you want to be read)
Optional
- output [output file type] Example: output .sk (Default is .skm if argument is not passed)
- scale [scale amount] Example: scale 0.01 (Default is 0.01 if argument is not passed)
- forceChannels forces the outputing of sbm channel data to the .sk (Default is false)
Examples
- FbxToSBConverter.exe test.fbx // creates a .skm
- FbxToSBConverter.exe test.fbx output .sk scale 1 // creates a .sk with a scale factor of 1
- FbxToSBConverter.exe test.fbx output .sk forceChannels // creates a .sk and forces all channels to be converted, even if they aren't specified in the metadata
Maya Nodes and Properties
The FbxToSbmConverter uses the node prefixed with "AnmDef_" to read the sync point data. On this node, the property "SmartbodySynchPoints" is searched for.
If it exists, then a comma separated string of sync named is parsed and output wit their associated sync point data. If that property is not there, then the following
old-style sync points are output: ready time, strokeStart time, emphasis time, stroke time, relax time