summaryrefslogtreecommitdiffstats
path: root/thirdparty/meshoptimizer
Commit message (Collapse)AuthorAgeFilesLines
* Update meshoptimizer to 0.22Arseny Kapoulkine2024-10-2614-269/+1010
| | | | | | | | | The Godot-specific patch is just a single line now; removing this patch will likely require adjusting Godot importer code to handle error limits better. This also adds new SIMPLIFY_ options; Godot is currently not using any of these but might use SIMPLIFY_PRUNE and SIMPLIFY_SPARSE in the future.
* Update thirdparty licenses & copyright files per reviewArseny Kapoulkine2023-12-111-1/+1
|
* Update thirdparty/meshoptimizer with distance-only error metricArseny Kapoulkine2023-11-024-440/+45
| | | | | | | | | This change replicates the distance-only metric patch which is now much smaller and cleaner, as upstream simplifier already tracks distance and attribute quadrics separately - it just doesn't store both errors in the collapse structures. The old two patches were removed as they are no longer needed.
* Update thirdparty/meshoptimizer to v0.20Arseny Kapoulkine2023-11-028-413/+625
| | | | | | | | | | Note: this change completely overwrites the meshoptimizer library source (from git SHA c21d3be6ddf627f8ca852ba4b6db9903b0557858) without including any patches; a distance error metric patch is still needed and will be reapplied in the next commit. The changes elsewhere are due to a signature change for meshopt_simplifyWithAttributes.
* meshoptimizer: Sync with upstream commit 4a287848fRémi Verschelde2023-01-3113-180/+279
| | | | https://github.com/zeux/meshoptimizer/commit/4a287848fd664ae1c3fc8e5e008560534ceeb526
* meshoptimizer: Sync with upstream commit ea4558d1cRémi Verschelde2022-06-103-28/+36
| | | | https://github.com/zeux/meshoptimizer/commit/ea4558d1c0f217f1d67ed7fe0b07896ece88ae18
* meshoptimizer: Sync with upstream commit 8a7d69caaRémi Verschelde2022-05-174-45/+54
| | | | https://github.com/zeux/meshoptimizer/commit/8a7d69caa68f778cb559f1879b6beb7987c8c6b7
* meshoptimizer: Sync with upstream commit f4c356d79Rémi Verschelde2021-11-195-35/+177
| | | | https://github.com/zeux/meshoptimizer/commit/f4c356d79fadb99cbf432f7e199d823581b0e19e
* Auto LOD fixes and improvementsjfons2021-09-272-10/+228
| | | | | | | | | | | | | | | | * Fixed LODs for shadow meshes. * Added a merging step before simplification. This helps with tesselated meshes that were previously left untouched. The angle difference at wich edges ar considered "hard" can be tweaked as an import setting. * LODs will now start with the highest decimation possible and keep doubling (approximately) the number of triangles from there. This makes sure that very low triangle counts are included when possible. * Given more weight to normal preservation. * Modified MeshOptimizer to report distance-based error instead of including attributes in the reported metrics. * Added attribute transference between the original mesh and the various LODs. Right now only normals are taken into account, but it could be expanded to other attributes in the future.
* Meshoptimizer: Sync with upstream commit f5d83e8Johannes Witt2021-05-301-5/+11
|
* Update with experimental mesh optimizer.K. S. Ernest (iFire) Lee2021-05-223-4/+415
| | | | | | Normals being optimized has better quality now. Test simplify once and then use a slightly less tolerant error for the target error.
* update meshoptimizer to 0.16Hendrik Brucker2021-04-186-85/+859
|
* Scale error in mesh optimizer so it uses absolute scale.K. S. Ernest (iFire) Lee2021-01-113-22/+38
| | | | | Switch to simplify sloppy for another try. Update to meshoptimizer e3f53f66e7a35b9b8764bee478589d79e34fa698.
* Meshoptimizer update libraryK. S. Ernest (iFire) Lee2020-12-306-356/+220
|
* Improved shadow rendering efficiencyreduz2020-12-181-3/+14
| | | | | -Do not bind attributes that are not needed -Improve a bit more how meshoptimizer interacts with Godot
* Implement automatic LOD (Level of Detail)reduz2020-12-183-5/+126
| | | | | | | -Happens on import by default for all models -Just works (tm) -Biasing can be later adjusted per node or per viewport (as well as globally) -Disabled AABB.get_support test because its broken
* Rework Mesh handling on scene importing.reduz2020-12-1317-0/+7776
-Reworked how meshes are treated by importer by using EditorSceneImporterMesh and EditorSceneImporterMeshNode. Instead of Mesh and MeshInstance, this allows more efficient processing of meshes before they are actually registered in the RenderingServer. -Integrated MeshOptimizer -Reworked internals of SurfaceTool to use arrays, making it more performant and easy to run optimizatons on.