cgltf
assimp
Our great sponsors
cgltf | assimp | |
---|---|---|
9 | 37 | |
1,234 | 9,540 | |
- | 2.3% | |
0.0 | 9.5 | |
10 days ago | about 19 hours ago | |
C | C++ | |
MIT License | GNU General Public License v3.0 or later |
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
-
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.
assimp
-
Quickly setting up a 3D scene?
If you use something like libassimp https://github.com/assimp/assimp it will allow you to import these and access the data to generate your Vertex Array Objects then render to a frame buffer object.
-
Noob question: Between WebGL, OpenGL ES and emscripten, what is the recommended usage and relationship between them for creating an interactive browser based graphics app?
The emscripten interface for the assimp library. It runs entirely in the browser, and allows you to import 40+ 3D file formats and access the result in JSON or glTF format. This is not a full port of assimp, but an easy to use interface to access it's functionality.
-
Using Assimp library for commercial game development
Have you read the license? It's quite permissive. https://github.com/assimp/assimp/blob/master/LICENSE
-
What library would be good for loading .obj vertices, normals and texture coordinates?
I believe assimp is C. There is an example here.
-
I think I've managed to port my 2D/3D Engine to Linux [free download link in description]
I recommend checking out Assimp for model loading. What graphics API does it use and what did you use for the UI?
-
Easy way to use an OpenSCAD model in a game engine?
@ECHO OFF REM Drag and drop STL files to convert to OBJ files. REM REM https://github.com/assimp/assimp/releases/tag/v3.3.1/ if [%1]==[] goto :end :loop "C:\Program Files\Assimp\bin\x64\assimp.exe" export %1 "%~dpn1.obj" shift if not [%1]==[] goto loop :eof ECHO. ECHO Finished! ECHO. PAUSE EXIT /B %ERRORLEVEL%
-
Deus Ex Machina engine first public repository commit! :D [+Talking about BOC state]
Thats is because to do internal test for load things I used blender (open source), but the professional world or at least seems that most of them still uses autodesk maya, and that is how last of 2021 came and final 3D models for the EA was ready to implement but Assimp have a open issude since 2018 relating problems to load animations with .fbx format if it was exported from maya ....
-
For your own engine, do you use an existing format or build your own managing meshes, materials etc in your scene?
You may be interested in the Open Asset Import Library. I recently replaced my own gltf import with this and it's been a real breeze, and a good reference for basing my own internal models on. Lots of supported file types and language ports.
- What is the best FBX loader for modern OpenGL? (C++)
-
OGL - A Great Cross Platform OpenGL Base Library With Almost Everything OpenGL You might Ever need
assimp
What are some alternatives?
tinyobjloader - Tiny but powerful single file wavefront obj loader
tinygltf - Header only C++11 tiny glTF 2.0 library
FBX2glTF - A command-line tool for the conversion of 3D model assets on the FBX file format to the glTF file format.
android-3D-model-viewer - Android OpenGL 2.0 application to view 3D models. Published on Play Store
meshoptimizer - Mesh optimization library that makes meshes smaller and faster to render
gdx-gltf - GLTF 2.0 3D format support and PBR shader implementation for LibGDX
SharpGLTF - glTF reader and writer for .NET Standard
ozz-animation - Open source c++ skeletal animation library and toolset
learn-wgpu - Guide for using gfx-rs's wgpu library.
opengametools - A set of open c++ game development tools that are lightweight, easy-to-integrate and free to use. Currently hosting a magicavoxel .vox full scene loader.
glTF-Shell-Extensions - Microsoft Windows shell extensions that pack .gltf to .glb and unpack .glb to .gltf
LZ4 - Extremely Fast Compression algorithm