Top 23 C OpenGL Projects
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.
A multi-platform library for OpenGL, OpenGL ES, Vulkan, window and inputProject 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.
Run Linux Software Faster and Safer than Linux with Unikernels.
A simple and easy-to-use library to enjoy videogames programmingProject 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.
Collection of cross-platform one-file C/C++ libraries with no dependencies, primarily used for gamesProject 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:
A Vulkan and OpenGL overlay for monitoring FPS, temperatures, CPU/GPU load and more. Discord: https://discordapp.com/invite/Gj5YmBbProject mention: Afterburner Alternative ? | reddit.com/r/linux_gaming | 2021-09-22
An OpenGL RTS game engine written in CProject mention: Show HN: I wrote my own RTS game engine in 70k SLOC of C | reddit.com/r/patient_hackernews | 2021-05-12
Single C file, Realtime CPU/GPU Profiler with Remote Web ViewerProject 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: 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.
A lightweight cross-platform graphics rendering engine. (超轻量的跨平台图形引擎) https://alibaba.github.io/GCanvasProject mention: Is anyone using react-native-gcanvas in production? | reddit.com/r/reactnative | 2021-08-06
A basic 3D scene implemented with various engines, frameworks or APIs.
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.
Go bindings for GLFW 3 (by go-gl)Project mention: What libraries would allow drawing windowless overlays? | reddit.com/r/golang | 2021-08-31
📽 Highly Optimized Graphics Math (glm) for CProject 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
GLava - OpenGL audio spectrum visualizerProject 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
Go bindings for OpenGL (generated via glow)
Improved Quake III Arena engineProject 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
Anton's OpenGL 4 Tutorials book - Demo CodeProject 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
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
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.
A C99 3D game engineProject 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
KTX (Khronos Texture) Library and ToolsProject 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
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
glmark2 is an OpenGL 2.0 and ES 2.0 benchmarkProject 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!
OpenGL implementation of the MSDF algorithmProject 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.
What are some of the best open-source OpenGL projects in C? This list will help you:
Are you hiring? Post a new remote job listing for free.