Blender Git Commit Log
Git Commits -> Revision 4ba06ad
Revision 4ba06ad by Campbell Barton (master) July 23, 2021, 02:54 (GMT) |
Edit Mesh: multi-thread auto-smooth & custom normal calculations Supported multi-threading for bm_mesh_loops_calc_normals. This is done by operating on vertex-loops instead of face-loops. Single threaded operation still loops over faces since iterating over vertices adds some overhead in the case of custom-normals as the order used for accessing loops must be the same as iterating of a faces loops. From isolated timing tests of bm_mesh_loops_calc_normals on high poly models, this gives between 3.5x to 10x speedup, with larger gains for meshes with custom-normals. NOTE: this is part one of two patches for multi-threaded auto-smooth, tagging edges as sharp is still single threaded. Reviewed By: mont29 Ref D11928 |
Commit Details:
Full Hash: 4ba06ad0a8cdec66d9a9cb06f982736d46c40f4c
Parent Commit: 3fb4795
Lines Changed: +730, -261