• Stars
    star
    4,603
  • Rank 8,761 (Top 0.2 %)
  • Language
    C++
  • License
    Other
  • Created over 13 years ago
  • Updated 3 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Lightweight and modular C++11 graphics middleware for games and data visualization

Magnum โ€” Lightweight and modular C++11/C++14 graphics middleware for games and data visualization

Looking for an open-source library that gives you graphics abstraction and platform independence on major desktop, mobile and web platforms? Do you want it to have all the convenience utilities around yet stay small, powerful and not give up on flexibility? Here it is. And it's free to use, even for commercial purposes.

Join the chat at https://gitter.im/mosra/magnum Build Status Build Status Coverage Status Hunter Package MIT License

Beauty of simplicity

Among Magnum essentials is a UTF-8-aware OS, filesystem and console abstraction, a feature-packed vector math library and a slim C++11 wrapper of OpenGL / WebGL family of APIs. Build on top of that or opt-in for more.

See all core features

With batteries included

Shaders and primitives for fast prototyping, algorithms, debugging and automatic testing, asset management, integration with popular windowing toolkits and a UI library. Everything fits together but you still have a choice.

List the extra features

Screws are not glued in

There's always more than one way to do things. Enjoy the freedom of choice and integrate your own asset loader, texture compressor, font format or math library, if you feel the need. Or use any of the various plugins.

View extension points


Wondering if Magnum is a good fit for your project? We prepared a few case studies to help you decide.

SUPPORTED PLATFORMS

  • Linux and embedded Linux
  • Windows with MSVC, clang-cl and MinGW, Windows RT (Store/Phone)
  • macOS, iOS
  • Android
  • Web (asm.js or WebAssembly), through Emscripten

Graphics APIs:

  • OpenGL 2.1 through 4.6, core profile functionality and modern extensions
  • OpenGL ES 2.0, 3.0โ€“3.2 and extensions to match desktop OpenGL functionality
  • WebGL 1.0, 2.0 and extensions to match desktop OpenGL functionality

See the Build Status page for detailed per-platform build status.

WHAT'S NEW?

Curious about what was added or improved recently? Check out the Changelog page in the documentation.

GETTING STARTED

The best way to get started is to read the thorough download, build, install and start using Magnum in your project. There is also a complete building documentation โ€” we provide packages for many platforms, including Windows, Linux and macOS. After that, there are various tutorials and examples and a complete feature guide explaining all aspects of the library.

Apart from that, various Magnum functionality is available through single-header libraries. Just download a file, #include it in your project and you're ready to go! No buildsystem wrangling needed.

RELATED PROJECTS

The engine itself is kept as small as possible with only a few dependencies. Additional functionality, often depending on external libraries, is provided in separate repositories.

Outside of the project itself, there's also a lot of community contributions โ€” check them out on the website.

CONTACT & SUPPORT

If you want to contribute to Magnum, if you spotted a bug, need a feature or have an awesome idea, you can get a copy of the sources from GitHub and start right away! There is the already mentioned guide about how to download and build Magnum and also a guide about coding style and best practices which you should follow to keep the library as consistent and maintainable as possible.

See also the Magnum Project Contact & Support page for further information.

CREDITS

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

LICENSE

Magnum is licensed under the MIT/Expat license, see the COPYING file for details.

More Repositories

1

corrade

C++11 multiplatform utility library
C++
462
star
2

m.css

A no-nonsense, no-JavaScript CSS framework, site and documentation theme for content-oriented websites
Python
391
star
3

magnum-examples

Examples for the Magnum C++11 graphics engine
C++
259
star
4

flextgl

OpenGL and Vulkan header and loader generator.
C
203
star
5

magnum-singles

Single-header libraries from the Magnum engine
C++
104
star
6

magnum-integration

Integration libraries for the Magnum C++11 graphics engine
C++
96
star
7

magnum-plugins

Plugins for the Magnum C++11 graphics engine
C++
96
star
8

magnum-bootstrap

Bootstrap projects for the Magnum C++11 graphics engine
Shell
89
star
9

toolchains

Toolchains for crosscompiling with CMake.
CMake
86
star
10

magnum-extras

Extras for the Magnum C++11 graphics engine
C++
25
star
11

magnum-bindings

Bindings of the Magnum C++11 graphics engine into other languages
C++
19
star
12

magnum-website

Website for the Magnum C++11 graphics engine
C++
15
star
13

archlinux

My ArchLinux packages.
C
5
star
14

kompas

Kompas navigation software
Shell
3
star
15

magnum-ci

Various CI jobs for building Magnum and its dependencies.
2
star
16

heytrack

Shows current track in internet radio stream
C++
2
star
17

kompas-core

Core library for Kompas navigation software
C++
1
star
18

kompas-artwork

Graphics and icons for Kompas navigation software
Shell
1
star
19

kompas-qt

Qt GUI for Kompas navigation software
C++
1
star
20

kompas-sdl

SDL GUI for Kompas navigation software
C++
1
star
21

kompas-plugins-nonfree

Non-free plugins for Kompas navigation software
C++
1
star
22

homebrew-magnum

macOS Homebrew packages for Magnum and related projects
Ruby
1
star
23

absencoid

And old project to prevent problems when intentionally not going to school.
C++
1
star
24

kotel

Tunnel racing game
C++
1
star