0
0
forked from blender/blender
The official Blender project repository.
Go to file
Hans Goudey 1bc0ec1b80 Sculpt: Improve mesh BVH build time by storing less temporary data
Each time the face bounds are used after they're initially computed, we
recompute the center of the bounds. We only use the actual bounds to
calculate the bounds of each node to decide how it should be split.
This commit changes to store the bounds centers instead, and just use
the full bounds as a type for the parallel reduction.

In a test with a 16 million face grid on a Ryzen 7840U, I observed a
1.28x decrease in BVH build time, from 1072 to 836 ms.

I didn't apply a similar change to multires grids BVH building because
it's not clear the same bottleneck exists due to the lower ratio of
"primitives" (grids) to final subdivided vertices.
2024-09-08 16:54:51 -04:00
.gitea Issue template: Use bug label for Python API reports 2024-08-22 04:28:52 +02:00
.github Funding: Add FUNDING.yml to link to fund.blender.org on GitHub mirror 2024-07-31 10:03:57 +02:00
build_files PyAPI: enable draco when building blender as a python module 2024-09-06 21:15:38 +10:00
doc Refactor: make "sys_info" an internal module, rename for clarity 2024-09-06 11:11:26 +10:00
extern CMake: don't link sdlew when WITH_SDL=OFF 2024-09-06 21:01:36 +10:00
intern UI: Hand Cursors 2024-09-06 19:05:59 +02:00
lib Libs: Update OIIO/sse2neon/Python for Windows ARM64 2024-08-22 13:00:57 +02:00
locale I18N: Updated UI translations from git/weblate repository (5b647985dbb49). 2024-09-02 19:36:38 +02:00
release UI: Add SVG parent group to two large icons 2024-09-06 21:27:05 +02:00
scripts Anim: remove the 'Animation Debug' panel 2024-09-06 10:59:04 +02:00
source Sculpt: Improve mesh BVH build time by storing less temporary data 2024-09-08 16:54:51 -04:00
tests Anim: Add backward-compatible RNA API for Action.groups 2024-09-06 14:33:58 +02:00
tools Fix: Tools: improve gdb frame filter when used in non-debug build 2024-09-05 16:51:44 +02:00
.clang-format Clang-Format: Ensure single new line at the end of files 2024-02-22 14:42:10 +01:00
.clang-tidy Clang-tidy: Ignore variable name length and .c/.cc include warnings 2022-05-06 15:26:54 +02:00
.editorconfig editorconfig: add HTML entry 2023-12-08 13:28:13 +11:00
.git-blame-ignore-revs Cleanup: add commit to .git-blame-ignore-revs 2023-05-03 20:31:11 +10:00
.gitignore Switch SVN to Git submodules using Git-LFS 2024-02-22 13:50:55 +01:00
.gitmodules Revert "Release: Updates for the 4.2 branch" 2024-06-05 12:33:31 +02:00
AUTHORS AUTHORS: add 2 new authors, 3 updated names 2024-07-05 21:04:39 +10:00
CMakeLists.txt PyAPI: enable draco when building blender as a python module 2024-09-06 21:15:38 +10:00
COPYING == docs == 2010-10-13 14:44:22 +00:00
GNUmakefile Cleanup: remove unused icon utilities and make convenience target 2024-06-27 18:28:32 +02:00
make.bat Cleanup: remove unused icon utilities and make convenience target 2024-06-27 18:28:32 +02:00
pyproject.toml Extensions: Support online extensions and move add-ons outside Blender 2024-05-15 19:26:29 +02:00
README.md Docs: Replace most wiki links with links to new developer docs 2024-01-18 16:49:38 +01:00

Blender

Blender is the free and open source 3D creation suite. It supports the entirety of the 3D pipeline-modeling, rigging, animation, simulation, rendering, compositing, motion tracking and video editing.

Blender screenshot

Project Pages

Development

License

Blender as a whole is licensed under the GNU General Public License, Version 3. Individual files may have a different, but compatible license.

See blender.org/about/license for details.