nbnet
single header C(99) library to implement client-server network code for games (by nathhB)
cgltf
:diamond_shape_with_a_dot_inside: Single-file glTF 2.0 loader and writer written in C99 (by jkuhlmann)
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
nbnet
Posts with mentions or reviews of nbnet.
We have used some of these posts to build our list of alternatives
and similar projects.
-
Networking and multiplayer
There's examples and on YT theres some videos showing off the lib.
- Nbnet: Single header C99 library implements client-server network code for games
-
nbnet - A C(99) network library for game development
https://github.com/nathhB/nbnet (we have a tiny Discord community were people discuss nbnet but also C game development and networking in general).
cgltf
Posts with mentions or reviews of cgltf.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2024-09-25.
- Rewriting Rust
-
Confused in terms of where to start with framework/technology etc. Need help picking between learning ShaderToy v/s OpenGL v/s WebGL
If you want to go all the way, https://learnopengl.com/ is a favorite around here. You could build a glTF viewer from scratch starting from that tutorial and https://github.com/jkuhlmann/cgltf and eventually building towards https://google.github.io/filament/Filament.html or whatever wacky artsy direction you like.
-
Best courses for learning graphics programming?
Use https://github.com/jkuhlmann/cgltf to parse the files. https://github.com/ocornut/imgui for your UI. Maybe https://www.libsdl.org/ just to set up a window, handle mouse clicks and initialize the GL context in that window.
-
I was learning OpenGL and, I needed a suggestion : Which are the best 3D model formats (In terms of ease of loading)
Use glTF and https://github.com/jkuhlmann/cgltf Or, looks like you are using C#, so https://github.com/vpenades/SharpGLTF
-
What is the best FBX loader for modern OpenGL? (C++)
Do you really have to use fbx? An open format like gltf is better supported, and there are bazillions loaders(I use cgltf without any issues, which is also used by raylib, Unigine and bgfx). It's also a perfect fit for OpenGL.
-
PortableGL: An implementation of OpenGL 3.x-ish in clean C
I recently discovered this pattern in cgltf (https://github.com/jkuhlmann/cgltf), and I agree, it makes deployment so much nicer.
-
Good entry-level model format with animation
Use https://github.com/jkuhlmann/cgltf It’s the most popular loader.
- Any opensource lib for loading gitf files? Something lightweight if possible
-
Is it worth writing a software raytracer before going into hardware accelerated RTX?
It's easy to generate a BVH for a generated triangle set (like a fractal pyramid or a dense cube). But, quickly generating a high quality BVH for a loaded model requires some research. Use https://github.com/jkuhlmann/cgltf to load models.
-
How to become a tools/graphics/engine programmer
Write a simple glTF viewer in OpenGL. This is a throw-away warm-up. So, don't fret over the code. Don't do anything complicated. Shoot for a simple, forward renderer for a simple, animated character with trivial Phong lighting, diffuse map, normal map and a basic directional shadow map. Use OpenGL ES 3.0/GL 4.3 API with no crazy features. Don't worry about performance. Use https://github.com/jkuhlmann/cgltf to load the files. KTX is a great container for textures.
What are some alternatives?
When comparing nbnet and cgltf you can also consider the following projects:
clove-unit - Single-Header Unit Testing framework for C (interoperable with C++) with test autodiscovery feature
tinygltf - Header only C++11 tiny glTF 2.0 library
minicoro - Single header stackful cross-platform coroutine library in pure C.
assimp - The official Open-Asset-Importer-Library Repository. Loads 40+ 3D-file-formats into one unified and clean data structure.
HandmadeMath - A simple math library for games and computer graphics. Compatible with both C and C++. Public domain and easy to modify.
SharpGLTF - glTF reader and writer for .NET Standard