cgltf
:diamond_shape_with_a_dot_inside: Single-file glTF 2.0 loader and writer written in C99 (by jkuhlmann)
OpenFBX
Lightweight open source FBX importer (by nem0)
Our great sponsors
cgltf | OpenFBX | |
---|---|---|
9 | 2 | |
1,373 | 1,064 | |
- | - | |
6.7 | 6.9 | |
about 1 month ago | about 2 months ago | |
C | C | |
MIT License | MIT License |
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.
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 2023-06-20.
-
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.
OpenFBX
Posts with mentions or reviews of OpenFBX.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-02-02.
-
What is the best FBX loader for modern OpenGL? (C++)
I went with OpenFBX as it is quite lightweight (1 cpp + header for ofbx & miniz the only dependency).
-
Formats to support for an offline 3D viewer
My understanding is that it is proprietary, but a opensource project seems to be able to read it: https://github.com/nem0/OpenFBX
What are some alternatives?
When comparing cgltf and OpenFBX you can also consider the following projects:
tinygltf - Header only C++11 tiny glTF 2.0 library
ozz-animation - Open source c++ skeletal animation library and toolset
assimp - The official Open-Asset-Importer-Library Repository. Loads 40+ 3D-file-formats into one unified and clean data structure.
McLighting - The ESP8266 based multi-client lighting gadget
FBX2glTF - A command-line tool for the conversion of 3D model assets on the FBX file format to the glTF file format.
blender - Official mirror of Blender
SharpGLTF - glTF reader and writer for .NET Standard
gifdec - small C GIF decoder
gdx-gltf - GLTF 2.0 3D format support and PBR shader implementation for LibGDX
learn-wgpu - Guide for using gfx-rs's wgpu library.