tinyobjloader
fast_obj
Our great sponsors
tinyobjloader | fast_obj | |
---|---|---|
8 | 5 | |
3,153 | 568 | |
1.4% | - | |
0.0 | 6.2 | |
3 months ago | 4 months ago | |
C++ | C++ | |
GNU General Public License v3.0 or later | MIT License |
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.
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.
fast_obj
-
Looking to port some JS stuff into C
The operations you're talking about with the example of loading 3d data is the realm of parsing, and there's a LOT of theory available and a LOT of code available for how to implement things -- there are TONS of options. Since you don't know where to start you should investigate parsing generally in C. I highly recommend you take a look at an existing library in C that loads 3d data, like this library https://github.com/thisistherk/fast_obj/blob/master/fast_obj.h that deals with OBJ the format.
-
[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.
-
What library would be good for loading .obj vertices, normals and texture coordinates?
I wanted to say try writing your own like I did, then I remember I made it in c++ with string & stringstream std lib :(. I don't know how much would it take you to write it yourself, might try it myself. After a quick search I think this one has a pure c version: https://github.com/thisistherk/fast_obj
- How to read ascii files faster?
-
Select point on 3D mesh and find closest vertex in .obj file
Oh I see. I was talking about writing a program in the language of your choice that does this, it's not very difficult. If you use C or C++ you can load the file with https://github.com/thisistherk/fast_obj to make it even easier.
What are some alternatives?
assimp - The official Open-Asset-Importer-Library Repository. Loads 40+ 3D-file-formats into one unified and clean data structure.
tinyobjloader-c - Header only tiny wavefront .obj loader in pure C99
rapidobj - A fast, header-only, C++17 library for parsing Wavefront .obj files.
dragonbox - Reference implementation of Dragonbox in C++
stb - stb single-file public domain libraries for C/C++
libobj - A library for loading Alias Wavefront OBJ files.
oof - Convenient, high-performance RGB color and position control for console output
lre - [PROTOTYPE] A portable "LEGO-like" game engine written in ANSI C using a virtual filesystem
mp-units - The quantities and units library for C++
phylab - A platform to teach students physics concepts
3DWorld - 3D Procedural Game Engine Using OpenGL