Blender Git Loki
Git Commits -> Revision cb5515f
Revision cb5515f by Campbell Barton July 10, 2015, 21:13 (GMT) |
Initial looptri addition This is intended to remove use of MFace for runtime tessellation, and instead cache loop tris. This has some advantages for OpenGL and should reduce memory use since we won't need to store customdata layers (UV's, colors, normals) for MFace and MPoly+MLoop. Currently looptri are stored in the DerivedMesh and accessed directly by the struct member, though they may be moved behind API access. These areas are working on a basic level: - GPU buffers - CDDM drawing - sculpting |
Commit Details:
Full Hash: cb5515fceae5ef8dde132791ff0560bd88c19b39
Parent Commit: bf3fe67
Lines Changed: +881, -647
18 Modified Paths:
/source/blender/blenkernel/BKE_cdderivedmesh.h (+2, -0) (Diff)
/source/blender/blenkernel/BKE_DerivedMesh.h (+14, -2) (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 (+169, -254) (Diff)
/source/blender/blenkernel/intern/DerivedMesh.c (+76, -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 (+13, -2) (Diff)
/source/blender/blenlib/BLI_math_geom.h (+5, -0) (Diff)
/source/blender/blenlib/intern/math_geom.c (+34, -0) (Diff)
/source/blender/editors/space_view3d/drawmesh.c (+9, -9) (Diff)
/source/blender/gpu/GPU_buffers.h (+7, -6) (Diff)
/source/blender/gpu/intern/gpu_buffers.c (+265, -307) (Diff)
/source/blender/makesdna/DNA_meshdata_types.h (+8, -0) (Diff)
/source/blender/blenkernel/BKE_DerivedMesh.h (+14, -2) (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 (+169, -254) (Diff)
/source/blender/blenkernel/intern/DerivedMesh.c (+76, -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 (+13, -2) (Diff)
/source/blender/blenlib/BLI_math_geom.h (+5, -0) (Diff)
/source/blender/blenlib/intern/math_geom.c (+34, -0) (Diff)
/source/blender/editors/space_view3d/drawmesh.c (+9, -9) (Diff)
/source/blender/gpu/GPU_buffers.h (+7, -6) (Diff)
/source/blender/gpu/intern/gpu_buffers.c (+265, -307) (Diff)
/source/blender/makesdna/DNA_meshdata_types.h (+8, -0) (Diff)