Opened 5 years ago

Last modified 3 weeks ago

#13 assigned enhancement

Add more flexible gradients

Reported by: Alexander Chopelas Owned by: PulkoMandy
Priority: major Milestone: 2.8
Component: GrafX2 Version: 2.4
Keywords: Cc:

Description

Deluxe Paint had the feature to freehand gradient-filled shapes as opposed to ONLY ellipses and rectangles. You could make blobby or unusual shapes and the gradient filler would accentuate the shape.

This behavior should also be applied to ellipses instead of merely filling them with a radial gradient. The fill should follow the proportions of the ellipse.

Also, in addition to gradient dithering Deluxe Paint had the ability to add a custom amount of random noise to the dithering to produce a rougher or more "natural" texture to the gradient. Could this behavior be reverse engineered or satisfactorily be written from scratch?

Change History (8)

comment:1 Changed 5 years ago by pulkomandy

The random dithering is already available, using the slider/scrollbar at the left of the gradient editor window.

comment:2 Changed 22 months ago by PulkoMandy

Milestone: 2.52.6

comment:3 Changed 21 months ago by PulkoMandy

Owner: changed from Adrien Destugues to PulkoMandy
Status: newassigned

comment:4 Changed 13 months ago by PulkoMandy

Milestone: 2.62.7

Move open tickets to 2.7 milestone

comment:5 Changed 9 months ago by Thomas Bernard

has anyone any idea on how to implement this ?
Is it worth the effort ?

comment:6 Changed 9 months ago by PulkoMandy

Yes, it can be useful as a quick and dirty "pillow shading" tool.

As for implementation, the idea is that the user draws a freehand shape that is filled (as for "countour fill" mode). Then, the shape is eroded (remove all pixels that touch the edge) and filled again with the next color/step of the gradient, and repeat until there are no pixels left.

comment:7 Changed 9 months ago by Thomas Bernard

Type: defectenhancement

comment:8 Changed 3 weeks ago by PulkoMandy

Milestone: 2.72.8
Note: See TracTickets for help on using tickets.