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:
authorHans Goudey <h.goudey@me.com>2022-09-16 22:31:01 +0300
committerHans Goudey <h.goudey@me.com>2022-09-16 22:31:30 +0300
commit9c35a5a5241b6db465e07d9b7548a2d462c76d5e (patch)
tree9d09d9aff8fc066d7923c6634ab1fecb5d14d021 /source/blender/blenkernel/intern/attribute_access.cc
parent8fdaf2bddccf7cf1469733c05bad08d530fcd37c (diff)
Sculpt: Improve performance when initializing face sets
Avoid conversion to `BMesh` for basic topology operations and data access. Instead use a mesh map to retrieve the faces connected to each edge. I observed performance improvements of 5x (600ms to 100ms) to 10x (15s to 1s), with bigger changes for large meshes with more data layers Switching to `std::queue` over Blender's `GSQueue` gave another 25% improvement. Differential Revision: https://developer.blender.org/D15988
Diffstat (limited to 'source/blender/blenkernel/intern/attribute_access.cc')
0 files changed, 0 insertions, 0 deletions