Paint.NET

Welcome to the Paint.NET forum!
It is currently Sun Nov 22, 2009 10:55 am

All times are UTC


Forum rules


Questions or problems with plugin installation? Click here.



Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 43 posts ]  Go to page 1, 2, 3  Next
Author Message
 Post subject: Octagonal/Quad reshape/matte
PostPosted: Sun Jan 14, 2007 7:43 am 
Offline

Joined: Mon Mar 06, 2006 9:41 pm
Posts: 62
Pretty much stuff you can already do with PDN, but I thought I'd upload it anyway.

Let's you reshape the image or crop the image to an arbitrary quad or octagonal region.

Image

Image

Right click to constrain to a rectangle when working with a quad.

Download: http://www.evanolds.com/dl/OctQuad.zip

Last Update: March 20, 2007


Last edited by evanolds on Tue Mar 20, 2007 9:52 am, edited 2 times in total.

Top
 Profile  
 
 Post subject:
PostPosted: Sun Jan 14, 2007 11:14 am 
Offline

Joined: Tue Sep 06, 2005 5:10 pm
Posts: 559
It's not often that such a great plugin is published. Thanks evanolds.

It does look a little jaggie when you reshape images though. Perhaps some anti alaising would help. Also some fine tuning for the nodes would make a very helpful addition to the interface.

Edit: Also I think some of the extra control points don't warp the image properly when you use 8 control points.

The top middle and bottom middle ones do this to the image where as the left middle and right middle ones work perfectly.

Image

_________________
Personal Gallery
Deviant Art Gallery


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jan 14, 2007 3:19 pm 
Offline
User avatar

Joined: Tue Jul 04, 2006 1:07 am
Posts: 684
Location: NJ, USA
Wow, awesome plugin! Thanks! :)

_________________
Image


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jan 14, 2007 5:36 pm 
Offline
User avatar

Joined: Mon Jun 19, 2006 9:11 pm
Posts: 1099
Location: North Eastern, PA
Wow, this would be great for doing things like barkbark does, with the 3d effect.. *hoping i'm talking about the right person*

_________________
Image
I'm a cheerleader
I'm a Dancer


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jan 14, 2007 8:24 pm 
Offline
User avatar

Joined: Tue Jul 25, 2006 10:12 pm
Posts: 3118
Location: Rochester, NY
Yeah, I've done it, but the credit goes to Buzzkill for thinkin' of it. He's also pretty good at making the s/w display boxes.

evanolds, it seems like aatwo's mention of the jaggies is correct. take a look at Madjiks oblique code. He implemented the antialiasing function into it. if I remember correctly he just used what was in the source for the polar inversion effect.

Other than that it looks great.

_________________
Image
Take responsibility for your own intelligence. ;) -Rick Brewster


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jan 14, 2007 11:31 pm 
Offline
User avatar

Joined: Wed Nov 30, 2005 11:40 pm
Posts: 1267
Location: Middle Tennessee
Wow! Very nice evanolds. I was waiting for this :D

Oh - and before I forget - Source code? :)

_________________
Image
Kitteh all growed up :_(


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jan 23, 2007 3:36 am 
Offline
User avatar

Joined: Sun Nov 19, 2006 5:35 am
Posts: 33
Location: Las Vegas
AWESOME!

_________________
Image


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jan 23, 2007 8:41 pm 
Offline
User avatar

Joined: Mon Jun 19, 2006 9:11 pm
Posts: 1099
Location: North Eastern, PA
Best pluginn ever made! I love it!

_________________
Image
I'm a cheerleader
I'm a Dancer


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jan 23, 2007 9:25 pm 
Offline
User avatar

Joined: Fri Dec 08, 2006 8:56 pm
Posts: 5489
Location: 32829 Orlando, FL
Cool!!!!1!!!

_________________
"The greatest thing about the Internet is that you can write anything you want and give it a false source." ~Jimi Hendrix
Image
twitter | dA | blog


Top
 Profile  
 
 Post subject:
PostPosted: Tue Mar 20, 2007 9:54 am 
Offline

Joined: Mon Mar 06, 2006 9:41 pm
Posts: 62
aatwo wrote:
It does look a little jaggie when you reshape images though.


Added edge feathering option.

New download link:
http://www.evanolds.com/dl/OctQuad.zip

Please let me know if you find any problems with it.

_________________
There are no warranties whatsoever on my plug-ins. Use them at your own risk. You can redistribute them if you'd like. Please do not modify and redistribute.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Mar 20, 2007 1:06 pm 
Offline
User avatar

Joined: Tue Jan 09, 2007 1:05 pm
Posts: 166
Location: The Netherlands
WHOW!!! this is sooo cool :D and now i can use it as feather effect to :D you realy hav overdone yourselfe!!!

_________________
My Deviant


Top
 Profile  
 
 Post subject:
PostPosted: Sat Apr 14, 2007 7:27 am 
Offline
User avatar

Joined: Tue Jul 25, 2006 10:12 pm
Posts: 3118
Location: Rochester, NY
Feather doesn't work if object is in center of transparent area.

Repro:

Draw a filled shape(Circle/Rectangle) on a transparent layer.

Apply Reshape effect w/ Feather Edge turned on.


------------------------------------------------------------

P.S.

Evanolds,
(No offense to BoltBait)I much prefer your version of the feather effect...

Is there a standalone version in the works? *prays the answer is yes*

Or, BoltBait, maybe you could modify your plugin to work similar to Evanolds' effect.

_________________
Image
Take responsibility for your own intelligence. ;) -Rick Brewster


Top
 Profile  
 
 Post subject:
PostPosted: Sat Apr 14, 2007 2:47 pm 
Offline
User avatar

Joined: Fri Apr 06, 2007 10:22 pm
Posts: 346
For the 8 points, it says matte only, but I am able to select either. Am I missing something?

evanolds wrote:
aatwo wrote:
It does look a little jaggie when you reshape images though.


Added edge feathering option.

New download link:
http://www.evanolds.com/dl/OctQuad.zip

Please let me know if you find any problems with it.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Apr 14, 2007 6:13 pm 
Offline

Joined: Mon Mar 06, 2006 9:41 pm
Posts: 62
barkbark00 wrote:
Feather doesn't work if object is in center of transparent area.

Yes, it is designed to feather the edges of the polygon, not any image sections within the polygon. This is conceptually appropriate for the plug-in and will not be changed.

barkbark00 wrote:
Is there a standalone version in the works? *prays the answer is yes*

I considered this a while back and rather quickly regected the idea. First off, you can't feather a selection in PDN the way you can in Photoshop because it's a binary selection system and it can't be modified by effect plug-ins. So I can't do it due to that reason. But I bet a lot of people would just like a "feathered delete" effect that deletes the edges of the selected area, and this of course technically can be done but I probably won't do that either. The way my algorithm works is polygon-region-based and the original polygonal region (or collection of polygonal regions) that represents the selection is not passed to the effect plug-in.

For example, when you do the freeform selection (correct me if I'm wrong on these next few points Rick) you are just defining a polygonal region with a high enough number of edges to make it look smooth. This polygonal region is converted to a series of rectangles which will simplify the task of applying a basic effect, but make it so your effect plug-in has lost the original polygon data. The PdnRegion class seems to be wrapping around the .NET Region class a bit, and the .NET Region class doesn't give you access to polygon data either.

barkbark00 wrote:
Or, BoltBait, maybe you could modify your plugin to work similar to EvanOlds' effect.

His may be more technically correct. I'm not sure what Photoshop and the Gimp use internally, but I heard from a forum post somewhere that Gimp uses a gaussian blur to do it, and I believe that's exactly what BoltBait is doing. I did it "my own way" which seems logical (weighted transparency adjustment based on physical distance from pixel to region edge) so it's completely different in concept.

It'll be in the back of my mind, but I doubt I'll ever be able to implement a generic feathering effect for PDN unless the internals of the effect system change quite a bit.

_________________
There are no warranties whatsoever on my plug-ins. Use them at your own risk. You can redistribute them if you'd like. Please do not modify and redistribute.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Apr 14, 2007 6:45 pm 
Offline
User avatar

Joined: Tue Jul 25, 2006 10:12 pm
Posts: 3118
Location: Rochester, NY
evanolds wrote:
First off, you can't feather a selection in PDN the way you can in Photoshop because it's a binary selection system and it can't be modified by effect plug-ins.


Yeah, I knew that.

But, I would be happy if the "feathering" started right inside the edge of the selection path and the work its way inward. This way the pixels right inside the selection path would be completely transparent and whatever control was in place would just determine how far the effect retreated inward. Its not just same as PS or Gimp but it would be ever so useful.
I know, it'll never happen...

Thanks for your response though.

_________________
Image
Take responsibility for your own intelligence. ;) -Rick Brewster


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 43 posts ]  Go to page 1, 2, 3  Next

All times are UTC


Who is online

Users browsing this forum: georgian and 25 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Hosted by Forumer & phpBB

Get your Forumer™ today!

Adding a forum to your website is a great way to get return visitors.

» Get your own Free Forum!

Terms of Use

Privacy Policy

Report Abuse

Copyright © 2003-2009 Forumer. All Rights Reserved. | Copyright © paint.NET