Blender Git Loki
Git Commits -> Revision e8fab1e
Revision e8fab1e by Nicholas Bishop (soc-2010-nicolasbishop) June 10, 2010, 18:20 (GMT) |
* Initial support for dynamically-sized Griddata from subsurf. CCGSubsurf internally already fully supports vertdata of any size. This commit basically extends that support to all the code using the output of subsurf (with dm->getGridData). For now, two types of grid data are set up: coords+normals with masks, and coords+normals without masks. More types to come. For future reference, emacs find/replace regexps used to make some of the changes: (data|subgrid|grid|edgeData|faceGridData)[(.*?)].(co|no|mask) GRIDELEM_,(upcase 3)_AT(1, 2, gridkey) &(diffGrid|gridA|gridB|faceGridData|gridData[i]|lowGridData[i])[(.*?)] GRIDELEM_AT(1, 2, gridkey) (vi.grid|vd|a|b|vda|vdb)->(co|no|mask) GRIDELEM_,(upcase 2)(1, gridkey) |
Commit Details:
Full Hash: e8fab1e9cfcd0ad36b7fe745b8676484561a4ada
SVN Revision: 29388
Parent Commit: 529c194
Lines Changed: +312, -204
12 Modified Paths:
/source/blender/blenkernel/BKE_DerivedMesh.h (+2, -5) (Diff)
/source/blender/blenkernel/BKE_subsurf.h (+37, -0) (Diff)
/source/blender/blenkernel/intern/CCGSubSurf.c (+4, -0) (Diff)
/source/blender/blenkernel/intern/CCGSubSurf.h (+3, -0) (Diff)
/source/blender/blenkernel/intern/multires.c (+44, -37) (Diff)
/source/blender/blenkernel/intern/subsurf_ccg.c (+149, -113) (Diff)
/source/blender/blenlib/BLI_pbvh.h (+12, -10) (Diff)
/source/blender/blenlib/intern/pbvh.c (+13, -7) (Diff)
/source/blender/editors/sculpt_paint/paint_mask.c (+1, -0) (Diff)
/source/blender/editors/sculpt_paint/sculpt.c (+11, -8) (Diff)
/source/blender/gpu/GPU_buffers.h (+2, -2) (Diff)
/source/blender/gpu/intern/gpu_buffers.c (+34, -22) (Diff)
/source/blender/blenkernel/BKE_subsurf.h (+37, -0) (Diff)
/source/blender/blenkernel/intern/CCGSubSurf.c (+4, -0) (Diff)
/source/blender/blenkernel/intern/CCGSubSurf.h (+3, -0) (Diff)
/source/blender/blenkernel/intern/multires.c (+44, -37) (Diff)
/source/blender/blenkernel/intern/subsurf_ccg.c (+149, -113) (Diff)
/source/blender/blenlib/BLI_pbvh.h (+12, -10) (Diff)
/source/blender/blenlib/intern/pbvh.c (+13, -7) (Diff)
/source/blender/editors/sculpt_paint/paint_mask.c (+1, -0) (Diff)
/source/blender/editors/sculpt_paint/sculpt.c (+11, -8) (Diff)
/source/blender/gpu/GPU_buffers.h (+2, -2) (Diff)
/source/blender/gpu/intern/gpu_buffers.c (+34, -22) (Diff)