ModernGL VS ninja

Compare ModernGL vs ninja and see what are their differences.

ModernGL

Minimal Modern OpenGL Demos (Version 4.x). (by NCCA)

ninja

a small build system with a focus on speed (by ninja-build)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
ModernGL ninja
9 51
4 10,591
- 1.7%
6.7 8.5
4 months ago 3 days ago
C++ C++
- Apache License 2.0
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.

ModernGL

Posts with mentions or reviews of ModernGL. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-12-07.
  • Understanding OpenGL setup & compilation on Windows
    2 projects | /r/opengl | 7 Dec 2023
    Also have a look at this repo https://github.com/NCCA/ModernGL/ which has a load of different demos using different libraries for Context generation and extension loading.
  • I have spent two whole work days trying to install GLEW
    6 projects | /r/GraphicsProgramming | 3 Jul 2023
    If you follow the instructions I give to my students here https://github.com/NCCA/NGL/blob/main/Windows.md up to the vcpkg install. You can then install GLEW via vcpkg and try something like this https://github.com/NCCA/ModernGL/tree/master for your OpenGL demos.
  • Version 330 is not supported (m1 mac)
    1 project | /r/opengl | 3 Jul 2023
    See if these simple demos work for you https://github.com/NCCA/ModernGL/tree/master (I write these on a mac first if I can, you just need vcpkg and cmake to build).
  • OpenGL not working on Mac with sdl
    1 project | /r/GraphicsProgramming | 12 Jun 2023
    Also a full working demo to draw a triangle https://github.com/NCCA/ModernGL/tree/master/SDL2TriangleGLEW It uses GLEW on Windows and Linux but defines it out on the Mac, You need CMake and SDL2 installed using vcpkg but you can adapt to your install
  • Trying to draw a triangle, outputs an empty window
    1 project | /r/opengl | 22 May 2023
    I have a number of demos here that use various libs to create a modern OpenGL triangle https://github.com/NCCA/ModernGL
  • Linking error
    1 project | /r/cpp_questions | 7 May 2023
    I use glfw with vcpkg which will download and build it for you. Makes things a little easier as you can do it all with CMake. This example (showing OpenGL and GLEW with GLFW) should give you all you need if you want to do it this way. https://github.com/NCCA/ModernGL/tree/master/GLFWTriangleGLEW
  • Using Metal framework
    2 projects | /r/computergraphics | 3 Dec 2022
    You need to ensure you use either a full core profile context or an old compatibility OpenGL 2.1 context, you can't mix and match (Like in Windows / linux). Also Vertex Array Objects are mandatory for core profile on the mac (on some older systems you can get away without using them). Personally I use either Qt or SDL2 for creating the context but you can also use other frameworks. I've got a load of simple demos using different frameworks here https://github.com/NCCA/ModernGL Including one that uses the Objective C / coca for creating the window / context.
  • dealing with multiple point clouds
    2 projects | /r/Python | 12 Apr 2022
    Here is a basic example drawing a coloured triangle using two buffers, https://github.com/NCCA/ModernGL/blob/master/PyQtTriangle/PyQtTriangle.py You can modify this to draw points quite easily by changing the glDrawArrays(GL_TRIANGLES, 0, 3) call to use GL_POINTS
  • Good 3D Library for M1 (arm64) mac?
    4 projects | /r/cpp_questions | 22 Mar 2022
    Creating the context you have a few options, SDL2, GLFW Qt or native mac. I wrote a series of demos to draw a basic triangle https://github.com/NCCA/ModernGL Each one uses a different tool / library. It uses cmake and vcpkg to install all the libs you need etc.

ninja

Posts with mentions or reviews of ninja. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-12-26.
  • TypeScript's Successor is Waiting, and You'll Never Want to Turn Back
    1 project | dev.to | 29 Jan 2024
    Under the hood, Rescript uses a build system called Ninja. Ninja is similar to Make, but cross-platform and more minimal/performant.
  • Using Make – writing less Makefile
    6 projects | news.ycombinator.com | 26 Dec 2023
  • Ask HN: What outdated tech are you still using and are perfectly happy with?
    1 project | news.ycombinator.com | 18 Oct 2023
    Really? I thought most new projects were switching to ninja[^1] and have never used it.

    [^1]: https://ninja-build.org/

  • What was used to build C++ programs before Cmake?
    5 projects | /r/cpp_questions | 5 Jul 2023
  • I have spent two whole work days trying to install GLEW
    6 projects | /r/GraphicsProgramming | 3 Jul 2023
    warning: Starting with the September 2023 release, the default triplet for vcpkg libraries will change from x86-windows to the detected host triplet (x64-windows). To resolve this message, add --triplet x86-windows to keep the same behavior. Computing installation plan... The following packages will be built and installed: * egl-registry:x86-windows -> 2022-09-20 glew:x86-windows -> 2.2.0#3 * opengl:x86-windows -> 2022-12-04#3 * opengl-registry:x86-windows -> 2022-09-29#1 * vcpkg-cmake:x64-windows -> 2023-05-04 * vcpkg-cmake-config:x64-windows -> 2022-02-06#1 Additional packages (*) will be modified to complete this operation. Detecting compiler hash for triplet x86-windows... A suitable version of powershell-core was not found (required v7.2.11) Downloading portable powershell-core 7.2.11... Downloading powershell-core... https://github.com/PowerShell/PowerShell/releases/download/v7.2.11/PowerShell-7.2.11-win-x86.zip->C:\vcpkg\downloads\PowerShell-7.2.11-win-x86.zip Downloading https://github.com/PowerShell/PowerShell/releases/download/v7.2.11/PowerShell-7.2.11-win-x86.zip Extracting powershell-core... error: while detecting compiler information: The log file content at "C:\vcpkg\buildtrees\detect_compiler\stdout-x86-windows.log" is: -- Downloading https://github.com/ninja-build/ninja/releases/download/v1.10.2/ninja-win.zip -> ninja-win-1.10.2.zip... -- Configuring x86-windows CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:112 (message): Command failed: C:/vcpkg/downloads/tools/ninja/1.10.2-windows/ninja.exe -v Working Directory: C:/vcpkg/buildtrees/detect_compiler/x86-windows-rel/vcpkg-parallel-configure Error code: 1 See logs for more information: C:\vcpkg\buildtrees\detect_compiler\config-x86-windows-rel-CMakeCache.txt.log C:\vcpkg\buildtrees\detect_compiler\config-x86-windows-out.log
  • Installer script for CMake, Ninja, and Meson
    4 projects | /r/bash | 1 Jun 2023
    I thought I would share my custom installer script for the latest GitHub versions of CMake, Ninja, and Meson.
  • Building and Running Pidgin and Finch 3
    3 projects | dev.to | 6 May 2023
    Now that you have your build system all generated you can go ahead and build everything. By default Meson will use Ninja as the build tool. Ninja is similar to Make but much much faster. You can also generate additional build systems but that's outside of the scope of this post.
  • Is there any way to configure my project so I can work on it on both Windows and MacOS?
    2 projects | /r/sdl | 16 Apr 2023
    There are also some other tools like https://ninja-build.org/ that you might prefer using instead
  • Bitdefender blocked Explorer.exe and Ninja.exe has been quarantined
    1 project | /r/antivirus | 16 Feb 2023
    I got Ninja from https://github.com/ninja-build/ninja, latest release. I'm assuming this is a false positive?
  • Just: A Command Runner
    27 projects | news.ycombinator.com | 9 Jan 2023
    Oh excellent, then better (and more portable!) tools are available:

    http://pants.build

    https://ninja-build.org

    https://buck.build

    and, if you hate yourself: https://bazel.build

What are some alternatives?

When comparing ModernGL and ninja you can also consider the following projects:

meshlab - The open source mesh processing system

meson - The Meson Build System

GLFW-CMake-starter - Use CMake to create a project with GLFW - Multi-platform Windows, Linux and MacOS.

SCons

MGL - OpenGL 4.6 on Metal

Bazel - a fast, scalable, multi-language and extensible build system

NGL - The NCCA Graphics Library

Invoke - Pythonic task management & command execution.

PowerShell - PowerShell for every system!

BitBake - The official bitbake Git is at https://git.openembedded.org/bitbake/. Do not open issues or file pull requests here.

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

PyBuilder - Software build automation tool for Python.