Blender Git Loki

Git Commits -> Revision 812af65

May 6, 2018, 23:08 (GMT)
Transform: snap_object: Make snapDerivedMesh use bvhtrees from loose edges and bvhtrees from loose verts.

Bvhtrees take up a lot of memory space, reusing the common bvhtree of looptris to snap to vertices and edges is a good way to save memory.
Unfortunately we have a worse performance: worsening around 63% in the snap operation and 46% in the creation of bvhtrees.
But since the CPU time of snapping operations (no matter how higth poly the object is) corresponds to less than 0.01% of all CPU time of a blender frame, that change is not really significant.

Snapping operations on a mesh in edit mode have not changed significantly.

Commit Details:

Full Hash: 812af65c621af633303a9101c57d2d26886e2007
Parent Commit: 567c118
Lines Changed: +280, -144

Tehnyt: Miika HämäläinenViimeksi p?ivitetty: 07.11.2014 14:18 MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021