C++ OpenGL

Open-source C++ projects categorized as OpenGL

Top 23 C++ OpenGL Projects

  • tinyrenderer

    A brief computer graphics / rendering course

    Project mention: Is Pico-8 good to 'have an understanding of how rendering and other things like CA is done in videogames' or should I just stick with a programming language? | reddit.com/r/pico8 | 2022-10-06

    I think this might be more fitting for you.

  • filament

    Filament is a real-time physically based rendering engine for Android, iOS, Windows, Linux, macOS, and WebGL2

    Project mention: What is this C++ trick called? It looks a bit like PIMPL. | reddit.com/r/cpp_questions | 2022-10-02

    I was looking through the Google Filament repo and I noticed that the classes in include/filament use a trick I haven't seen before that hide implementation details similar to PIMPL.

  • Zigi

    The context switching struggle is real. Zigi makes context switching a thing of the past. It monitors Jira and GitHub updates, pings you when PRs need approval and lets you take fast actions - all directly from Slack!

  • 3d-game-shaders-for-beginners

    🎮 A step-by-step guide to implementing SSAO, depth of field, lighting, normal mapping, and more for your 3D game.

    Project mention: Where to find shader resources? | reddit.com/r/gamedev | 2022-03-10

    Book of Shaders 3D Game Shaders for Beginners Martin Donald Freya Holmer

  • bgfx

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

    Project mention: SDL2 or GLFW? | reddit.com/r/gamedev | 2022-11-24

    You might want to also take a look at bgfx.

  • OpenRCT2

    An open source re-implementation of RollerCoaster Tycoon 2 🎢

    Project mention: Messing around with full-circuit Inverted Impulse coasters a la Volcano -- sharing some findings in the comments, as it's a cool coaster archetype I don't see a lot of discussion around! Would love to see more community builds in this style. | reddit.com/r/rct | 2022-11-24
  • OpenFrameworks

    openFrameworks is a community-developed cross platform toolkit for creative coding in C++.

    Project mention: Launching glitchIO pocket glitch art app on iOS with oF | reddit.com/r/openFrameworks | 2022-10-13

    glitchiO is a piece of visual generative Pocket Art for mobile phones and tablets that explores the space inside randomness and glitch. It is inspired by the analogue VHS tape noise of damaged video cassettes and dirty playback heads on domestic VCRs. Reimagining this space for contemporary digital media and mobile phones glitchiO is a contemplation and treatise on what it is to hear machines speak in the interstitial spaces between human defined functions.Using touch gestures and accelerometer you can navigate the visual world of noise, glitch, randomness and higher stochastic functions. you can download it for free from the Apple app store here https://apps.apple.com/app/id1620340485you can find the source code using openFrameworks here on my github pages https://github.com/danbz/glitchiO glitchiO is crafted with pride using openFrameworks artists C++ toolkit. http://openframeworks.cc

  • SFML

    Simple and Fast Multimedia Library

    Project mention: Game UI | reddit.com/r/cpp_questions | 2022-11-19

    I would probably use SFML for the actual game stuff and then ImGui with ImGui-SFML for any GUI like components (menus etc.).

  • InfluxDB

    Build time-series-based applications quickly and at scale.. InfluxDB is the Time Series Data Platform where developers build real-time applications for analytics, IoT and cloud-native services in less time with less code.

  • Open3D

    Open3D: A Modern Library for 3D Data Processing

    Project mention: CD PROJEKT RED announce The Witcher Remake in Unreal Engine 5 | reddit.com/r/linux_gaming | 2022-10-26

    There's also Open3D (O3D) the point cloud library... http://www.open3d.org/

  • GLM

    OpenGL Mathematics (GLM)

    Project mention: how to include glm with cmake (and other headers / static libraries) | reddit.com/r/learnprogramming | 2022-10-02

    But now I'm kinda stuck on glm. I downloaded it from the official website and grabbed the glm subdirectory with the header files. (https://github.com/g-truc/glm/releases/tag/ It also contains a CMakeLists.txt which i should be able to include in my project CMakeLists.txt.

  • renderdoc

    RenderDoc is a stand-alone graphics debugging tool.

    Project mention: Renderdoc Crashing On glfwCreateWindow() | reddit.com/r/opengl | 2022-08-26

    Remember that Renderdoc is open source: https://github.com/baldurk/renderdoc/. This means you can build it with symbols and attach a debugger.

  • olive

    Free open-source non-linear video editor

    Project mention: Any good free editing software without any huge watermarks? | reddit.com/r/NewTubers | 2022-10-31
  • openscad

    OpenSCAD - The Programmers Solid 3D CAD Modeller

    Project mention: I get that the circle gets approximated by segments for ease of rendering. But when I export it to dxf and sent it to my laser cutting service, they complained that it has too many segments. Apparently it should be a smooth circle. How do I export it so it is a circle in dxf? | reddit.com/r/openscad | 2022-11-23

    Here is where you start the journey. Good luck.

  • magnum

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

    Project mention: Good graphics engines to visualize my physics framework? | reddit.com/r/gamedev | 2022-11-14

    If you want something that gives you more control you could use magnum.

  • Mapbox GL

    Interactive, thoroughly customizable maps in native Android, iOS, macOS, Node.js, and Qt applications, powered by vector tiles and OpenGL

    Project mention: Max zoom levels? | reddit.com/r/mapbox | 2022-03-26

    Yes, I'm using the Flutter MapBox GL project (that uses the native implementation, which is mostly written in C++). I'm using vector tiles, and it's getting down to 1.35cm/pixel for iOS and .12cm/pixel for Android at my latitude; I believe this is level 22 for iOS and 25.5 for Android.

  • SHADERed

    Lightweight, cross-platform & full-featured shader IDE

    Project mention: How to display a 2D array every frame | reddit.com/r/godot | 2022-06-25

    https://github.com/dfranx/SHADERed (useful tool for debugging shader code, has a bit more functionality than doing it in Godot directly)

  • Panda3D

    Powerful, mature open-source cross-platform game engine for Python and C++, developed by Disney and CMU

    Project mention: Why I enjoy using the Nim programming language at Reddit. | reddit.com/r/RedditEng | 2022-11-14

    I used to be a huge Python fan. After working with Python for many years though, I started to get annoyed with more and more things. For example, I wanted to make games with Python and even contributed to Panda3D, but Python is a very slow language and games need to be fast. Then, when making websites, typos in rarely run and tested code like exception handlers would crash in production. Python also does not help with large refactors. Every function is ok with taking anything so the only way to find out if code does not work is to run the code and write more tests. This got old fast.

  • Ogre 3D

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

    Project mention: ⟳ 4 apps added, 43 updated at f-droid.org | reddit.com/r/FDroidUpdates | 2022-02-09

    Ogre Sample Browser (version 13.2.4): Object-Oriented Graphics Rendering Engine - Samples

  • reshade

    A generic post-processing injector for games and video software.

    Project mention: October brings corn harvest | reddit.com/r/farmingsimulator | 2022-11-24

    Have you met my friends Relight and Reshade?

  • Spring RTS game engine

    A powerful free cross-platform RTS game engine. - Report issues at https://springrts.com/mantis/ (by spring)

    Project mention: Total Annihilation (Currently marked unsupported) works great on the deck! Just had to manually set the resolution. | reddit.com/r/SteamDeck | 2022-11-18

    That said, SpringRTS is a thing if you've not seen it before.

  • OpenSceneGraph

    OpenSceneGraph git repository

    Project mention: Post-mortem of a long-standing bug in video Game Path Of Exile, which was caused by a stale pointer | reddit.com/r/cpp | 2022-06-01

    I started in 2001 with OpenSceneGraph which made extensive use of intrusive pointers. This was 10 years before C++11 note. That codebase continues to be relevant and as performing as ever.

  • apitrace

    Tools for tracing OpenGL, Direct3D, and other graphics APIs

    Project mention: Opengl invalid operation error on glBindTexture (opengl 3.3 core) | reddit.com/r/opengl | 2022-10-26
  • xray-16

    Improved version of the X-Ray Engine, the game engine used in the world-famous S.T.A.L.K.E.R. game series by GSC Game World. Join OpenXRay! ;)

    Project mention: What mods/mod packs are you looking forward to and why? | reddit.com/r/stalker | 2022-10-29
  • Teeworlds

    A retro multiplayer shooter

    Project mention: I made a grinding platformer with Linux, for Linux! | reddit.com/r/linux_gaming | 2022-10-26

    I've played both and am especially a big fan of Celeste. The shooting is similar to Teeworlds, I got the idea from that.

  • Sonar

    Free webinar: The Power of Clean C++. Are you ready to take your C++ code to the next level? Join Sonar on December 7th for our live webinar as we discuss how to get your code clean - and stay clean - with minimal effort and without being overloaded with warnings. Register now!

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 2022-11-24.

C++ OpenGL related posts


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

Project Stars
1 tinyrenderer 15,276
2 filament 14,888
3 3d-game-shaders-for-beginners 14,021
4 bgfx 12,392
5 OpenRCT2 11,180
6 OpenFrameworks 9,162
7 SFML 8,153
8 Open3D 7,739
9 GLM 6,954
10 renderdoc 6,886
11 olive 6,584
12 openscad 5,148
13 magnum 4,258
14 Mapbox GL 4,209
15 SHADERed 3,702
16 Panda3D 3,576
17 Ogre 3D 3,033
18 reshade 2,870
19 Spring RTS game engine 2,864
20 OpenSceneGraph 2,620
21 apitrace 2,314
22 xray-16 2,170
23 Teeworlds 2,017
Truly a developer’s best friend
Scout APM is great for developers who want to find and fix performance issues in their applications. With Scout, we'll take care of the bugs so you can focus on building great things 🚀.