Blender Git Loki

Git Commits -> Revision 22c4ad3

July 24, 2010, 20:33 (GMT)
== Multires/VPaint ==

Enable multires painting.

* Added operator/RNA/UI to toggle multires for vertex colors. (UI is not great right now, just a button in mesh data properties.)
* Added layer names to GridKey. These are used (in combination with CD type) to identify the source layer from CustomData.
* Changed default mcol to white with alpha=0
* Renamed CD_FACEGRID to CD_GRIDS, removed CD_DISP
* Added a new CustomDataMultires type (CD_GRIDS), which stores layered data like CustomData. However, it only stores float types, and is very simplified.
* Reworked PaintMask to use the new CD multires stuff, also used for vertex colors.
* Started changing vpaint to internally use floats.
* Layering support for multires vpaint. Layer alpha is used to combine the output.

TODO:
* Doesn't handle layer renaming yet (so if you rename your mcol layer, it'll disassociate from the multires data)
* Layers for non-multires vpaint
* Default mcol layer in the startup blend has full alpha, so for testing layers you have to delete the default mcol layer and add new ones.
* Multires level in vpaint is controlled by the Preview level

Commit Details:

Full Hash: 22c4ad34fe616136e255a80f2e31a96fff44bce7
SVN Revision: 30696
Parent Commit: a36f3c5
Lines Changed: +786, -227

19 Modified Paths:

/release/scripts/ui/properties_data_mesh.py (+4, -0) (Diff)
/source/blender/blenkernel/BKE_customdata.h (+36, -1) (Diff)
/source/blender/blenkernel/BKE_dmgrid.h (+18, -10) (Diff)
/source/blender/blenkernel/intern/CCGSubSurf.c (+9, -0) (Diff)
/source/blender/blenkernel/intern/customdata.c (+257, -21) (Diff)
/source/blender/blenkernel/intern/multires.c (+149, -50) (Diff)
/source/blender/blenkernel/intern/subsurf_ccg.c (+26, -21) (Diff)
/source/blender/blenlib/BLI_pbvh.h (+2, -1) (Diff)
/source/blender/blenlib/intern/pbvh.c (+4, -2) (Diff)
/source/blender/blenloader/intern/readfile.c (+19, -6) (Diff)
/source/blender/blenloader/intern/writefile.c (+21, -7) (Diff)
/source/blender/editors/mesh/mesh_data.c (+55, -0) (Diff)
/source/blender/editors/mesh/mesh_intern.h (+1, -0) (Diff)
/source/blender/editors/mesh/mesh_ops.c (+1, -0) (Diff)
/source/blender/editors/sculpt_paint/paint_mask.c (+72, -63) (Diff)
/source/blender/editors/sculpt_paint/paint_vertex.c (+69, -30) (Diff)
/source/blender/gpu/intern/gpu_buffers.c (+13, -6) (Diff)
/source/blender/makesdna/DNA_customdata_types.h (+23, -7) (Diff)
/source/blender/makesrna/intern/rna_mesh.c (+7, -2) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021