summaryrefslogtreecommitdiffstats
path: root/thirdparty/meshoptimizer/patches
Commit message (Collapse)AuthorAgeFilesLines
* Update thirdparty/meshoptimizer with distance-only error metricArseny Kapoulkine2023-11-023-439/+39
| | | | | | | | | 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.
* meshoptimizer: Sync with upstream commit 4a287848fRémi Verschelde2023-01-312-39/+40
| | | | https://github.com/zeux/meshoptimizer/commit/4a287848fd664ae1c3fc8e5e008560534ceeb526
* meshoptimizer: Sync with upstream commit ea4558d1cRémi Verschelde2022-06-102-27/+27
| | | | https://github.com/zeux/meshoptimizer/commit/ea4558d1c0f217f1d67ed7fe0b07896ece88ae18
* meshoptimizer: Sync with upstream commit 8a7d69caaRémi Verschelde2022-05-172-16/+16
| | | | https://github.com/zeux/meshoptimizer/commit/8a7d69caa68f778cb559f1879b6beb7987c8c6b7
* Auto LOD fixes and improvementsjfons2021-09-271-0/+176
| | | | | | | | | | | | | | | | * 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.
* Update with experimental mesh optimizer.K. S. Ernest (iFire) Lee2021-05-221-0/+262
| | | | | | Normals being optimized has better quality now. Test simplify once and then use a slightly less tolerant error for the target error.
* Meshoptimizer update libraryK. S. Ernest (iFire) Lee2020-12-301-96/+0
|
* Implement automatic LOD (Level of Detail)reduz2020-12-181-0/+96
-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