/fbx-file

FBX file parser/writer in C++11.

Primary LanguageC++MIT LicenseMIT

fbx-file

Build Status

fbx-file is an STL-like library for reading and writing FBX binary files.

Quickstart

Fbx::Record file;

// Read
file.read("../models/blender-default.fbx");
auto vertices = *(*(*file.find("Objects"))->find("Geometry"))->find("Vertices");
auto coords = vertices->properties().front()->raw();

// Write
auto customRecord = *file.insert(new Fbx::Record("My custom root record"));
customRecord->properties().insert(new Fbx::Property(std::string("This is a string property")));
file.write("../bin/blender-custom.fbx");

Documentation

See fbx.hpp. Nope, not yet.

Examples

See examples.

Build

$ make examples
Windows

Open builds/fbx.sln and compile solution.