Blender Git Loki
Git Commits -> Revision cfa6753
March 31, 2021, 02:00 (GMT) |
wrote a fast and inaccurate distance to triangle function for DynTopo. Profiling consistently showed it to be a bottleneck. I've now written scalar versions of this function four times. For now I'm committing this inaccuration version. I'm also committing code for a vectorized version I found in a paper. Still need to rejigger the dyntopo code to use it though. |
Commit Details:
Full Hash: cfa6753518150a9e4174f4f5c4a1ca188e1d195d
Parent Commit: 2cf8c35
Lines Changed: +587, -32
1 Added Path:
/source/blender/blenkernel/intern/closest_point_tri_sse.cc (+396, -0) (View)
8 Modified Paths:
/source/blender/blenkernel/CMakeLists.txt (+1, -0) (Diff)
/source/blender/blenkernel/intern/pbvh_bmesh.c (+168, -11) (Diff)
/source/blender/blenlib/intern/BLI_ghash_utils.c (+0, -1) (Diff)
/source/blender/blenloader/intern/versioning_290.c (+18, -16) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_mesh_primitive_cone.cc (+1, -1) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_mesh_primitive_cube.cc (+1, -1) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_mesh_primitive_ico_sphere.cc (+1, -1) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_mesh_primitive_uv_sphere.cc (+1, -1) (Diff)
/source/blender/blenkernel/intern/pbvh_bmesh.c (+168, -11) (Diff)
/source/blender/blenlib/intern/BLI_ghash_utils.c (+0, -1) (Diff)
/source/blender/blenloader/intern/versioning_290.c (+18, -16) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_mesh_primitive_cone.cc (+1, -1) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_mesh_primitive_cube.cc (+1, -1) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_mesh_primitive_ico_sphere.cc (+1, -1) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_mesh_primitive_uv_sphere.cc (+1, -1) (Diff)