Blender Git Commit Log
Git Commits -> Revision 812af65
Revision 812af65 by Germano Cavalcante (blender2.8-snapping_with_occlusion) 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
1 Modified Path:
/source/blender/editors/transform/transform_snap_object.c (+280, -144) (Diff)