aboutsummaryrefslogtreecommitdiff
path: root/src/client/mesh_generator_thread.cpp
AgeCommit message (Collapse)Author
2023-02-08Generalize mesh chunking, and make it configurable. (#13179)lhofhansl
* Generalize mesh chunking. Set 3x3x3 chunks. * Make mesh chunk size configurable... Default to 1 (off). * Extract all mesh grid maths into a dedicated class --------- Co-authored-by: x2048 <codeforsmile@gmail.com>
2023-01-318x block meshes (#13133)x2048
Reduce the number of drawcalls by generating a mesh per 8 blocks (2x2x2). Only blocks with even coordinates (lowest bit set to 0) will get a mesh. Note: This also removes the old 'loops' algorithm for building the draw list, because it produces visual artifacts and cannot be made compatible with the approach of having a mesh for every 8th block without hurting performance. Co-authored-by: Jude Melton-Houghton <jwmhjwmh@gmail.com> Co-authored-by: Lars <larsh@apache.org> Co-authored-by: sfan5 <sfan5@live.de>
2023-01-09Remove mapblock cache for mesh generation. (#13124)x2048
Reduces memory consumption and improves performance
2023-01-06Occlusion culling algorithm based on recursive descend (#13104)x2048
Co-authored-by: DS <vorunbekannt75@web.de>
2022-12-27Use multiple threads for mesh generation (#13062)x2048
Co-authored-by: sfan5 <sfan5@live.de>
2022-08-14Limit force shadow update to urgent blocks (#12692)x2048
2022-08-02Switch MeshUpdateQueue to better data structuresfan5
2022-08-02Ratelimit MeshUpdateQueue::cleanupCache() runssfan5
2021-12-29Add more neighbors on mesh update (#6765)Vitaliy
2020-10-17Remove all bump mapping and parallax occlusion related code.Lars
2019-08-13Better F6 profiler (#8750)SmallJoker
Update the profiler names to make more sense of what they actually represent Move the profiler code from header to its source file Use monospace font to align lines Format the statistics line to align better with surrounding values Refresh the profiler each 3 seconds (roughly)
2018-11-28Move client-specific files to 'src/client' (#7902)Quentin Bazin
Update Android.mk Remove 'src/client' from include_directories