C++ OpenGL

Open-source C++ projects categorized as OpenGL

Top 23 C++ OpenGL Projects

  • GitHub repo tinyrenderer

    A brief computer graphics / rendering course

    Project mention: What’s everyone working on this week (8/2021)? | reddit.com/r/rust | 2021-02-21

    Working on a clone of https://github.com/ssloy/tinyrenderer/wiki in rust. I sorta got a templated linear algebra library working (in house, not imported) but it did not play nice with triangle filling so I'm scrapping it to take a different approach.

  • GitHub repo OpenRCT2

    An open source re-implementation of RollerCoaster Tycoon 2 🎢

    Project mention: Last months in OpenRCT2 #5 (February 2021) | reddit.com/r/rct | 2021-02-23

    My pick is this one: https://github.com/OpenRCT2/OpenRCT2/pull/12888

  • Scout

    Get performance insights in less than 4 minutes. Scout APM uses tracing logic that ties bottlenecks to source code so you know the exact line of code causing performance issues and can get back to building a great product faster.

  • GitHub repo bgfx

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

    Project mention: Some questions about graphics in a 2D isometric game (engine) | reddit.com/r/gamedev | 2021-01-18

    Maybe bgfx is what you're looking for? They have an SDL section in the docs.

  • GitHub repo OpenFrameworks

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

    Project mention: AudioStellar 1.0.0beta is out ! | reddit.com/r/linuxaudio | 2021-02-19

    Is it this one? https://github.com/openframeworks/openFrameworks

  • GitHub repo SFML

    Simple and Fast Multimedia Library

    Project mention: Is a project based learning method a good way of getting comfortable with C++ ? If so, what kind of projects can I work on ? | reddit.com/r/cpp_questions | 2021-02-18

    To move beyond text based programming to creating graphical applications, such as games, I would suggest that you learn to how to write a C++ application using the simple and fast multimedia library (SFML). You can learn this library pretty easily and this will help you get used to reading documentation (APIs), frameworks, and incorporating libraries other than the C++ standard template library.

  • GitHub repo GLM

    OpenGL Mathematics (GLM)

    Project mention: Nyx: 3rd party libraries | dev.to | 2021-01-13

    glm [link]

  • GitHub repo olive

    Free open-source non-linear video editor

    Project mention: Update? | reddit.com/r/olive | 2021-02-23
  • GitHub repo Open3D

    Open3D: A Modern Library for 3D Data Processing

    Project mention: Got the RealSense L515, very fast, usb 3.1 is great, but how to scan an object on a turntable?? | reddit.com/r/3DScanning | 2021-02-01
  • GitHub repo Mapbox GL

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

    Project mention: Maps Offline? | reddit.com/r/gnome | 2021-02-15

    But vector tiles is indeed the way to go, but it's also much more complicated. Everyone that has worked on Maps so far has done it either as a SoC / Outreachy student or on weekends and evenings. Look at https://github.com/mapbox/mapbox-gl-native if you want to get a feel for the complexity of a client side implementation of rendering vector tiles.

  • GitHub repo openscad

    OpenSCAD - The Programmers Solid 3D CAD Modeller

    Project mention: Customizer down | reddit.com/r/3Dprinting | 2021-02-21
  • GitHub repo magnum

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

    Project mention: Best Vulkan wrapper / low-level graphics library? | reddit.com/r/GraphicsProgramming | 2021-02-09

    (Sorry for a self-promo, hope that's fine.) If you don't mind being an early adopter and use something that's still undergoing heavy development and is not complete yet, I'm building a low-level Vulkan wrapper in Magnum. If you aren't familiar with Magnum yet, it's a C++11 library that has (among other things) a thin OpenGL/GLES/WebGL wrapper that removes the platform-specific extension hell and most of the boilerplate while still allowing you to work with the raw APIs if you need ... and the same is now being done for Vulkan.

  • GitHub repo Panda3D

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

  • GitHub repo SHADERed

    Lightweight, cross-platform & full-featured shader IDE

    Project mention: Best way to learn compute shaders | reddit.com/r/GraphicsProgramming | 2021-02-21

    You can also do some basic stuff with SHADERed and look at their examples, which may help.

  • GitHub repo MangoHud

    A Vulkan and OpenGL overlay for monitoring FPS, temperatures, CPU/GPU load and more. Discord: https://discordapp.com/invite/Gj5YmBb

    Project mention: setcap not working with Proton | reddit.com/r/SteamPlay | 2021-02-21

    First, you need to disable the runtime completely as described here.

  • GitHub repo Ogre 3D

    scene-oriented, flexible 3D engine

  • GitHub repo Spring RTS game engine

    A powerful free cross-platform RTS game engine (by spring)

  • GitHub repo OpenSceneGraph

    OpenSceneGraph git repository

    Project mention: Trying to Install OpenSceneGraph-3.6.5 featuring an interesting labyrinth of an error message | reddit.com/r/linuxquestions | 2021-01-22

    I assume you followed [this guide?](https://github.com/openscenegraph/OpenSceneGraph/#section-1-how-to-build-openscenegraph

  • GitHub repo apitrace

    Tools for tracing OpenGL, Direct3D, and other graphics APIs

    Project mention: Godot crashes whenever I make an OpenGL 3.0 project | reddit.com/r/godot | 2021-02-17

    I get that it's hard to debug without direct access, but isn't there some dump or log that they could generate and provide? Maybe something like using apitrace?

  • GitHub repo reshade

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

    Project mention: If you aren't playing with ReShade, you're missing out! | reddit.com/r/cyberpunkgame | 2021-02-23

    Reshade is over at reshade.me if you're interested. I could post my specific settings if anyone wants them, but its basically just fakeHDR, vibrancy, a slightly blue tint, and sharpening.

  • GitHub repo DiligentEngine

    A modern cross-platform low-level graphics library and rendering framework

    Project mention: List of open source libraries Minecraft uses | news.ycombinator.com | 2021-01-04


  • GitHub repo Teeworlds

    A retro multiplayer shooter

  • GitHub repo KlayGE

    KlayGE is a cross-platform open source game engine with plugin-based architecture.

  • GitHub repo 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.

    Project mention: Question about Anomaly mod. | reddit.com/r/stalker | 2021-02-10
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 2021-02-23.


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

Project Stars
1 tinyrenderer 10,173
2 OpenRCT2 9,137
3 bgfx 8,986
4 OpenFrameworks 8,210
5 SFML 6,577
6 GLM 4,861
7 olive 4,721
8 Open3D 4,080
9 Mapbox GL 3,953
10 openscad 3,885
11 magnum 3,364
12 Panda3D 2,628
13 SHADERed 2,439
14 MangoHud 2,160
15 Ogre 3D 2,107
16 Spring RTS game engine 2,074
17 OpenSceneGraph 2,060
18 apitrace 2,016
19 reshade 1,794
20 DiligentEngine 1,666
21 Teeworlds 1,552
22 KlayGE 1,496
23 xray-16 1,483