rapidobj
earcut.hpp
rapidobj | earcut.hpp | |
---|---|---|
5 | 2 | |
159 | 810 | |
- | 1.1% | |
5.9 | 3.0 | |
2 months ago | 3 months ago | |
C++ | C | |
MIT License | ISC 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.
rapidobj
-
C++ Show and Tell - December 2022
I wrote a rapidobj library for parsing Wavefront .obj files. It's an old text format for 3D data. This library was optimised to quickly process large files (see benchmarks); it can parse millions and even tens of millions of triangles per second.
-
rapidobj: a fast .obj parser library
I just released rapidobj v1.0. It's a fast .obj file parser. May be useful to those who need to quickly load large .obj models (of course, you will still need to transform the data into something that's GPU friendly). Third party benchmarks: https://aras-p.info/blog/2022/05/14/comparing-obj-parse-libraries/
- RapidObj v0.1 - A fast, header-only, C++17 library for parsing Wavefront .obj files.
- RapidObj - Quick Loader/Parser for Wavefront .obj Geometry Files
- RapidObj v0.1 - First Public Release
earcut.hpp
-
TTF Parser, managed to triangulate simple polygons. Next will be inner holes.
Have you looked into mapbox's earcut hpp library? https://github.com/mapbox/earcut.hpp
-
RapidObj v0.1 - A fast, header-only, C++17 library for parsing Wavefront .obj files.
And out of 6,000 lines in the file, at least 3000 are other people's code: earcut for polygon triangulation and fast_float because .obj files typically contain a lot of floating point numbers so it's important to parse them quickly.
What are some alternatives?
tinyobjloader - Tiny but powerful single file wavefront obj loader
fast_float - Fast and exact implementation of the C++ from_chars functions for number types: 4x to 10x faster than strtod, part of GCC 12 and WebKit/Safari
CGal - The public CGAL repository, see the README below
AutoGeodesics - Easily integrate the geodesics equation using automatic differentiation.
NativeRenderingPlugin - C++ Rendering Plugin example for Unity
Vcpkg - C++ Library Manager for Windows, Linux, and MacOS
zpl - 📐 Pushing the boundaries of simplicity
indicators - Activity Indicators for Modern C++
earcut - The fastest and smallest JavaScript polygon triangulation library for your WebGL apps
Yave - Yet Another Vulkan Engine
HSL - HSL to RGB and RGB to HSL