C OpenGL

Open-source C projects categorized as OpenGL

Top 23 C OpenGL Projects

  • raylib

    A simple and easy-to-use library to enjoy videogames programming

    Project mention: Raylib – A simple and easy-to-use library to enjoy videogames programming | news.ycombinator.com | 2024-02-08
  • GLFW

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

    Project mention: Technical Considerations for GUI Toolkits [Discussion] | /r/compsci | 2023-12-11

    Window context manager - glfw, sdl

  • Onboard AI

    ChatGPT with full context of any GitHub repo. Onboard AI learns any GitHub repo in minutes and lets you chat with it to locate functionality, understand different parts, and generate new code. Use it for free at app.getonboardai.com.

  • Craft

    A simple Minecraft clone written in C using modern OpenGL (shaders).

    Project mention: A simple Minecraft clone written in C using modern OpenGL | news.ycombinator.com | 2023-05-26
  • MangoHud

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

    Project mention: How do i install mango hud on pop!_os? | /r/pop_os | 2023-11-16

    I want to install Mango hud so I can use it for steam and lutris but when i go to https://github.com/flightlessmango/MangoHud the so many ways of installing it I don’t know which one to choose for pop!_os. I did try a couple but it didn’t seem like it worked because when I put the launch command in one of my Steam games which was cyberpunk I didn’t see it pop up in game and when I tried to add the command to Lutris the option for the FPS counter was still grayed out. Can someone help me step-by-step on how to install mango hud on pop!_os? Thanks.

  • cute_headers

    Collection of cross-platform one-file C/C++ libraries with no dependencies, primarily used for games

  • glad

    Multi-Language Vulkan/GL/GLES/EGL/GLX/WGL Loader-Generator based on the official specs.

    Project mention: STB: Single-file public domain libraries for C/C++ | news.ycombinator.com | 2024-01-06

    there's glad (https://github.com/Dav1dde/glad) which you can use as a single .c file + .h header that defines OpenGL stuff or a single header-only file. I use it on all of my OpenGL projects!

  • Remotery

    Single C file, Realtime CPU/GPU Profiler with Remote Web Viewer

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

  • permafrost-engine

    An OpenGL RTS game engine written in C

    Project mention: Permafrost engine – An OpenGL RTS game engine written in C | /r/hypeurls | 2023-04-09
  • glew

    The OpenGL Extension Wrangler Library

  • cglm

    📽 Highly Optimized 2D / 3D Graphics Math (glm) for C

    Project mention: converting a vec4 into a mat4 | /r/opengl | 2023-03-02

    It's too bad you are using C. If you were using C++, you could use teh fantastic GLM library, which implements the vector math stuff from GLSL as CPU/C++ code. you might want to have a look at CLGM: https://github.com/recp/cglm

  • GCanvas

    A lightweight cross-platform graphics rendering engine. (超轻量的跨平台图形引擎) https://alibaba.github.io/GCanvas

  • cnc-ddraw

    GDI, OpenGL and Direct3D 9 re-implementation of the DirectDraw API for classic games for better compatibility with Windows 2000, XP, Vista, 7, 8, 10, 11, Wine (Linux/macOS) and Virtual Machines

    Project mention: "LibreOffice is better at reading old Word files than Word" | news.ycombinator.com | 2024-01-07

    https://github.com/FunkyFr3sh/cnc-ddraw (fixes all issues you can have with DirectDraw, an old 2d API, can have its use for both windows users and people who use wine on linux)

  • Allegro

    The official Allegro 5 git repository. Pull requests welcome!

    Project mention: Not only Unity... | /r/opensourcegames | 2023-11-11

    Allegro (zlib/plain C) https://github.com/liballeg/allegro5

  • herebedragons

    A basic 3D scene implemented with various engines, frameworks or APIs.

  • freetype-gl

    OpenGL text using one vertex buffer, one texture and FreeType

  • glfw

    Go bindings for GLFW 3 (by go-gl)

    Project mention: Understand how to use C libraries in Go, with CGO | dev.to | 2023-10-09

    And this is how https://github.com/go-gst/go-gst, https://github.com/go-gl/glfw, and even https://fyne.io/ are using system libraries to propose a lot of functionalities.

  • mlt

    MLT Multimedia Framework

  • space-shooter.c

    A cross-platform, top-down 2D space shooter written in C using only platform libraries.

    Project mention: Beginner, intermediate, and advanced c programming projects | /r/C_Programming | 2023-12-09

    You can do something like this, but way less polished and stick to one platform: https://github.com/tsherif/space-shooter.c/tree/master

  • mesa

    Mesa 3D graphics library (read-only mirror of https://gitlab.freedesktop.org/mesa/mesa/)

    Project mention: Been thinking of switching to linux but I am a noob | /r/linux_gaming | 2023-12-06

    No problems, AMD Adrenalin it's a part of Windows AMD drivers, but on Linux you have not this soft, here is link: https://github.com/Mesa3D/mesa

  • glava

    GLava - OpenGL audio spectrum visualizer

    Project mention: What kind of applications are missing from the Linux ecosystem? | /r/linux | 2023-05-02

    Sounds like a job for GLava instead

  • Quake3e

    Improved Quake III Arena engine

    Project mention: Need some help | /r/quake3 | 2023-07-06

    ```The Quake3e source port (https://github.com/ec-/Quake3e) is included.

  • gl

    Go bindings for OpenGL (generated via glow)

  • antons_opengl_tutorials_book

    Anton's OpenGL 4 Tutorials book - Demo Code

  • WorkOS

    The modern API for authentication & user identity. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

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 2024-02-08.

C OpenGL related posts


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

Project Stars
1 raylib 17,890
2 GLFW 11,803
3 Craft 10,129
4 MangoHud 5,661
5 cute_headers 4,038
6 glad 3,427
7 Remotery 2,690
8 permafrost-engine 2,570
9 glew 2,487
10 cglm 1,996
11 GCanvas 1,854
12 cnc-ddraw 1,804
13 Allegro 1,727
14 herebedragons 1,704
15 freetype-gl 1,575
16 glfw 1,487
17 mlt 1,383
18 space-shooter.c 1,317
19 mesa 1,141
20 glava 1,124
21 Quake3e 1,088
22 gl 1,016
23 antons_opengl_tutorials_book 918
The modern API for authentication & user identity.
The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.