Blender Git Commit Log

Git Commits -> Revision 6d7dbdb

Revision 6d7dbdb by Hans Goudey (master)
December 30, 2021, 00:39 (GMT)
Point Cloud: Optimize bounding box calculation

This is analagous to 6a71b2af66cf10556b21 which did the same
thing for mesh data. Two differences are that here the coordinates
are simply `float3`, and we account for the radius if it's available.
Here I observed a similar performance increase, from 50ms
average to 10ms average, with 16 million points, a 5x speedup.

The calculation is about 1.4 times faster when no radius is used, down
to 7.3ms average. Before, the calculation was only 1.2 times faster.

Commit Details:

Full Hash: 6d7dbdbb44f37968221d64aec44c67b85a76c534
Parent Commit: 9d3264b
Lines Changed: +60, -12

1 Modified Path:

/source/blender/blenkernel/intern/pointcloud.cc (+60, -12) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021