3dproger / OpenFBX

Lightweight open source FBX importer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Discord Chat License build status

OpenFBX

Lightweight open source FBX importer. Used in Lumix Engine and Flax Engine. It's an almost full-featured importer. It can load geometry (with uvs, normals, tangents, colors), skeletons, animations, blend shapes, materials, textures, cameras and lights.

UFBX is similar project in C. Using libdeflate for decompression.

Use the library in your own project

Note: It's recommended to be familiar with fbx format to use this library, you can read about it more here.

  1. add files from src to your project
  2. use

See demo as an example how to use the library. See Lumix Engine as more advanced use case.

Alternatively, CMake support is provided by community but it's not supported by me - @nem0.

Compile demo project

  1. download source code
  2. execute projects/genie_vs19.bat
  3. open projects/tmp/vs2019/OpenFBX.sln in Visual Studio 2019
  4. compile and run

Demo is windows only. Library is multiplatform.

ofbx

About

Lightweight open source FBX importer

License:MIT License


Languages

Language:C 52.0%Language:C++ 45.0%Language:Lua 2.5%Language:CMake 0.5%Language:Batchfile 0.0%