Blender Git Commit Log
Git Commits -> Revision acd3bef
Revision acd3bef by Antonis Ryakiotakis (master) March 13, 2013, 03:46 (GMT) |
Texture sampling function refactoring: ALERT! POSSIBLE BREAKING COMMIT, ESPECIALLY FOR SCULPT! Separate the sculpt sampling function so that it can be reused from other paint systems. This includes updating of the relevant coordinates for anchored and rake style brushes, which are now being updated as part of the stroke system. I left only code for area-style brush texture mapping in sculpt code, since it requires a few data structures not present on other paint systems. This commit makes it almost as easy to support rake on other systems as exposing the python UI for it. Also it makes it totally possible to have texture painting capabilities in vertex paint too :) These commits will follow very soon. Also, even if I did my best to keep the code from breaking, (even fixed a leftover bug from coordinate changes) this is a big change. Please test! |
Commit Details:
Full Hash: acd3bef34e6a6b30df694f931dc0c622ca083f59
SVN Revision: 55223
Parent Commit: 153b63e
Lines Changed: +325, -207
10 Modified Paths:
/source/blender/blenkernel/BKE_brush.h (+3, -1) (Diff)
/source/blender/blenkernel/BKE_paint.h (+2, -1) (Diff)
/source/blender/blenkernel/intern/brush.c (+94, -2) (Diff)
/source/blender/blenkernel/intern/paint.c (+20, -0) (Diff)
/source/blender/editors/sculpt_paint/paint_cursor.c (+15, -33) (Diff)
/source/blender/editors/sculpt_paint/paint_image_2d.c (+2, -2) (Diff)
/source/blender/editors/sculpt_paint/paint_intern.h (+3, -2) (Diff)
/source/blender/editors/sculpt_paint/paint_stroke.c (+135, -8) (Diff)
/source/blender/editors/sculpt_paint/sculpt.c (+42, -154) (Diff)
/source/blender/makesdna/DNA_scene_types.h (+9, -4) (Diff)
/source/blender/blenkernel/BKE_paint.h (+2, -1) (Diff)
/source/blender/blenkernel/intern/brush.c (+94, -2) (Diff)
/source/blender/blenkernel/intern/paint.c (+20, -0) (Diff)
/source/blender/editors/sculpt_paint/paint_cursor.c (+15, -33) (Diff)
/source/blender/editors/sculpt_paint/paint_image_2d.c (+2, -2) (Diff)
/source/blender/editors/sculpt_paint/paint_intern.h (+3, -2) (Diff)
/source/blender/editors/sculpt_paint/paint_stroke.c (+135, -8) (Diff)
/source/blender/editors/sculpt_paint/sculpt.c (+42, -154) (Diff)
/source/blender/makesdna/DNA_scene_types.h (+9, -4) (Diff)