Blender Git Loki
Git Commits -> Revision 428f184
Revision 428f184 by Nicholas Bishop (soc-2010-nicolasbishop) June 6, 2010, 21:13 (GMT) |
* Started integrating the customdata facegrids type. For now it's used for storing paintmasks with multires, more to come here. * Updated disp_run to update masks. I'm treating mask layers as actual values rather than displacements as is done with mdisps; results look better this way I think. * Added color buffer updating for VBOs built from grids. * Changed the paint_mask_set operator to update multires too. Notes * For now I've hardcoded the use of mask data into DMGridData and other places. We don't actually always want that extra float though, that's temporary. Plan is to set up something similar to the way CCGSubsurf deals with variable-sized vert/edge/face data. * This commit enables all the calculations needed to create, show, and update masks, but they aren't used for sculpting yet, that comes soon |
Commit Details:
Full Hash: 428f1848e2632180e85daa0e967cb1ba097ca04a
SVN Revision: 29284
Parent Commit: a8ad20c
Lines Changed: +168, -38
7 Modified Paths:
/source/blender/blenkernel/BKE_DerivedMesh.h (+1, -0) (Diff)
/source/blender/blenkernel/intern/customdata.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/multires.c (+94, -11) (Diff)
/source/blender/blenkernel/intern/subsurf_ccg.c (+12, -8) (Diff)
/source/blender/blenlib/BLI_pbvh.h (+1, -0) (Diff)
/source/blender/editors/sculpt_paint/paint_mask.c (+4, -0) (Diff)
/source/blender/gpu/intern/gpu_buffers.c (+55, -18) (Diff)
/source/blender/blenkernel/intern/customdata.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/multires.c (+94, -11) (Diff)
/source/blender/blenkernel/intern/subsurf_ccg.c (+12, -8) (Diff)
/source/blender/blenlib/BLI_pbvh.h (+1, -0) (Diff)
/source/blender/editors/sculpt_paint/paint_mask.c (+4, -0) (Diff)
/source/blender/gpu/intern/gpu_buffers.c (+55, -18) (Diff)