Blender Git Loki
Git Commits -> Revision c691551
Revision c691551 by Bastien Montagne (master) January 21, 2014, 15:32 (GMT) |
Optimize tessellation code (min 20% better, up to 300% with some CD layers to tessellate). The main idea is to store (during tessellation) or recreate (during tessdata update) a tessfaceverts-to-loops mapping, and then update all tessdata in one pass, instead of calling `BKE_mesh_loops_to_mface_corners` repeatedly for all tfaces! Differential Revision: https://developer.blender.org/D226 Reviewed by Campbell, thanks a lot! |
Commit Details:
Full Hash: c691551249f3fe3982c43e4c75be40a19503dd26
Parent Commit: cda894f
Lines Changed: +187, -141
5 Modified Paths:
/source/blender/blenkernel/BKE_mesh.h (+3, -0) (Diff)
/source/blender/blenkernel/BKE_mesh_mapping.h (+9, -0) (Diff)
/source/blender/blenkernel/intern/DerivedMesh.c (+30, -35) (Diff)
/source/blender/blenkernel/intern/mesh_evaluate.c (+144, -96) (Diff)
/source/blender/editors/sculpt_paint/paint_vertex.c (+1, -10) (Diff)
/source/blender/blenkernel/BKE_mesh_mapping.h (+9, -0) (Diff)
/source/blender/blenkernel/intern/DerivedMesh.c (+30, -35) (Diff)
/source/blender/blenkernel/intern/mesh_evaluate.c (+144, -96) (Diff)
/source/blender/editors/sculpt_paint/paint_vertex.c (+1, -10) (Diff)