Open-source C++ projects categorized as GLFW

Top 21 C++ GLFW Projects

  • bgfx

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

    Project mention: Is it a crazy idea to create a 3D operating system? | reddit.com/r/osdev | 2023-05-21

    Another route could be using an abstraction over Vulkan (faster, more efficient, more difficult): bgfx, dawn, magma, or wgpu (Rust).

  • magnum

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

    Project mention: Want to a 3D game without a game engine but not having to deal with opengl stuff ? | reddit.com/r/gamedev | 2022-12-09



    ONLYOFFICE Docs — document collaboration in your environment. Powerful document editing and collaboration in your app or environment. Ultimate security, API and 30+ ready connectors, SaaS or on-premises

  • glslViewer

    Console-based GLSL Sandbox for 2D/3D shaders

    Project mention: Fun with real-time manipulation of glsl (shader) files | reddit.com/r/proceduralgeneration | 2022-07-02

    I'm not an expert on glsl/shaders etc. but rather understand how to use Python to read values from hardware (ADC) and convert it to OSC, which, in turn, is passed on to glslViewer (https://github.com/patriciogonzalezvivo/glslViewer) ... it is glslViewer that does all the hard work of hot reloading .frag files as new uniform values are received.

  • WebGui

    An example demo of IMGUI (Immediate Mode GUI) on the web. Using only WebGL, GLFW and ImGui. Suitable for being compiled to web assembly (WASM).

    Project mention: Who is using C++ for web development? | reddit.com/r/cpp | 2022-10-04

    You mean like this?

  • ImPlay

    A Cross-Platform Desktop Media Player

    Project mention: mpv player with GUI (for parents) | reddit.com/r/linux4noobs | 2023-05-15


  • Physics3D

    A 3D physics engine

  • OpenGL_CMake_Skeleton

    :heart: A ready to use cmake skeleton using GLFW, Glew and glm. :+1:

    Project mention: CMake fails to build OpenGL project due to missing targets OpenGL and GLX whereas reference project does not have the same problem. | reddit.com/r/learnprogramming | 2022-10-10

    The main GLEW repository from how I currently understand it is not designed to be used as a subdirectory. So I found a skeleton project that I went off of and it links to an alternative glew repository that includes source files, although it hasn't been updated in a while. I was able to do this succesfully before by roughly following along with what the skeleton project does. In fact I made a repository that worked at one point. However a new problem has showed up. It could have come up with an update from once of the dependencies or maybe it's because I had reinstalled Ubuntu between now and then.

  • InfluxDB

    Access the most powerful time series database as a service. Ingest, store, & analyze all types of time series data in a fully-managed, purpose-built database. Keep data forever with low-cost storage and superior data compression.

  • borealis

    Hardware accelerated, controller and TV oriented UI library for PC and Nintendo Switch (libnx)

  • bigger

    bigg (bgfx + imgui + glfw + glm) + utils

  • scop_vulkan

    A 3D model viewer written C++20 and Vulkan

  • BunnyLOD

    Cross platform GLFW based port of Stan Melax's BunnyLOD Easy Mesh Simplification

    Project mention: question about wasted index Buffer data | reddit.com/r/VoxelGameDev | 2022-11-08

    If you reuse the same index buffer as proposed then you won't be able to share vertices, which can be an important optimization. In my case I use a 323 cache of vert indices and just insert an index rather than a vertex if the vertex already exists and has the same material. I generate normals in the pixel shader to increase what can be shared, and then use a variant of Stan Melax's edge collapse polygon reduction algorithm to combine edges and reduce triangle count.

  • glfwpp

    GLFW C++ Wrapper - thin, modern, C++17, header-only GLFW wrapper

    Project mention: Best practices for managing global state? | reddit.com/r/cpp_questions | 2023-04-30

    You might also want to consider using glfwpp, which is a C++ wrapper around glfw. It wraps the glfw callbacks with std::fuction, so you can pass function objects or lambdas with captures without thinking about managing the single global user pointer.

  • Spatial.Engine

    [WIP] Spatial is a cross-platform C++ game engine.

  • wase-engine

    A 2D game engine written in C++

    Project mention: "could not find sdl" error when adding wase engine to project using github | reddit.com/r/cpp_questions | 2022-09-26

    include(FetchContent) FetchContent_Declare( wase-engine GIT_REPOSITORY https://github.com/Wase-Engine/wase-engine GIT_TAG 1.0 ) FetchContent_MakeAvailable(wase-engine) target_link_libraries(yourstuff PRIVATE wase-engine)

  • stylized_snake_game

    A cross-platform desktop stylized version of snake game made from scratch in C++/OpenGL.

  • chip-8

    Yet another Chip-8 interpreter, but this time with a beautiful interface 💻

  • zxShaderViz

    A useful tool to edit and visualize shaders in real time.

  • Physically-based-deferred-shading

    First attempt at writing a good looking 3D renderer. Written in C++ using OpenGL on Ubuntu.

  • cpp-graphics

    C++ 2D Graphics Tests and Examples using SDL2, SFML, GLFW and Dear ImGui

    Project mention: GUI Tips C++ | reddit.com/r/cpp_questions | 2022-08-31

    Yes. Here is an example: https://github.com/Toxe/cpp-graphics

  • kurve

    Remake of the classic game "Achtung, die Kurve!" in C++ using OpenGL and GLFW (by h-valdes)

  • Trap-The-Cat-GLFW

    Trap The Cat game remake written in GLFW

    Project mention: Trap The Cat GLFW | reddit.com/r/playmygame | 2023-02-21
  • Sonar

    Write Clean C++ Code. Always.. Sonar helps you commit clean C++ code every time. With over 550 unique rules to find C++ bugs, code smells & vulnerabilities, Sonar finds the issues while you focus on the work.

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2023-05-21.

C++ GLFW related posts


What are some of the best open-source GLFW projects in C++? This list will help you:

Project Stars
1 bgfx 13,058
2 magnum 4,407
3 glslViewer 4,047
4 WebGui 479
5 ImPlay 300
6 Physics3D 256
7 OpenGL_CMake_Skeleton 247
8 borealis 224
9 bigger 170
10 scop_vulkan 136
11 BunnyLOD 71
12 glfwpp 71
13 Spatial.Engine 56
14 wase-engine 54
15 stylized_snake_game 34
16 chip-8 29
17 zxShaderViz 12
18 Physically-based-deferred-shading 11
19 cpp-graphics 5
20 kurve 3
21 Trap-The-Cat-GLFW 0
Write Clean C++ Code. Always.
Sonar helps you commit clean C++ code every time. With over 550 unique rules to find C++ bugs, code smells & vulnerabilities, Sonar finds the issues while you focus on the work.