Blender Git Loki
Git Commits -> Revision 595a491
Revision 595a491 by Campbell Barton (master) July 16, 2015, 17:55 (GMT) |
Add tessellation data to DerivedMesh (LoopTri) This stores loop indices into the loop array giving easier acess to data such as vertex-colors and UV's, removing the need to store an MFace duplicate of custom-data. This doesn't yet move all internal code from MFace to LoopTri just yet. Only applies to: - opengl drawing - sculpting (pbvh) - vertex/weight paint Thanks to @psy-fi for review, fixes and improvements to drawing! |
Commit Details:
Full Hash: 595a491e63d6f3f3462675d38cfa71b4e784fe9c
Parent Commit: c8f6313
Lines Changed: +1109, -1018
22 Modified Paths:
/source/blender/blenkernel/BKE_cdderivedmesh.h (+2, -0) (Diff)
/source/blender/blenkernel/BKE_DerivedMesh.h (+22, -3) (Diff)
/source/blender/blenkernel/BKE_mesh.h (+11, -0) (Diff)
/source/blender/blenkernel/BKE_paint.h (+3, -1) (Diff)
/source/blender/blenkernel/BKE_pbvh.h (+7, -3) (Diff)
/source/blender/blenkernel/intern/cdderivedmesh.c (+327, -446) (Diff)
/source/blender/blenkernel/intern/DerivedMesh.c (+106, -17) (Diff)
/source/blender/blenkernel/intern/editderivedmesh.c (+44, -0) (Diff)
/source/blender/blenkernel/intern/mesh_evaluate.c (+176, -0) (Diff)
/source/blender/blenkernel/intern/paint.c (+4, -5) (Diff)
/source/blender/blenkernel/intern/pbvh.c (+75, -57) (Diff)
/source/blender/blenkernel/intern/pbvh_intern.h (+3, -1) (Diff)
/source/blender/blenkernel/intern/subsurf_ccg.c (+122, -77) (Diff)
/source/blender/blenlib/BLI_math_geom.h (+5, -0) (Diff)
/source/blender/blenlib/intern/math_geom.c (+34, -0) (Diff)
/source/blender/editors/mesh/editface.c (+2, -37) (Diff)
/source/blender/editors/sculpt_paint/paint_vertex.c (+3, -201) (Diff)
/source/blender/editors/space_view3d/drawmesh.c (+62, -75) (Diff)
/source/blender/gpu/GPU_buffers.h (+6, -3) (Diff)
/source/blender/gpu/intern/gpu_buffers.c (+83, -91) (Diff)
/source/blender/makesdna/DNA_customdata_types.h (+1, -1) (Diff)
/source/blender/makesdna/DNA_meshdata_types.h (+11, -0) (Diff)
/source/blender/blenkernel/BKE_DerivedMesh.h (+22, -3) (Diff)
/source/blender/blenkernel/BKE_mesh.h (+11, -0) (Diff)
/source/blender/blenkernel/BKE_paint.h (+3, -1) (Diff)
/source/blender/blenkernel/BKE_pbvh.h (+7, -3) (Diff)
/source/blender/blenkernel/intern/cdderivedmesh.c (+327, -446) (Diff)
/source/blender/blenkernel/intern/DerivedMesh.c (+106, -17) (Diff)
/source/blender/blenkernel/intern/editderivedmesh.c (+44, -0) (Diff)
/source/blender/blenkernel/intern/mesh_evaluate.c (+176, -0) (Diff)
/source/blender/blenkernel/intern/paint.c (+4, -5) (Diff)
/source/blender/blenkernel/intern/pbvh.c (+75, -57) (Diff)
/source/blender/blenkernel/intern/pbvh_intern.h (+3, -1) (Diff)
/source/blender/blenkernel/intern/subsurf_ccg.c (+122, -77) (Diff)
/source/blender/blenlib/BLI_math_geom.h (+5, -0) (Diff)
/source/blender/blenlib/intern/math_geom.c (+34, -0) (Diff)
/source/blender/editors/mesh/editface.c (+2, -37) (Diff)
/source/blender/editors/sculpt_paint/paint_vertex.c (+3, -201) (Diff)
/source/blender/editors/space_view3d/drawmesh.c (+62, -75) (Diff)
/source/blender/gpu/GPU_buffers.h (+6, -3) (Diff)
/source/blender/gpu/intern/gpu_buffers.c (+83, -91) (Diff)
/source/blender/makesdna/DNA_customdata_types.h (+1, -1) (Diff)
/source/blender/makesdna/DNA_meshdata_types.h (+11, -0) (Diff)