assimp
tinyobjloader
Our great sponsors
assimp | tinyobjloader | |
---|---|---|
37 | 8 | |
10,256 | 3,153 | |
1.7% | 1.4% | |
9.5 | 0.0 | |
2 days ago | 3 months ago | |
C++ | C++ | |
GNU General Public License v3.0 or later | 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.
assimp
- The Asset-Importer-Lib Minor Release Version 5.3.0 is out
-
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.
-
Scene organization
If you just want to load other data in a relatively simple fashion, assimp https://www.assimp.org supports loading a bunch of different formats and is pretty easy to use.
-
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.
-
Issues with Assimp Loader and Bones
I ran into what sounds like a similar problem a few months ago. It turns out this was an assimp bug: https://github.com/assimp/assimp/issues/1974
-
What is the best way to read .3DS files?
You could give assimp a go (there is a python version) i've used it for 3DS before then you can export to something else. https://github.com/assimp/assimp/blob/master/port/PyAssimp/README.md
-
How can I retrieve normal scale and occlusion strength properties from GLTF 2.0 PBR materials using Assimp?
I have checked the source code for GLTF for this and it is not handled by Assimp. I created an issue as in their Github.
-
A TRIANGLE!!! with OpenGL! Awesome right? 😅😜
Assimp is your friend
-
Using Assimp library for commercial game development
Have you read the license? It's quite permissive. https://github.com/assimp/assimp/blob/master/LICENSE
-
i wanna turn 3d models into a sprite and a normal map (the same way dead cells does it) Any library recommendations that i can use for this? Simpler and easier to learn the llibrarry the better as this is the only thing i am going to do with it.
There is probably some library more specific to your use case, but you can use assimp to load 3d models in C++.
tinyobjloader
-
Open GL tutor request
Obj file parsing isn't really OpenGL... But you can take a look at this GitHub project: https://github.com/tinyobjloader/tinyobjloader
-
From Blender to OpenGL
For the Blender export part, the simplest 3D model format is OBJ. It's a text format that can be read in only ~100 lines of code. You can use Assimp for this. Or you can use something like tinyobjloader: https://github.com/tinyobjloader/tinyobjloader
-
[Part 5] Update of my Vulkan toy renderer: Meshlet cone culling, fast_obj, Vulkan dynamic rendering and many more
I've replaced tinyobjloader with fast_obj which speeds up model loading process significantly. Here is a good article comparing different obj loaders.
-
Texture UV issue
I don't think this is an issue with tinyobjloader but I'm unsure of how to troubleshoot from here. I've been following this tutorial to learn opengl.
-
oof: real-time, full-color console output for C++
Exampes I've seen are the stb single header libraries, as well as tinyobjloader. The necessity to do this is usually written in the comments at the top of the header file:
-
How can I get Triangles from OBJ files?
If you´re using tinyobjloader, the documentation here https://github.com/tinyobjloader/tinyobjloader explains how it works. There´s even a triangulate flag.
-
Is there a simple and reliable static object loader out there?
Try Tiny obj loader: https://github.com/tinyobjloader/tinyobjloader
-
Baking Lighting Data and Color Variations to Vertex Colors
Also, it's possible to store a color per vertex, tinyobjloader supports this extended format for OBJ. But, like you say, how many (if any) OBJ loading programs actually support these vertex colors I suspect you can count on one hand (and more likely, zero hands). Blender, for example, does a terrible job even interpreting cutout objects in OBJ files, a common case (see step 9). I doubt they'd ever add per vertex color import support for any file format they read in. But, I'm interested to hear if they do - Blender is (by far, I believe) the main DCC app used with Mineways exports.
What are some alternatives?
cgltf - :diamond_shape_with_a_dot_inside: Single-file glTF 2.0 loader and writer written in C99
rapidobj - A fast, header-only, C++17 library for parsing Wavefront .obj files.
android-3D-model-viewer - Android OpenGL 2.0 application to view 3D models. Published on Play Store
stb - stb single-file public domain libraries for C/C++
meshoptimizer - Mesh optimization library that makes meshes smaller and faster to render
oof - Convenient, high-performance RGB color and position control for console output
ozz-animation - Open source c++ skeletal animation library and toolset
mp-units - The quantities and units library for C++
tilck - A Tiny Linux-Compatible Kernel
3DWorld - 3D Procedural Game Engine Using OpenGL
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.
termtosvg - Record terminal sessions as SVG animations