Sign in to follow this  
n d

Shaped gradient - my first plugin

Recommended Posts

Thanks APShredder. But now that I think of it, I highly doubt if applying gaussian blur is going to work...

See, if paint.net divides the selection in ROI:s and then calls the render method for each ROI, then it is impossible to call the gaussian blur so that the whole image would already be rendered. And this means the gaussian blur would also take some transparent pixels (or pixels of the old image) and this would mess it up...

So I've got to think of something else.

Pyrochild, what do you have against RAR?

Share this post


Link to post
Share on other sites

RAR is evil.

exactly! I agree with pyrochild, just zip the thing "pretty please", as all the other plugin writers do.

I'll retry to use the source file provided above if you refuse to use zip, but may need some assistance to build the dll. Last attempt I still received error messages.

ciao OMA

Edited by oma

Share this post


Link to post
Share on other sites

Pyrochild, what do you have against RAR?

It's proprietary, not documented, not free, does not achieve good compression ratios compared to 7Z, and does not have good compatibility compared to ZIP, and generally more confusing to non-geeks compared to ZIP.

For some reason, the "Scene" has an obsession with packaging their stuff in 100-part RAR archives with little-to-no compression. The overhead of each file, then, makes the "compressed" version several hundred MB larger than the original file(s).

Evil.

Share this post


Link to post
Share on other sites

sigh, sometimes I'm just way too nice person. ;)

ZIPPED!

LOL! and that's why I'm loving ya! thanks so very much you're a real sweety.

ciao OMA

Edited by oma

Share this post


Link to post
Share on other sites

Hmm, interesting stuff about the rar vs. zip...

A propos, what ever happened to ARJ? I remember when practically all packages used to be ARJ... this was before teh interwebs though, when people still used 1.44MB disks and needed to divide their packages to disk-sized portions... ARJ was convenient for that. Hmm, did I just answer my own question - did ARJ become obsolete with the introduction of larger HD:s and cheaper CD drives?

---

Enough nostalgizing though, about the anti-alias thing again... I consulted BoltBait and took a peek at his code in Outline Selection, and for now it doesn't seem to be a feasible solution for this plugin. Perhaps someone who is less of a noob than me can prove me wrong, if anyone wants to play around with my source code I won't take offense...

So anyway, since for the moment I can't see a way to implement a proper anti-alias function on the plugin, I'm thinking of releasing this on the general plugins forum... I can always post updates if I manage to write the anti-alias some day.

---

Oh, and here's a workaround you can use - I use this lots of times when I have pixelation that is not on the edges, ie. can't be dealt with feather: duplicate layer, apply eigen blur with radius 1 & RGB only on the new layer, then reduce opacity somewhat and merge it with the lower layer.

Share this post


Link to post
Share on other sites

90% of the pdn plugins I've downloaded were packed as .rars

You must be getting them from the wrong place.

I don't see a single RAR file in the Plugin forum.

Share this post


Link to post
Share on other sites

Just downloaded and installed 3D Trail and Shaped Gradient. I notice there is no icon for either one when it`s listed in PDN. Will you be adding them? I know it`s only a small thing but it would be nice.

Havn`t had time to try them out yet but I`m looking forward to it after seeing some of the images made here. Thanks n d ;)

Share this post


Link to post
Share on other sites

Enough nostalgizing though, about the anti-alias thing again... such as website http://www.tvdrawing.com I consulted BoltBait and took a peek at his code in Outline Selection, and for now it doesn't seem to be a feeasible solution for this plugin. Perhaps someone who is less of a noob than me can prove me wrong, if anyone wants to play around with my source code I won't take offense...

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this