Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2021-06-14 15:56:02 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-06-14 15:56:02 +0300
commit6bef2559047461794eb3ff27de15f4caf5ddcf1e (patch)
tree1085e6a277341ab46f31e4677c6aa175cb74a45d /source/blender/bmesh/intern/bmesh_mesh_tessellate.c
parent8083527f90d1556f576cf102d4143749677c45e0 (diff)
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.
Diffstat (limited to 'source/blender/bmesh/intern/bmesh_mesh_tessellate.c')
0 files changed, 0 insertions, 0 deletions