Skip to content
Xoppa edited this page Nov 6, 2013 · 3 revisions

Fbx-conv converts models in various file formats, including the FBX file format, to either the G3DB or G3DJ file format. This is a file format intended to be "ready to render". All modeling application information is stripped and the remaining information is exported in a way it is suitable for rendering.

The G3DB file format is binary, while the G3DJ file format is textual. The information itself does follow the same structure in both file formats. In the following documents we will take the textual format as an example. The specification of the binary format is described also.

The G3DJ file format follows the JSON specification. It consists of object ({key: value, ...}) and arrays ([value,...]). A key is always a string (surrounded by double quotes), a value is either a string, (floating point) number, bool (true or false), object or array. See http://www.json.org/ for more information. Keys are case-sensitive, unique within an object and can be present at most once per object.

Because of the nature of the json file format, the G3DJ file format is very flexible. Some keys are optional and additional keys are allowed to provide additional information. A reader will ignore keys it doesn't recognize and use default values for keys which are absent.

Clone this wiki locally