Blender Git Loki

Git Commits -> Revision 1fea622

Revision 1fea622 by Antonis Ryakiotakis (master)
March 31, 2013, 00:38 (GMT)
Woot woot commit.

Stencil style texture mapping. Ready for field testing and user feedback.

This commit adds stencil like brushes, like those that existed on old ptex branch.
(with the exception of clip colour)
To control the position of the stencil, you use

Q: translation
Shift - Q: scaling
Ctrl - Q: rotation

There's extra work that has been done to make this work:

* Support for coloured overlay in vertex/texture painting
* Also made A button do stroke mode selection like in sculpt mode,
when mask painting is inactive.

There are some TODOs to work on during bcon3:

* Support tiled and stencil mode in 2D painting. Support alpha textures also.
* Tidy up overlay code. There's some confusion there due
to the way we use the primary brush texture sometimes for alpha, other times
for colour control.

WIP design docs will be in

http://wiki.blender.org/index.php/User:Psy-Fi/New_Brush_Tool_Design

Commit Details:

Full Hash: 1fea6220a2418b07bec8bbf49da00cc77094076f
SVN Revision: 55679
Parent Commit: 68ac086
Lines Changed: +368, -47

14 Modified Paths:

/source/blender/blenkernel/BKE_blender.h (+1, -1) (Diff)
/source/blender/blenkernel/intern/brush.c (+46, -6) (Diff)
/source/blender/blenlib/BLI_math_vector.h (+2, -0) (Diff)
/source/blender/blenlib/intern/math_vector_inline.c (+12, -0) (Diff)
/source/blender/blenloader/intern/readfile.c (+12, -1) (Diff)
/source/blender/editors/sculpt_paint/paint_cursor.c (+88, -27) (Diff)
/source/blender/editors/sculpt_paint/paint_intern.h (+4, -2) (Diff)
/source/blender/editors/sculpt_paint/paint_ops.c (+173, -6) (Diff)
/source/blender/editors/sculpt_paint/paint_utils.c (+20, -2) (Diff)
/source/blender/editors/sculpt_paint/paint_vertex.c (+3, -1) (Diff)
/source/blender/editors/sculpt_paint/sculpt.c (+1, -1) (Diff)
/source/blender/makesdna/DNA_brush_types.h (+3, -0) (Diff)
/source/blender/makesdna/DNA_texture_types.h (+1, -0) (Diff)
/source/blender/makesrna/intern/rna_brush.c (+2, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021