Jump to content


Photo

Selection Tools - Feather, Outline, Bevel - Upd: 2008-08-26


  • Please log in to reply
46 replies to this topic

#1 BoltBait

BoltBait
  • Administrators
  • 8,911 posts
  • LocationCalifornia, USA
  • Reputation:103

Posted 26 August 2008 - 10:25 PM

BoltBait's Selection Tools

What are selection tools? How are they different from other effects?

Good questions! I have grouped this set of effects under the Effects > Selection menu because of how they work. Most effects don't really care about the shape of the selection, they just do their effect. These tools, on the other hand, apply their effect based on the shape of the "marching ants" selection.


The Idea

The very first effect I ever wanted to write was a feather effect that would feather along the selection. I couldn't really figure out a good way to do it so I wrote another feather effect that used transparency to determine the edges of objects. While good, it was never really the effect I wanted to write--it was just a "hack". Well, I finally figured out a good way to do it!


The Effects

Feather Selection

To use: Create an irregular selection and run Effects > Selection > Feather Selection. It feathers the selection along the trail of marching ants. As you can guess, this will be REALLY useful for making photochops! And, I think, MUCH less confusing to use compared to my current feather plugin.

Posted Image
Outline Selection

To use: Create an irregular selection and run Effects > Selection > Outline Selection. It outlines the selection along the trail of marching ants using the selected color.

Posted Image
Bevel Selection

To use: Create an irregular selection and run Effects > Selection > Bevel Selection. It creates a 3D... like... um... "puddle" (I guess)... out of the selection along the trail of marching ants. You'll just have to play with this one to see what I mean. ;)

Posted Image
It makes some great looking text! :mrgreen:

I can only take partial credit for this one. While I did have the idea and wrote the first version, it was sooooo slow that it really wasn't usable. Ed Harvey took me to school and taught me ways to increase the speed of the effect... and fixed some bugs along the way.* To give you an idea, his version was over 1000 times faster than mine. :shock: [/list]

The Effect DLL

Download it here and install it in the normal way...
BoltBait's Plugin Pack

If you need help installing plugins, I recommend reading this page: http://boltbait.goog...ges.com/install

And, if that doesn't work, post your troubles here: http://forums.getpai...hp?/topic/1708-

Enjoy. B) :beer:

*Some of the bug fixes in Paint.NET 3.36 were a result of the development of this effect. Thanks, Rick! ;)
Click to play:
Posted ImagePosted ImagePosted ImagePosted ImagePosted Image
Download: BoltBait's Plugin Pack | CodeLab | More... and how about a Computer Dominos Game

#2 Ash

Ash

    Former Moderator

  • Members
  • 6,381 posts
  • Locationhttp://tinyurl.com/6kqz9v
  • Reputation:5

Posted 26 August 2008 - 10:34 PM

Awesome!
Thanks! ;)

Don't forget to add it to your pack, both the zip and thread :)

Posted Image
All creations Ash + Paint.NET [ Googlepage | deviantArt | Club PDN | PDN Fan ]


#3 Andrew D

Andrew D
  • Members
  • 2,238 posts
  • Reputation:0

Posted 26 August 2008 - 11:04 PM

With the inclusion of these effects, I think it may be a good time to have a way to expand a selection by a specific percentage, otherwise, this feather now works pretty much like the one in PS, but easier.

Great job as always :)

Posted Image


#4 MiguelPereira

MiguelPereira
  • Members
  • 821 posts
  • LocationPortugal
  • Reputation:0

Posted 27 August 2008 - 12:00 AM

We can now remove the feather dll from the folder I believe...

#5 BoltBait

BoltBait
  • Administrators
  • 8,911 posts
  • LocationCalifornia, USA
  • Reputation:103

Posted 27 August 2008 - 12:18 AM

We can now remove the feather dll from the folder I believe...

It really depends. They are both different effects. Personally, I use both depending on the situation.
Click to play:
Posted ImagePosted ImagePosted ImagePosted ImagePosted Image
Download: BoltBait's Plugin Pack | CodeLab | More... and how about a Computer Dominos Game

#6 oma

oma

    2012 Hit & Miss Award Winner

  • Members
  • 4,432 posts
  • Reputation:12

Posted 27 August 2008 - 12:49 AM

oh sweet mercy that bevel plugin is simply awesome!

like manna from heaven.

thanks thanks thanks

OMA

#7 Ash

Ash

    Former Moderator

  • Members
  • 6,381 posts
  • Locationhttp://tinyurl.com/6kqz9v
  • Reputation:5

Posted 27 August 2008 - 01:33 AM

We can now remove the feather dll from the folder I believe...

I would keep both too.

Posted Image
All creations Ash + Paint.NET [ Googlepage | deviantArt | Club PDN | PDN Fan ]


#8 Curmudgeon

Curmudgeon
  • Members
  • 758 posts
  • Reputation:0

Posted 27 August 2008 - 01:41 AM

yep, pretty awesome job BB, keep up the good work

#9 topezia

topezia
  • Members
  • 779 posts
  • LocationRome, Italy
  • Reputation:0

Posted 27 August 2008 - 06:39 AM

Posted Image


Thanks!
But it seems I had some problems with feather after using the bevel selection, am I doing something wrong?

Editing: Now it works perfectly, Thanks Ash! :)

Posted Image


#10 Ash

Ash

    Former Moderator

  • Members
  • 6,381 posts
  • Locationhttp://tinyurl.com/6kqz9v
  • Reputation:5

Posted 27 August 2008 - 06:49 AM

Posted Image


Thanks!
But it seems I had some problems with feather after using the bevel selection, am I doing something wrong?

Update the rest of BB's plugins.

Posted Image
All creations Ash + Paint.NET [ Googlepage | deviantArt | Club PDN | PDN Fan ]


#11 brad.pike

brad.pike
  • Members
  • 267 posts
  • Reputation:1

Posted 27 August 2008 - 07:20 AM

Boltbait could your 'Flip' effects please be moved to this menu? Thanks for all the time and effort you put into Paint.net.

#12 pipp92

pipp92
  • Members
  • 1,297 posts
  • Reputation:2

Posted 27 August 2008 - 08:42 AM

thx a lot ;)

#13 jerkfight

jerkfight
  • Members
  • 3,223 posts
  • LocationToronto, Ontario, Canada
  • Reputation:5

Posted 27 August 2008 - 06:08 PM

Thanks a lot BB

Posted Image


#14 Crimson

Crimson
  • Members
  • 1,648 posts
  • LocationI don't know. Where am I? WHO am I?
  • Reputation:3

Posted 27 August 2008 - 10:33 PM

Holy.
Carp.
Nuff said.



#15 Curmudgeon

Curmudgeon
  • Members
  • 758 posts
  • Reputation:0

Posted 28 August 2008 - 09:34 PM

BoltBait, I'm lovin' the Bevel Selection plugin so far, as it's making my life easier in some projects I'm doing.

Couple ideas I'd like to toss out to see if they might be possible:
Would it be possible to have an angle chooser, to simulate a light source from another direction?
Would it be possible to add a transparency to the shadow/highlight colors for the start of the color?
For the transparency issue, I simulated it by doing my selection on one layer and running the bevel on a separate layer and then adjusting the opacity of the new layer, or blend modes.

The angle chooser I think would be tougher to come up with as it would have to do the bevel shadow and highlight in different areas depending on the angle chosen.

Just ideas I thought about and was wondering about...

#16 oma

oma

    2012 Hit & Miss Award Winner

  • Members
  • 4,432 posts
  • Reputation:12

Posted 28 August 2008 - 09:45 PM

BoltBait, I'm lovin' the Bevel Selection plugin so far, as it's making my life easier in some projects I'm doing.

Couple ideas I'd like to toss out to see if they might be possible:
Would it be possible to have an angle chooser, to simulate a light source from another direction?
Would it be possible to add a transparency to the shadow/highlight colors for the start of the color?
For the transparency issue, I simulated it by doing my selection on one layer and running the bevel on a separate layer and then adjusting the opacity of the new layer, or blend modes.

The angle chooser I think would be tougher to come up with as it would have to do the bevel shadow and highlight in different areas depending on the angle chosen.

Just ideas I thought about and was wondering about...



second these requests ... if possible...know you have your hands full on the codelab thing but would love to see these in future releases of this plugin ..... along with the ability to type in the exact hex colors for the higlights and shadows.

@Curmudgeon the work around I've been using for your second item is to rotate the layer with right click run plugin and then re rotate back again. and I use transparency plugin for the opacity that way it doesn't wonky up when you merge layers.

#17 BoltBait

BoltBait
  • Administrators
  • 8,911 posts
  • LocationCalifornia, USA
  • Reputation:103

Posted 28 August 2008 - 09:48 PM

BoltBait, I'm lovin' the Bevel Selection plugin so far, as it's making my life easier in some projects I'm doing.

Thanks!

Couple ideas I'd like to toss out to see if they might be possible:
Would it be possible to have an angle chooser, to simulate a light source from another direction?
Would it be possible to add a transparency to the shadow/highlight colors for the start of the color?
For the transparency issue, I simulated it by doing my selection on one layer and running the bevel on a separate layer and then adjusting the opacity of the new layer, or blend modes.

That's about the best way to adjust the amount of the effect. I'm glad you figured it out.

The angle chooser I think would be tougher to come up with as it would have to do the bevel shadow and highlight in different areas depending on the angle chosen.

Don't make me hurt you. :P

I don't think you have any idea how complicated this effect is... to give you an idea, most of my plugins are in the 50 line range. This one is over 600 lines. :shock:

By using the "Use alternate lighting direction" check box and swapping the Highlight and Shadow colors, you do have 4 different lighting directions. More than that would make me tear out all of my hair. Sorry, if 4 isn't enough, try what Oma suggests (rotating the layer, do the effect, rotate back, etc.)
Click to play:
Posted ImagePosted ImagePosted ImagePosted ImagePosted Image
Download: BoltBait's Plugin Pack | CodeLab | More... and how about a Computer Dominos Game

#18 Curmudgeon

Curmudgeon
  • Members
  • 758 posts
  • Reputation:0

Posted 28 August 2008 - 10:10 PM

:) that's why it was only tossed out as an idea. no worries...I was hoping that something like the Illuminate plugin or the bevel selection could accomplish it.

I'll just continue to do it the old way with gradients

Thanks for the quick reply, and you too Oma, for your reply

#19 oma

oma

    2012 Hit & Miss Award Winner

  • Members
  • 4,432 posts
  • Reputation:12

Posted 28 August 2008 - 10:10 PM

Hex values? or will this mess up your UI box. its not necessary but I use them almost all the time when I'm working on my pictures. (Although I do keep a cheat sheet next to me with the RGB values) and can get by very well with using those if not possible.

once again I can not express how great this plug in is. It makes my glass work and water work almost mallable to what ever shape I'm going for.

simply super. thanks mega from the picture making bunch!

ciao OMA

#20 BoltBait

BoltBait
  • Administrators
  • 8,911 posts
  • LocationCalifornia, USA
  • Reputation:103

Posted 28 August 2008 - 10:33 PM

Hex value input would be a job for Rick. I am simply using the IndirectUI color control. If he was to enhance it to allow for hex input, my effect would automatically use it.
Click to play:
Posted ImagePosted ImagePosted ImagePosted ImagePosted Image
Download: BoltBait's Plugin Pack | CodeLab | More... and how about a Computer Dominos Game