Blender Git Commit Log
Git Commits -> Revision b7a928f
Revision b7a928f by Campbell Barton (soc-2021-curves) June 21, 2021, 14:31 (GMT) |
BMesh: remove unit-length edge-vector cache from normal calculation Bypass stored edge-vectors for ~16% performance gains. While this increases unit-length edge-vector calculations by around ~4x the overhead of a parallel loop over all edges makes it worthwhile. Note that caching edge-vectors per-vertex performs better and may be worth investigating further, although in my tests this increases code complexity with barley measurable benefits over not using cache at all. Details about performance and possible optimizations are noted in bm_vert_calc_normals_impl. |
Commit Details:
Full Hash: b7a928f76e4c51ccedf2805eb693134d74604776
Parent Commit: e5a931b
Committed By: Dilith Jayakody
Lines Changed: +69, -202