Blender Git Commits

Blender Git "soc-2013-paint" branch commits.

Page: 16 / 20

July 31, 2013, 14:15 (GMT)
* Rearrange UI to hide colour wheel when gradient is active
* Palette colour goes to active color band color if gradient is active
July 31, 2013, 13:58 (GMT)
UI for color ramps that will be used as gradient source for colors
during stroking and gradient filling. Still not functional.
July 31, 2013, 11:12 (GMT)
Support polylines for line strokes.

This commit changes the way line strokes work. Instead of dragging, user
now clicks on end point to end the stroke. If shift is pressed during
that click, a new line is added instead.
July 31, 2013, 10:05 (GMT)
* Fix accumulation working only when pressure alpha influence was active.

* Draw stroke line with outline, it helps in backgrounds that do not have
enough contrast.
July 31, 2013, 09:42 (GMT)
* Support undo for bucket fill
* Color correct brush color properly.
July 30, 2013, 20:33 (GMT)
Bucket fill for 2d painting. Warning, no undo supported yet. And
changing the operator color on properties panel is problematic
unfortunately since it the context is not set up correctly when changing
tool options in 3d viewport toolbar. For now I have disabled it. This is
quite a headache I must say :/ Also some minor code for gradients is
included
July 28, 2013, 15:07 (GMT)
Merge trunk -r58694 into soc-2013-paint
July 24, 2013, 13:58 (GMT)
* Better rake support for line strokes.
* Reduce dereference of stroke->brush in paint_stroke_modal.
July 24, 2013, 12:58 (GMT)
* Draw pressure as soon as the user starts the stroke
* Do not calculate rake in cursor display while a stroke is active. It
can mess up a stroke easily, since the variables are global.
* Reset the brush rotation on stroke end not in brush display.
* Rename dispay_pressure to stroke_active (since this is what the
variable stores)
July 24, 2013, 11:59 (GMT)
* Do not add a dab for lines until mouse button is released.
* Fix line strokes getting infinity mouse results for sculting.
July 24, 2013, 11:10 (GMT)
* Rename BRUSH_RESTORE_MESH to BRUSH_DRAG_DOT. Not useful to have two
names for the same thing.
* Disable pressure for anchored and drag dot strokes. On release
pressure is zero so there is no really useful input to get here from
pressure. Might be worth exploring confirmation with space or enter
here.
* Expose space attenuation property in UI for line strokes as well
July 24, 2013, 11:10 (GMT)
Merge trunk -r58566 into soc-2013-paint
July 22, 2013, 14:39 (GMT)
Line style strokes.

Access from stroke panel or by pressing A.
To use press on first spot and drag to end spot. A line is displayed to
show the path of drawing. Pressure is disabled in this mode. Rationale
is that you can't get meaningful pressure values at the endpoints of the
line only.

It would be nice if we had some icons for the stroke modes.

Also, airbrushes now only trigger on timer events and cursor is always
refreshed when a stroke is active. Based on a patch by Jason Wilkins,
thanks!
July 22, 2013, 14:39 (GMT)
* RNA properties for line stroke
* Airbrush is not applied on mousemove anymore, only on timer.
July 22, 2013, 14:39 (GMT)
BRUSH_INVERTED is a temporary flag, do not store on DNA, move to unified
paint settings instead. Note to self, unified paint settings are also
saved on DNA. To avoid that I should add a stroke cache. This can be
instantiated on startup, when random number generators for strokes are
instantiated.
July 22, 2013, 12:02 (GMT)
* Fix lock icon for brush strength in image editor
* Only delete key is used for deleting a palette color now, it could
interfere with colour swapping too easily.
July 19, 2013, 16:22 (GMT)
Fix space attenuation dependent on zoom, also painting not getting
correct space attenuation factor when space without accumulation option
and space attenuation was active
July 19, 2013, 15:52 (GMT)
Fix first dab being full strength
July 19, 2013, 15:27 (GMT)
Enable brush space attenuation for image painting as well as sculpting.
This makes it so that when using space with accumulate option, the
strength of the brush is attemuated to account for overlapping dabbing
of the brush. This way you don't get overblown areas while painting,
while still being able to paint over the same region repeatedly. To
enable this calculation, click on the lock icon next to the strength of
the brush when "accumulate" is selected.

This commit moves the attenuation factor calculation outside of sculpt
code and on stroke level. It also optimizes the curve integration to
only happen if the correct modes are enabled, while on sculpting it
occured always.
July 19, 2013, 15:27 (GMT)
Fix accumulate option showing even for brushes that always accumulate
(like airbrushes)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021