/magnum-examples

Examples for Magnum graphics engine

Primary LanguageC++The UnlicenseUnlicense

Here are various examples for Magnum C++11/C++14 OpenGL engine, demonstrating Magnum features, usage and capabilities. If you don't know what Magnum is, see https://github.com/mosra/magnum.

Join the chat at https://gitter.im/mosra/magnum

SUPPORTED PLATFORMS

  • Linux Build Status
  • Windows Build Status
  • OS X Build Status
  • iOS Build Status
  • Android Build Status
  • Windows RT Build Status
  • Google Chrome
  • HTML5/JavaScript Build Status

INSTALLATION

You can either use packaging scripts, which are stored in package/ subdirectory, or compile and install everything manually. The building process is similar to Magnum itself - see Magnum documentation for more comprehensive guide for building, packaging and crosscompiling.

Minimal dependencies

  • C++ compiler with good C++11 support. Compilers which are tested to have everything needed are GCC >= 4.7, Clang >= 3.1 and MSVC >= 2015. On Windows you can also use MinGW-w64.
  • CMake >= 2.8.12
  • Corrade, Magnum -- The engine itself

Compilation, installation

The integration library can be built and installed using these four commands:

mkdir -p build && cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr ..
make
make install

CONTACT

Want to learn more about the library? Found a bug or want to share an awesome idea? Feel free to visit the project website or contact the team at:

CREDITS

See CREDITS.md file for details. Big thanks to everyone involved!

LICENSE

While Magnum itself and its documentation are licensed under MIT/Expat license, all example code is put into public domain (or UNLICENSE) to free you from any legal obstacles when reusing the code in your apps. See the COPYING file for details.