Skip to content

Commit

Permalink
Initial README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
saveman71 committed Apr 19, 2017
1 parent f1f1b1f commit 8c5d744
Show file tree
Hide file tree
Showing 2 changed files with 50 additions and 1 deletion.
51 changes: 50 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,51 @@
![](./doc/gltf2-loader.png)


---

# glTF2-loader
C++ glTF (2.0 only) loader

`glTF2-loader` is a C++14 [glTF][gltf] ([2.0 only][gltf-2-spec]) 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

* [Lugdunum](https://lugdunum3d.github.io)

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

## License

glTF2-loader is licensed under [MIT license](./LICENSE).

glTF2-loader uses the following third party libraries:

* [json.hpp](https://github.com/nlohmann/json): Copyright © 2013-2017 Niels Lohmann

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

[gltf]: https://github.com/KhronosGroup/glTF
[gltf-2-spec]: https://github.com/KhronosGroup/glTF/tree/2.0/specification/2.0
Binary file added doc/gltf2-loader.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 8c5d744

Please sign in to comment.