fbtBlend is a C++ .blend file parser from https://github.com/gamekit-developers/gamekit (available in the repository subfolder: ./Tools/FileTools/FileFormats/Blend).
Here there's a version updated to Blender 2.79 and amalgamated into two header files: fbtBlend.h and Blender.h.
Two demos are available: testConsole.cpp and testGlut.cpp (they contain build instructions for Linux and Windows).
A third demo is present in the subfolder test_skeletal_animation (build instructions are at the top of test_skeletal_animation/main.cpp).
testGlut.cpp and test_skeletal_animation need:
In the 280, ..., 402_LTS repository folders there are versions of fbtBlend.h and Blender.h updated for Blender 2.80, ..., 4.2 LTS. In the 280/tests, .../tests, 402_LTS/tests subfolders there are some test programs that should compile correctly with these versions.
Please note that:
struct MVert
, and I don't know how to retrieve them.Of course I'll NEVER make a testGlut.cpp
that can display physics-based materials... be warned!