Blender Git Loki
Git Commits -> Revision 5a2a2a5
Revision 5a2a2a5 by Campbell Barton (soc-2021-curves) June 21, 2021, 14:31 (GMT) |
Mesh: optimize object mode face tessellation - Multi-thread BKE_mesh_recalc_looptri. - Add BKE_mesh_recalc_looptri_with_normals, this skips having to calculate normals for ngons. Exact performance depends on number of faces, size of ngons and available CPU cores. For high poly meshes the isolated improvement to BKE_mesh_recalc_looptri in my tests was between 6.7x .. 25.0x, with the largest gains seen in meshes containing ngons with many sides. The overall speedup for high poly meshes containing quads and triangles is only ~20% although ngon heavy meshes can be much faster. |
Commit Details:
Full Hash: 5a2a2a59d82dddfc608a7406561b58c841f2b623
Parent Commit: c24535a
Committed By: Dilith Jayakody
Lines Changed: +295, -105