Gradient Effect Plug-In
#1
Posted 07 June 2006 - 08:47 PM
Also it has a special ability to use a mask color. This color will be the only area where the gradient fill will occur within the selected region. I did this after running into lots of math problems with wierd regions, if you want to see the wierd region problems create a very irrigular selection and try some of the fills.
Attached is the link to a zip file. Unzip it and put the single DLL that is inside this zip file in your effects folder and then launch the paint.net app. It should appear on your effects menu as a new effect.
btw. This was built with paint.net v2.63 and if you want source let me know here.
Thanks,
Paul
http://www.sapphireo...dientPlugIn.zip
#2
Posted 07 June 2006 - 09:27 PM
Thanks!
Dan
I am not a mechanism, I am part of the resistance;
I am an organism, an animal, a creature, I am a beast.
~ Becoming the Archetype
#3
Posted 07 June 2006 - 09:51 PM
However: a must-have!
#4
Posted 07 June 2006 - 11:43 PM
It is somewhat similar to the gradients that can be produced by the Gimp.
I concur that the "OK" and "Cancel" dialog boxes should be moved.
5 stars.
#5
Posted 08 June 2006 - 05:12 AM
Enjoy
#6
Posted 08 June 2006 - 05:59 PM
a user defined angle would be splendid however it is awesome how it is.
#7
Posted 08 June 2006 - 06:21 PM
This is why I love mathematics. It applies!
Also, in the spirit of open source freeware, could you release the source code?
#8
Posted 08 June 2006 - 07:48 PM
are you going to release the source ?
#9
Posted 08 June 2006 - 08:07 PM
btw. This was built with paint.net v2.63 and if you want source let me know here.
Since two persons have expressed an intrest in the source, he'll probably provide the information next time he's on.
I am not a mechanism, I am part of the resistance;
I am an organism, an animal, a creature, I am a beast.
~ Becoming the Archetype
#10
Posted 09 June 2006 - 10:32 PM
#11
Posted 15 June 2006 - 11:30 AM
#12
Posted 15 June 2006 - 03:03 PM
btw. This was built with paint.net v2.63
Where is this in 2.63? I didn't see the effect till I downloaded the dll.
#13
Posted 15 June 2006 - 03:13 PM
#14
Posted 15 June 2006 - 03:25 PM
And just so you know, pleska, your gradient effect plug in will be featured in an upcoming video tutorial I'll be making to supplement my existing glass orbs tutorial!
I am not a mechanism, I am part of the resistance;
I am an organism, an animal, a creature, I am a beast.
~ Becoming the Archetype
#15
Posted 15 June 2006 - 05:06 PM
#16
Posted 15 June 2006 - 05:26 PM
I am not a mechanism, I am part of the resistance;
I am an organism, an animal, a creature, I am a beast.
~ Becoming the Archetype
#17
Posted 15 June 2006 - 06:49 PM
Oh well, still nice to have the other gradients!
#18
Posted 15 June 2006 - 06:58 PM
I did a small rectangle in the upper-left of the image, and I got a radial gradient, but the center was down low in the selection, cutting of the bottom part of the fade. Then I did a large rectangular selection more in the middle of the image, and the center of the gradient was somewhere off the right side of the canvas, as the fade only caught a bit of the lower right corner.
I don't know. It'd be a plus to figure out what's going on, but I just love the plug-in so much for vertical gradients, I can't fault it.
One thing I did notice though, pleska:
You have Diagonal and Reverse Diagonal fades in your drop-down. The Diagonal fades from Foreground to Background from the top-left to the bottom-right [\]. Reverse Diagonal fades from Background to Foreground along the same line.
Since this effect can be achieved by switching the Foreground and Background colors around, would it be possible to make the Reverse Diagonal option make the fade from lower-left to upper-right [/]? Right now there is no way to do this other than reversing the layer.
Anyway, that's enough of my nit-picking for one day.
I am not a mechanism, I am part of the resistance;
I am an organism, an animal, a creature, I am a beast.
~ Becoming the Archetype
#19
Posted 16 June 2006 - 09:41 PM
Glad you like the gradient plug in. When I get back from vacation in a week I will look at adding the up-slope gradients in addition to the two that currently are in there. I really just ran out of time. Also, yes, I did mean to indicate that I built it against that version of Paint.Net. Wasn't sure how backwards compatible the plug-in model was so I thought I would mention it.
Regarding gradients, the plug-in basically looks at the rectangle that encloses the selection, or the entire image if no selection is available. It then uses that rectangle for the basis (i.e. the start, end and increment of color to use across that rectangle). In the case of the radial gradient, which I might have messed up, I divide that rectangle by 2 and start going out from there, going from the primary color to the secondary color. If you have masking turned on make sure your selection rectangle is centered over the general area you want to make your gradient in. Either way, I will look to see if I messed up something in that fill when i add the other two fills in the plug-in in a week or so.
Btw. I love this Paint.NET program, I keep thinking of new ideas to add to it.
Thanks,
#20
Posted 16 June 2006 - 10:02 PM
http://www.sapphireo...dientPlugIn.zip
Thanks for finding the bug.
Paul











