Mesh: Multithreaded transformation apply #115021
Closed
glitchy-virophage
wants to merge 1 commits from
When changing the target branch, be careful to rebase the branch in your fork to match. See documentation.
(deleted):multithreaded
into main
pull from: (deleted):multithreaded
merge into: blender:main
blender:main
blender:blender-v3.6-release
blender:blender-v3.3-release
blender:universal-scene-description
blender:brush-assets-project
blender:partial-write-refactor
blender:blender-v4.1-release
blender:blender-v3.6-temp_wmoss_animrig_public
blender:temp-sculpt-dyntopo
blender:gpencil-next
blender:anim/animation-id-113594
blender:blender-v4.0-release
blender:blender-projects-basics
blender:bridge-curves
blender:sculpt-blender
blender:asset-browser-frontend-split
blender:asset-shelf
blender:tmp-usd-python-mtl
blender:tmp-usd-3.6
blender:blender-v3.5-release
blender:blender-v2.93-release
blender:realtime-clock
blender:sculpt-dev
blender:bevelv2
blender:xr-dev
When changing the target branch, be careful to rebase the branch in your fork to match. See documentation.
1 Commits
Author | SHA1 | Message | Date |
---|---|---|---|
glitchy-virophage | 0e5bbafb03 |
added multithreading to 2 commonly used functions in source/blender/blenkernel/intern/mesh.cc
Optimize vertex coordinate update functions with multithreading In this commit, the performance of the vertex coordinate update functions has been significantly improved by introducing multithreading. Two functions were targeted for optimization: 1. BKE_mesh_vert_coords_apply: - Original function: Updated vertex coordinates based on input array. - Optimized version: Parallelized the loop using OpenMP directives, enhancing performance for large datasets. 2. BKE_mesh_vert_coords_apply_with_mat4: - Original function: Applied a 4x4 transformation matrix to vertex coordinates. - Optimized version: Introduced parallel processing using OpenMP, accelerating the matrix operations for improved efficiency. The optimization leverages the power of modern processors by parallelizing the computation, making these functions more efficient, especially in scenarios involving extensive vertex coordinate updates or matrix transformations. The commit aims to enhance overall performance in graphics programming tasks by leveraging multithreading capabilities. |