Jump to content

Red ochre

Members
  • Posts

    3,071
  • Joined

  • Last visited

  • Days Won

    128

Posts posted by Red ochre

  1. Thanks TR for the idea - I think I've explained myself badly!

    In the Furblur thread Midora suggested getting rid of the 'dest' temporary surface. When I tried doing that I found the bug with lasso selections. This one still uses three surfaces (src,dest and dst) and works fine. However I will experiment with your idea - but using 'dst' (as 'dest' won't exist). As MJW points out, using 3 surfaces instead of 2 probably isn't an issue anyway.

  2. Hi MJW,

    One way to detect edges is to call the built in Gaussian blur and then use the difference between the blurred surface and the source surface to define boundaries. You could then prevent an added line being drawn across that threshold.
    It may be worthwhile using the GDI to draw lines (or enclosed shapes) too. That should give you control over the line width.

    Regarding surface and memory, I tend to think - if works on my old computer then there can't be too much wrong with it! - But I tend to use 'sensible' sized canvasses. Some users work as large as possible to hide the jagged effects of non-anti-aliased plugins.(I've written some of them!) :lol:

  3. 'Scribble' is almost finished but I would like to make a couple of improvements if possible.

    It is laid out in a very similar way to both 'FurBlur' and 'Cobweb'. I have two issues:-

    1. Removing the temporary surface 'dest'.

    (As Midora suggested in the Furblur thread).

    I have tried removing the extra surface 'dest' and changing all references to it in 'Render' to 'dst'.

    Also removing the 'dest' Surface declaration and the OnDispose method for it and removing all code from within 'OnRender'.

    Problem: It builds and works fine for whole layers and rectangular selections, however, with an irregular lasso selection it renders to all the enclosing rectangle and 'undo' will only undo the lasso selection, leaving the enclosing rectangle (minus selection) unchanged.?

    Should there be some code within 'OnRender' to limit the effect to what is actually selected?

    Any ideas would be appreciated as a two surface soloution would be tidier.

    However, I don't think using three surfaces is a big problem, as if it is used for an image large enough for memory to be an issue, then it would probably take an age to render.

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

    2. Presets:

    I have included some presets which simply override the 'property' controls. Meaning the controls move but do nothing - confusing for the user (and the plugin writer!).

    Ideally, the preset would just set the initial default values of the controls. They could then be tweaked by the user. Is this possible?

    If not, then it would be useful to 'gray out' the controls that will have no effect if a preset is used. I suspect this is possible using 'ReadOnlyBoundToValueRule' - but I'm getting lost with the syntax of how to use it. Any help (or code examples)would be much appreciated.

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

    Below is the .dll to play with (the 3 surface safe version), some example images and the source code.

    Keep a note of any useful settings - I may 'borrow' them!

    Many thanks

    http://i.imgur.com/ifIXMUW.png http://i.imgur.com/BwDqYf5.png http://i.imgur.com/3fgeZZM.png http://i.imgur.com/EYA2KkJ.png http://i.imgur.com/rqjCiYj.png http://i.imgur.com/avRehJH.png http://i.imgur.com/BkBihHg.png http://i.imgur.com/bS3UE1t.png

    http://i.imgur.com/XbIRUta.png http://i.imgur.com/n5NB6PY.png http://i.imgur.com/yKGs6ck.png http://i.imgur.com/FK5s9VK.png http://i.imgur.com/DyRTJKx.png http://i.imgur.com/2Qm776K.png

     

    Scribble.zip

    The 'code' tags don't seem to be working so here is the zipped CS file

     

    • Upvote 2
  4. Helen, barbieq, Seerose (cool picture!) and Dug,
    many thanks for taking the time to say thanks,
    ... and don't let the vampires bite tonight!

    & EER - you just posted.
    I've been messing around with this one for a while - kind of trying to get close to Fractalius, but decided to keep it simple.
    I think it works on a similar principle but adding blurs, blend modes etc would have been cumbersome. Plus, I have some ideas for other plugins I'd like to explore.

    Tip: Try running it after Madjik's 'roses' plugin - great fun!

     

    & NN - I was just about to press post when I saw your reply!

    Looks like you've mastered this one already - thanks for posting.

  5. ZOaF9iG.png
    Useful for artistic effects on photos, unusual text effects, textures and even adding highlight stars to an image.
    It works out the direction of the 'tone gradient' then randomly draws tangents and radiuses.(radii?)

    Found under: Effects/Artistic/Cobweb                    Dll name = Cobweb.

    It is part of my v10 plugin pack here:Red ochre v10 plugin pack
    There are some 'mini tutorials'  and examples below. Generally it is best applied to an image with smooth tone gradients. In other words try running a small Gaussian blur on the start image first. Interesting textures are possible, try using after 'clouds' or DavidF's 'cell texture' plugin.

    Weaknesses:
    Since the simple tone (B + G + R) for black is zero and the tone for a transparent colour is also zero ((eg. 255 + 255 + 255) * 0). You won't get much of a result from black text on a transparent layer. Try black text on a solid white layer and apply a blur first.

    Like 'FurBlur' it can be slow if 'Reps' and 'Length' are set too high.

    Have fun and please post any interesting results and tips back here!
    1EOLL9Y.png

     

    ikXSLTs.png  Zaze1Fu.png  5dkF34B.png  sy9dX2r.png

     

    • Upvote 5
  6. Hello eric,

    I too searched google images for 'dispertion, photoshop'. There do seem to be a variety of effects that come under this title. However,the first image led me to a photoshop tutorial that looks like it would be possible to translate into paint.net.

    Here is the link:http://wegraphics.net/blog/tutorials/how-to-create-an-easy-dispersion-effect-in-photoshop/
     
    You may find the 'custom brushes mini' plugin useful.http://forums.getpaint.net/index.php?showtopic=14845

     

    and Pyro's 'splatter' plugin http://forums.getpaint.net/index.php?showtopic=8502

    Interesting effect, - perhaps you could post your results back here!

  7. Hi Sand33p
    - re: wiremesh face - could you use Sculptris with the triangles showing?.

    NOT a Sculptris expert but her goes:-

    0. download sculptris.http://pixologic.com/sculptris/emails/operating-system.php
    1. make a face. (loads of stuff on youtube).
    2. W icon - wireframe. set background material color to say red - something different from the wireframe.
    3. use the X icon - 'reduce selected'  a few times till the wireframe looks ok.
    4. save as png and extract the wire frame in Pdn (magic wand away the background or use any edge detect plugin {'Tweak edges ' works}).
    5. Possibly use Pyro's outline object then AAassistant.

    6. etc etc ...

    Only a thought, but I have tried it out and it must be easier than adding line by line?.

    • Upvote 1
  8. Hi TR,

    I'm still using 3.5.11 (on Vista), but thought I would try the new version of 'Distort this' but unfortunately no joy - (well I can't find it under the Distort menu as per the code). No plugin load errors - just doesn't show up -  presumably pointing at the 4.5 net framework now?

    I wonder if it might be an idea to have two versions available?

    I think setting the default position vectors to the corners is a good idea (I had altered my old copy already ;)  - thanks for the code!).

    Very useful plugin.
     

  9. @EER - thanks! :lol:
    "There are known knowns; there are things we know that we know.
    There are known unknowns; that is to say, there are things that we now know we don't know.
    But there are also unknown unknowns – there are things we do not know we don't know." - Donald Rumsfeld.

    @ MJW - as Midora has described.

    @ Midora - I'm going on what Null54 said in the second post "Strangely the single-threaded OnSetRenderInfo version performs 100x better than the multi-threaded version".

    Personally I find understanding multithreading perplexing and although I can see that it should be possible to make a multithreaded version of Furblur avoiding ROI striping, I haven't got a clue how to do it.
    I get the idea of considering the dst pixel being rendered first and writing the algorithm backwards to the src pixels but I can't see a sensible way to do this for FurBlur. If you have a good idea of the structure of a multithreaded version, I would be interested to see how you would rewrite it.

    Actually I am quite pleased with the speed of Furblur as it is, but I do have another plugin - 'Bevel Object', which I would love to make multithreaded. Perhaps, (when I have tidied up the code and finished some other projects), I may start a thread to attempt this and try to understand multithreading a bit better too.

    Many thanks for your input.
     

  10. Many thanks scryer52 - sorry for the late reply.

    Hello MJW,
    I had the same thought myself and am working on something based of this code but using the direction and magnitude of the tone gradient to draw the trail/blurs. Here are a couple of preliminary results.

    http://i.imgur.com/ItpVtUq.png http://i.imgur.com/298xiFv.png

    The FurBlur code (Visual studio I'm afraid) is here:http://forums.getpaint.net/index.php?/topic/27013-furblur-roi-random-problems/page-4 - last post has the current code.
    Basically furblur selects a random point then moves out at an angle to draw a blurred line. As it loops out from that point it adds a tiny change to the angle each time, which gives a curve.
     

    • Upvote 1
  11. Hello Davet49 - welcome to the forum,

    You could first try using the Layers/Rotate&Zoom control - built-in to Pdn. Click and drag on the globe Icon.

    Also there are a few plugins that I find useful to do this. Try these:

    TR's Distort this:http://forums.getpaint.net/index.php?showtopic=26672

    Quadrilateral Reshape (in Evan's pack):http://forums.getpaint.net/index.php?showtopic=13003

    Perspective:http://forums.getpaint.net/index.php?showtopic=16197

    Oblique:http://forums.getpaint.net/index.php?showtopic=2524

    • Upvote 1
  12. Hello MJW,

    Codelab always does that - and sets the double vector position boxes to the centre too.

    If you take the code output from codelab, then copy and  paste it into the plugin template for Visual Studio you can then set the initial colors to what you want.

    Have read through this thread if setting up Visual Studio is a problem.

    http://forums.getpaint.net/index.php?/topic/25828-help-needed-using-visual-studio-instead-of-codelab-for-developing/

     

    Best of luck!

    • Upvote 1
  13. PJS1 - welcome to forum,

    Klaxxon is correct.

    1.Add a new layer (not required but good practice) using this icon. :AddNewLayer:(bottom of the layers window)
    2.In the Tools window  on the left click the letter T icon. :TextTool:
    3.Then in the top menu bar you will see the font and font size. Click on the size, enter the new larger size.
    4.Then click on the canvas again and enter your text.

     I have just used Arial at 400 pt, so it can be done!

     

    (you could also use Pixey's method - press shift when resizing to keep the aspect ratio of the text) ;)

  14. You say it looks correct in Pdn but then looks wrong when viewed with another program?

    Could it be that the other program is not handling .png transparency correctly? - Do you have any .png images that are known to be correct, that you could test the other program with?. Also try testing your png (saved using pdn) in other programs.

    Or is actually printing incorrectly? (perhaps you could test on a small scale?)

    Sorry, I'm no expert, but I know some programs do not show .png transparency correctly - and I have no idea about .tif files. Hopefully you will get more knowledgeable advice later.
     

×
×
  • Create New...