glbinding VS magnum

Compare glbinding vs magnum and see what are their differences.

glbinding

A C++ binding for the OpenGL API, generated using the gl.xml specification. (by cginternals)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
glbinding magnum
3 22
820 4,649
0.0% -
4.1 9.6
about 2 months ago 22 days ago
C++ C++
MIT License GNU General Public License v3.0 or later
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

glbinding

Posts with mentions or reviews of glbinding. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-04-02.
  • Questions about the official xml registry (gl.xml).
    1 project | /r/opengl | 25 Jul 2022
    Ever heard of https://glbinding.org ?
  • Low-level OpenGL abstractions
    3 projects | /r/opengl | 2 Apr 2022
    You should checkout glbinding, it might give you some ideas for your own wrapper.
  • Thriving in a Crowded and Changing World: C++ 2006–2020 [pdf]
    5 projects | news.ycombinator.com | 16 Jul 2021
    I have based my career on top of C++/backend/soft-real time systems.

    I still have to read the full paper, thanks for the post!

    Many people rant about C++, but, IMHO, overall, taking into account ecosystem, tools, etc. C++ stands as an almost unbeatable technology when you put everything together. It has quirks, asymmetries and all of that.

    But since C++11 it is nicer to use and all the standards after it have been improving on it: generic lambdas, structured bindings, string non-template parameters, constexpr and consteval... it is amazing what you can do with C++ that is difficult or almost impossible to do with other languages.

    On the missing pieces I would mention that you need to use macros to have some kind of reflection for members and pattern matching and networking would be really nice to have.

    Modules are still an experiment implementation-wise, but hey, they will improve on the side of hiding implementation details by a big margin.

    As for the ecosystem, nowadays you have CMake (whose language sucks badly) and Meson. Together with Conan things have improved a lot since I started coding in around 2001.

    Pack that with an IDE like CLion or Visual Studio + Resharper or lightweight IDE (Emacs + Lsp and the like) and you have an environment that is very competitive and whose code can be compiled almost anywhere. From ARM to x86, MIPS and even Webassembly.

    That is why I think C++ is still the way to go if what you want is performance: you also have interfaces such as OpenCL/GL/Vulkan/SIMD libraries (though not C++ standard) where you can access hardware. Also, vendors and open source have things such as https://github.com/cginternals/glbinding

magnum

Posts with mentions or reviews of magnum. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-12-09.
  • Want to a 3D game without a game engine but not having to deal with opengl stuff ?
    4 projects | /r/gamedev | 9 Dec 2022
    Magnum
  • Good graphics engines to visualize my physics framework?
    5 projects | /r/gamedev | 14 Nov 2022
    If you want something that gives you more control you could use magnum.
  • 100,000 subscriber celebration – Ask the Godot contributors anything!
    22 projects | /r/godot | 1 Nov 2022
    Therefore, in terms of artist mindshare, Blender is the leading open source 3D creation program, but not the leading 3D creation program. I think Godot is already in a similar situation, and has been for a few years now. In comparison, most other open source game engines have focused on providing low-level functionality. These certainly fulfill a niche, but in my experience, most people want something that works at a higher level and comes with a built-in editor.
  • Looking for a 2D/3D rendering layer for C++
    3 projects | /r/gamedev | 23 Aug 2022
    Magnum is worth checking out.
  • Simple light graphics library for c++?
    7 projects | /r/gamedev | 14 Aug 2022
    Since you want something lightweight, I'll assume you mean the former. If that's the case, then checkout bgfx or Magnum. Magnum does include some extra features typically found in a graphics engine.
  • Best C++ libraries for 2D game development
    2 projects | /r/cpp | 24 Jul 2022
    You could try Magnum it wraps SDL and others, but you might find it maybe too low-level. It's certainly not Love2D.
  • Exceptions: Yes or No?
    4 projects | /r/cpp | 4 Jul 2022
    C++ is similar to C in that there are multiple "styles" of use that vary from project to project. Other, usually newer languages (C#, Python, Rust, etc) tend to have a stronger sense of what idioms should be used. Whereas, for instance, some C++ projects (like some GUI libraries and game/graphics engines) will partially/entirely replace the STL (and older ones may have been around before C++ had a standard library aside from C's), or forbid the use of certain C++ features (example).
  • What is a good absolutely minimalist game/rendering engine?
    7 projects | /r/gamedev | 17 Jun 2022
    Magnum Graphics
  • C++ Game Engine - Which framework?
    1 project | /r/cpp | 6 May 2022
  • Magnum: Lightweight, modular C++11 graphics middleware for games/visualization
    6 projects | news.ycombinator.com | 23 Apr 2022
    > He has Vulkan support in here with a clearly marked file named Pipeline.cpp. The guy knows what a pipeline is...

    There is a Vulkan API wrapper. However, there is no "Vk Renderer" -- no code seems to use the Vulkan parts of the code system, and the two projects seem unrelated.

    > * Is this not a UBO interface?

    There are ways of making a uniform buffer, however the examples don't cover them and the API doesn't adapt automatically. See how all of the setters assert if UBOs are enabled.

    https://github.com/mosra/magnum/blob/cfc02599e54e02337dd56bb...

    > * I don't see why you think there's limited support for multiple framebuffers...?

    The code I do see is about binding/unbinding framebuffers in a stateful manner, e.g. AbstractFramebuffer::bind(), rather than supporting passes.

    > None of your criticism seem well intentioned. It might behoove you to give people the benefit of the doubt and realize that you may be able to learn something from them, even if they're so clearly inferior to you.

    To put it simply, I've taught enough graphics to know first-hand the kinds of misconceptions that OpenGL-styled APIs can cause, and I'm just a bit tired to see it continue. Admittedly I was a bit harsh, I don't mean any harm towards the author. There are just graphics APIs with interfaces I consider to be much better designed.

What are some alternatives?

When comparing glbinding and magnum you can also consider the following projects:

GLFW - A multi-platform library for OpenGL, OpenGL ES, Vulkan, window and input

bgfx - Cross-platform, graphics API agnostic, "Bring Your Own Engine/Framework" style rendering library.

OpenSubdiv - An Open-Source subdivision surface library.

Ogre 3D - scene-oriented, flexible 3D engine (C++, Python, C#, Java)

Skia - Skia is a complete 2D graphic library for drawing Text, Geometries, and Images.

OpenSceneGraph - OpenSceneGraph git repository

OpenVDB - OpenVDB - Sparse volume data structure and tools

Cinder - Cinder is a community-developed, free and open source library for professional-quality creative coding in C++.

Horde3D - Horde3D is a small 3D rendering and animation engine. It is written in an effort to create an engine being as lightweight and conceptually clean as possible.

urho3d - Game engine