C OpenGL

Open-source C projects categorized as OpenGL | Edit details

Top 23 C OpenGL Projects

  • GitHub repo Craft

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

    Project mention: I just learned java, want to make a simple minecraft clone | reddit.com/r/javahelp | 2021-09-11

    Not java but https://github.com/fogleman/Craft will give you an idea of what has to be done.

  • GitHub repo GLFW

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

    Project mention: [Handmade Network] How to write better (game) libraries | reddit.com/r/C_Programming | 2021-09-13

    Even if someone wants to use VS2008 for game development, it only took me a Google search to find https://github.com/glfw/glfw/blob/master/deps/vs2008/stdint.h which doesn't have any dependencies and a very permissive licence.

  • Nanos

    Run Linux Software Faster and Safer than Linux with Unikernels.

  • GitHub repo cray

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

    Project mention: Making a 3d game from scratch with a code editor vs something like Unreal Engine. | reddit.com/r/gamedev | 2021-09-20

    Alternatively, I think a good compromise for people who want more control over the inner workings of their game but don't want to use a full game engine is using a game framework like Monogame or Raylib. In our salad analogy, this is like buying a a good bag of lettuce, but growing your own toppings, dressings, etc.

  • GitHub repo cute_headers

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

    Project mention: [C/C++]How do "header only" source files work? | reddit.com/r/learnprogramming | 2021-08-27

    Currently I'm looking at a "header only" cute_tiled.h library that includes this instruction:

  • 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: Afterburner Alternative ? | reddit.com/r/linux_gaming | 2021-09-22
  • GitHub repo permafrost-engine

    An OpenGL RTS game engine written in C

    Project mention: Show HN: I wrote my own RTS game engine in 70k SLOC of C | reddit.com/r/patient_hackernews | 2021-05-12
  • GitHub repo Remotery

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

    Project mention: We Trace a KV Database with Less Than 5% Performance Impact | news.ycombinator.com | 2021-07-05

    Remotery - https://github.com/Celtoys/Remotery

    Visual Studio's built-in profiler is an ok sampling profiler. It doesn't give you a nice multi-thread view which is a huge advantage to a span based profiler.

    MTuner is quite nice for debugging memory usage. Which is another gaping hole in the Rust ecosystem. https://github.com/milostosic/mtuner

    Lots of tools generate data in a format viewable by the Chrome trace viewer. I think Chrome's tracer viewer is not great. Maybe someday someone will create a viewer for the format that's good. I get cranky when large traces don't render at 60fps. Web-based viewers are almost all very very slow and it makes me sad.

  • Scout APM

    Scout APM: A developer's best friend. Try free for 14-days. 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 GCanvas

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

    Project mention: Is anyone using react-native-gcanvas in production? | reddit.com/r/reactnative | 2021-08-06

    Hi. A comment here pointed me towards this library recently. It looks like alibaba re-created the javascript canvas for use on many platforms. It looks like it was forked when they dropped explicit support for react-native.

  • GitHub repo herebedragons

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

  • GitHub repo Allegro

    The official Allegro 5 git repository. Pull requests welcome!

    Project mention: Latest usable allegro+toolchain? | reddit.com/r/DOS | 2021-09-20

    I am trying to find the latest version of allegro + DJGPP that I can use to build a game. I found the 4.2 branch of allegro, but I am unsure which version of DJGPP to use to build it.

  • GitHub repo glfw

    Go bindings for GLFW 3 (by go-gl)

    Project mention: What libraries would allow drawing windowless overlays? | reddit.com/r/golang | 2021-08-31
  • GitHub repo cglm

    📽 Highly Optimized Graphics Math (glm) for C

    Project mention: What would be the best way to implement a (algebra) vector in C (for OpenGL purposes)? | reddit.com/r/C_Programming | 2021-09-02

    cglm has two options for representing a vector: using a struct and using an array. The default one is using an array, but I'm not seeing what are the benefits of using an array instead of a struct. When using an array, you need to use out parameters, which make the code much more ugly when doing multiple operations. Using a struct, I can simply return the struct from the function. The only advantage of using an array would be that it's easier to iterate through it, but I could do the same using structs like this

  • GitHub repo glava

    GLava - OpenGL audio spectrum visualizer

    Project mention: music visualizer conky | reddit.com/r/linuxquestions | 2021-08-22

    for the visualizer itself you should take a look at Glava Example of conky + glava

  • GitHub repo gl

    Go bindings for OpenGL (generated via glow)

  • GitHub repo Quake3e

    Improved Quake III Arena engine

    Project mention: How is it with Quake III Arena nowadays? The brother in spirit appears to have still some active FFA scene. Is it the same for Q3A? | reddit.com/r/quake | 2021-08-03

    If you're in EU, Moscow and UnFreeZe have people playing most times of the day, picking up in evenings (UnFreeZe often has both main servers filled). Use Quake3e source port for the best experience

  • GitHub repo antons_opengl_tutorials_book

    Anton's OpenGL 4 Tutorials book - Demo Code

    Project mention: How do I get started with OpenGL and C? | reddit.com/r/learnprogramming | 2021-02-16

    here's a bunch of great source code examples https://github.com/capnramses/antons_opengl_tutorials_book

  • GitHub repo qb64

    BASIC for the modern era.

    Project mention: Resources for Visual Basic 3 for Windows 3.1 | reddit.com/r/visualbasic | 2021-09-06

    You might appreciate QB64 too...a 64 bit version of QBasic that is cross-platform to Windows, Mac, and Linux and 100% backwards compatible with Qbasic/QB4.5/QBX which is 90% compatible with Visual Basic 1-6 except for the OOP and extended keywords. You can find it, and the C++ source included (compiled with MinGW or GCC usually) at http://www.qb64.org

  • GitHub repo gl4es

    GL4ES is a OpenGL 2.1/1.5 to GL ES 2.0/1.1 translation library, with support for Pandora, ODroid, OrangePI, CHIP, Raspberry PI, Android, Emscripten and AmigaOS4.

    Project mention: I found a shader that works! Open3Es | reddit.com/r/Optifine | 2021-06-28

    GL4ES is a library that translates Open GL to Open GL ES.

  • GitHub repo exengine

    A C99 3D game engine

    Project mention: Looking for code only game engine | reddit.com/r/gameenginedevs | 2021-03-29

    check out exengine, the creator designed it kinda like a library that you can include directly in you code.... or something like that

  • GitHub repo KTX-Software

    KTX (Khronos Texture) Library and Tools

    Project mention: Is there an equivalent of SOIL2 for Vulkan | reddit.com/r/vulkan | 2021-08-19

    Take a look at the KTX GPU image format: https://github.com/KhronosGroup/KTX-Software

  • GitHub repo etlegacy

    ET: Legacy is an open source project based on the code of Wolfenstein: Enemy Territory which was released in 2010 under the terms of the GPLv3 license.

    Project mention: Return to Castle Wolfenstein gets a special treatment from fans for its 20th anniversary. Three major releases including Enemy Territory campaign are coming to Steam. | reddit.com/r/pcgaming | 2021-09-16
  • GitHub repo glmark2

    glmark2 is an OpenGL 2.0 and ES 2.0 benchmark

    Project mention: Good game to benchmark hardware-accelerated 3D performance on old GPU? | reddit.com/r/linux_gaming | 2021-09-05

    Found a good solution: glmark2. Got a score of 83 with the 6800 GT!

  • GitHub repo msdfgl

    OpenGL implementation of the MSDF algorithm

    Project mention: Methods for font rendering | reddit.com/r/gameenginedevs | 2021-07-18

    Just found this as well which could help if you really need to robustly generate atlases dynamically at runtime.

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-09-22.

Index

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

Project Stars
1 Craft 8,813
2 GLFW 8,100
3 cray 7,206
4 cute_headers 3,168
5 MangoHud 2,723
6 permafrost-engine 2,210
7 Remotery 1,875
8 GCanvas 1,666
9 herebedragons 1,601
10 Allegro 1,268
11 glfw 1,146
12 cglm 1,084
13 glava 838
14 gl 835
15 Quake3e 728
16 antons_opengl_tutorials_book 708
17 qb64 437
18 gl4es 409
19 exengine 408
20 KTX-Software 373
21 etlegacy 272
22 glmark2 235
23 msdfgl 145
Find remote jobs at our new job board 99remotejobs.com. There are 25 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com