Jump to content

n d

Members
  • Posts

    120
  • Joined

  • Last visited

Posts posted by n d

  1. Edgemastery sure is a cool word. :D

    But there is still a little bit too much noise going around to be called mastered.

    THOU DARETH QUESTION THE EDGEMASTER???!?? :mrgreen:

    ...anyway, you get less noise if you set the intensity lower. The first example is done with intensity 5, you can use 1-4 to get less noise, then if the lines are too faint you can use object outline or some similar...

    I gave the plugin lots of intensity options because you can get really cool effects with the hi-int settings... somewhere around 10-20 with black colour you can turn photos into charcoal drawings ;)

    If you keep releasing PlugIns like this, you might soon be one of the few ones that have a PlugIn pack :O

    If it's worth downloading, we'll see about that :P

    Hmm, now there's a thought ;)

    I'm still very new at this, I'm mainly doing this to learn C# and have some fun, but if people enjoy my plugins and find them at least somewhat useful I'm happy with that.

    -oh btw - like always, sources are available at request.

  2. Sure, there are lots & lots of edge detection plugins, and even one built in in paint.net. But mine does it better :P;)

     

    How it works - 2 controls

    Color: this adjusts the colour used. Edges will be drawn with this colour on transparent.

    Intensity: this adjusts the line intensity on a scale of 1-40 where 1 is barely any edgemastery, and 40 is full edgemastery.

     

    Example:

    Original image

    edex1.png

     

    In these examples, I have merged the result on a white layer, but in reality the effect produces transparent layers + the lines on the colour of your choice.

     

    Edgemaster @ intensity 5, colour black:

    edex2.png

     

    Edgemaster @ 20 intensity, colour blue:

    edex3.png

    I won't even go into intensity 40, because that is way too much edgemastery for this forum - it might damage your eyes. Not to mention your brian.

     

    edgemaster.zip

     

  3. Thanks for the update. :)

    I think that the question re: adjustable angle might be restated as can there be an option to

    adjust the center point of the gradient effect instead of only the default center of the selection.

    Again, as a non-coder myself, I don't know what would be involved in this.

    I can make it happen through a work-around, but it's fairly laborious.

    Oh, so it's about adjusting the center point? I am going to add that - hopefully to the next version - I even have most of the code for it, but it still has a few glitches I need to work out.

    I'm not going to do it with an angle control though - I was thinking more on the lines of X,Y vector controls.

    ps - thanks for cleaning the thread pyro :)

  4. Anyway, as to not further derail the thread, here's a little update with alpha-adjustment added. It may or may not help with the aliasing problem somewhat, depending on the situation...

    Note that it will still overwrite anything on the layer you use it on, so if you set an alpha value to 0 it will make that part of your layer transparent. So always apply the effect on an empty layer.

    Shaped Gradient 1.2

    NOTE: the dll name is now shapegradient.dll without the version number, so you need to delete the old .dll if you don't want two shapedgradients in your menu. Sorry for the inconvenience, but this was done to make further updates easier for me & you. I'm still learning this stuff, please don't crucify me for it.

  5. Too slow D:

    Maybe you should get the 'Segment Image' PlugIn too, it can extract a palette with a variable amount of colours from a picture. Extract the colours (colour picker) to your palette, save the palette, delete all the colours you don't need and load the file into Selective Palette.

    lol wut?

    but have the output be comprised of only 6 - 8 colours

    Hand-picking 6-8 colours is too slow for you???

    ... in fact, it's probably faster than all that you suggested... :P

  6. Glad you all like it! :mrgreen:

    You, my friend, have earned my respect.

    :D

    anyway to make the gradient smoother, by chance?

    I have tried to implement an anti-alias feature, but so far I haven't been able to figure out how to do it. Perhaps in a future update, when I have gained a bit more C# experience...

    As a workaround, you can do this:

    - duplicate layer

    - on the new layer, apply eigen blur with radius 1, RGB only

    - set the new layer opacity to somewhere around 180-230

    - merge layers

  7. falken: 2 // nice space theme, very clean & cold colours. I like how the image portrays an underwater feeling, although the image is of outer space...

    k_i_n_g: 3 // like this better though, love the anime style. Colour scheme complements the overall feel of the image well, and the composition is balanced.

    #winner k_i_n_g

  8. Paint net gradients are good. You can make them round, square, conical, linear... but what if you want, say, an elliptic gradient? A trapezoid gradient? A hexagonal gradient? Or a gradient in the shape of a christmas tree?

    All this can be done with Shaped Gradient 1.5

    Version history

    version 1.5: fixed a bug with the center point selector.

    version 1.4: added center point control. You can now choose the center point of the gradient.

    version 1.2: added alpha control. You can now choose the alpha (transparency) for the edge & center colours separately.

    TO-DO list:

    - add anti-alias function

    - add center-point control - done

    - possibly: curve control for the gradient

    Samples of the effect:

     

    shapesample.png

     

    pdngreat.png

     

    Enjoy!

    shapegradient.zip

    • Like 1
  9. 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.

  10. 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?

  11. Hm, yeah my bad. I was thinking of some other site with some other thing I've downloaded ...

    Anyway, as for anti-aliasing for the plugin... I'm afraid I'm completely at a loss as to how to call a gaussian blur effect after the dst surface has already been filled. After reading some codelab documentation it seems I would have to create a new Surface object in order for this to work, however, I can't seem to figure out how to initiate it...

    I tried

    Surface dst2 = new Surface(); // but it requires parameters so then I tried

    Surface dst2 = new Surface(src.Size); // then codelab complains, "System.Windows.Size is referenced in an assembly that is not referenced..." and I'm not even totally sure what this means...

    Anyway, I'm too tired to figure this out at the moment - it's almost 6am, perhaps if I go to sleep now someone will have solved this problem for me... ;)

  12. Why not just pack it in .zip? Windows comes with a zip extractor.

    I guess I'm just used to using rar. I would upload it unpacked but fileden doesn't allow .dll files.

    Anyway .rar files are really common - 90% of the pdn plugins I've downloaded were packed as .rars so getting winrar will benefit you in more ways than just using my plugin ;)

  13. :roll: sorry this might be a dumb dumb question but I've not been around for awhile. rar files? how do I extract the .dll to put into my effects file?

    I tried using the source to build a dll but received an error message (sorry didn't write it down) but it was basically telling me there was an error on a certain line.

    ciao OMA

    Google Winrar, install winrar on your computer, when installation is done you can extract .rars by double-clicking them.

  14. I was thinking in terms of the jaggies produced within the gradient,

    as inside the letters E and X in the word TEXT in the first post.

    Running Feather won't change those.

    However, those may not be a product of the selection edge anyway.

    Right, I see what you mean. At this point I'm not totally sure how to fix it though. I would guess a gaussian function or a convolution filter would need to be applied, and this must be done after the gradient has been rendered... I need to look into this.

  15. Sorry for the triple post... but here's a sneak preview of Shaped Gradient's little brother, 3d trail. Actually, I modified it from the SG code, so perhaps it's more a nephew than a brother ;)

    Unlike shaped gradient, for this plugin I do intend to add anti-aliasing at some point.

    This is an object-plugin, so you will need a transparent layer with some text/graphics on it before applying 3d trail. Otherwise it won't do anything.

    3d Trail

    it does this:

    trailsample.png

    Like I said, this one still needs work...

×
×
  • Create New...