glTF2-loader icon indicating copy to clipboard operation
glTF2-loader copied to clipboard

[UNMAINTAINED] C++ glTF (2.0 only) loader

trafficstars

:scroll: Unmaintained :scroll:

If you are interested to take over this repository, please open an issue!



glTF2-loader

glTF2-loader is a C++14 glTF (2.0 only) parsing library.

Building

Bulding should be as simple as executing the following commands:

mkdir build
cd build
cmake ..
make

If you're building for Android, you should use cmake with -DANDROID=TRUE

The build process should output a static library, libgltf2-loader.a.

Documentation

Coming soon. For now, the code should be well-enough documented inline, but we should definitely have some Doxygen thing going on in the near future.

Tests

Tests, using the googletest framework, can be enabled with the BUILD_TESTS CMake variable. An executable will be created in the test/ subdirectory, in your build directory.

CI coming soon.

Projects using this library

Feel free to open a pull-request to add your project to the list!

License

glTF2-loader is licensed under MIT license.

glTF2-loader uses the following third party libraries:

  • json.hpp: Copyright © 2013-2017 Niels Lohmann

glTF and the glTF logo are trademarks of the Khronos Group Inc.