Simon Brown Posted June 28, 2009 Share Posted June 28, 2009 It should. I've never tested it with nearly that many brushes. I'll look into what's making it take so long. FYI, brushes in CBM probably load faster because it caches brush thumbnails and loads them in a separate thread while the plugin is running. Implementing this in Smudge may speed it up. Quote Link to comment Share on other sites More sharing options...
pyrochild Posted June 29, 2009 Author Share Posted June 29, 2009 Smudge does it at startup... :\ Will fix . Quote http://i.imgur.com/xZYt6wl.png ambigram signature by Kemaru [i write plugins and stuff] If you like a post, upvote it! Link to comment Share on other sites More sharing options...
Goonfella Posted June 29, 2009 Share Posted June 29, 2009 If you want brushes to load only in CustomBrushesMini move them to a new subfolder of the Custom Brushes directory with a name starting with an underscore. Thanks for the tip Simon, I`ll give it a go. :wink: Pyro - look forward to the fix Just tried loading smudge again after moving my brushes and it seems to be OK now. It loads as fast as any of the other plug ins. Thanks for the help. :wink: Just one small question left - do I move the Thumbcache file into the new underscored file as well? Quote Please feel free to visit my Gallery on PDNFans And my Alternatives to PDN Link to comment Share on other sites More sharing options...
Simon Brown Posted June 29, 2009 Share Posted June 29, 2009 No. Quote Link to comment Share on other sites More sharing options...
Goonfella Posted June 29, 2009 Share Posted June 29, 2009 OK Thanks. :wink: Quote Please feel free to visit my Gallery on PDNFans And my Alternatives to PDN Link to comment Share on other sites More sharing options...
Boude Posted July 3, 2009 Share Posted July 3, 2009 does it work with 3.5? Quote History repeats itself, because nobody was paying attention the first time. Link to comment Share on other sites More sharing options...
LFC4EVER Posted July 3, 2009 Share Posted July 3, 2009 ^ As far as i've tried. No. I'm sure pyro'll make it work when the beta of 3.5 is released. or maybe he's already making it work now.. 8) Quote ☆★☆★Merry Christmas★☆★☆ .::.My Gallery.::.Make Gold Text!.::. Link to comment Share on other sites More sharing options...
pyrochild Posted July 7, 2009 Author Share Posted July 7, 2009 My source code for Smudge builds and runs fine with Paint.NET 3.5 Alpha, but there's too much potential for breaking changes in the alpha stage and I don't feel like pushing out my own alpha updates every time Rick does. Rick has incentive to update frequently; I do not. Quote http://i.imgur.com/xZYt6wl.png ambigram signature by Kemaru [i write plugins and stuff] If you like a post, upvote it! Link to comment Share on other sites More sharing options...
[тωιѕт] Posted October 16, 2009 Share Posted October 16, 2009 Oh well, Smudge was fun while it lasted.. Quote Link to comment Share on other sites More sharing options...
pyrochild Posted October 16, 2009 Author Share Posted October 16, 2009 But there is a Smudge version for Pdn3.5b3 now... Quote http://i.imgur.com/xZYt6wl.png ambigram signature by Kemaru [i write plugins and stuff] If you like a post, upvote it! Link to comment Share on other sites More sharing options...
Electroman Posted October 18, 2009 Share Posted October 18, 2009 This is very nice, thank you for this. Just created a rockin' picture with the tools you uploaded, thank you! Made this picture in under 5 minutes: Quote Link to comment Share on other sites More sharing options...
willydejoe Posted October 27, 2009 Share Posted October 27, 2009 please smuge.dll need plugins to version 3.5 beta Quote Link to comment Share on other sites More sharing options...
pyrochild Posted October 27, 2009 Author Share Posted October 27, 2009 Click Download. You'll find it. Quote http://i.imgur.com/xZYt6wl.png ambigram signature by Kemaru [i write plugins and stuff] If you like a post, upvote it! Link to comment Share on other sites More sharing options...
BlueSkyy Posted November 3, 2009 Share Posted November 3, 2009 I joined this forum just to let you know that I love you for this. Paint.NET is the only painting software that works with my tablet PC, and now that I can smudge...My life is complete. Quote Link to comment Share on other sites More sharing options...
pyrochild Posted November 3, 2009 Author Share Posted November 3, 2009 I'm glad I've completed your life. ... Wait a minute... that sounds like I killed you. Sorry about that. Quote http://i.imgur.com/xZYt6wl.png ambigram signature by Kemaru [i write plugins and stuff] If you like a post, upvote it! Link to comment Share on other sites More sharing options...
BlueSkyy Posted November 3, 2009 Share Posted November 3, 2009 Actually, now that I've tried to finish up my previous artwork, it doesn't do what I expected it to. When smudging a highlight, the tool effectively erases the highlight. The darker color smudges on top of the lighter color, and the lighter color doesn't smudge anywhere. That, and there's a weird "burn" effect on the edges of a smudge when smudging certain colors (areas of shadow, reddish colors, etc.) It was a good try, though. Might still be helpful, I'llhave to play with it a bit more. Quote Link to comment Share on other sites More sharing options...
pyrochild Posted November 3, 2009 Author Share Posted November 3, 2009 Can you post some examples? Quote http://i.imgur.com/xZYt6wl.png ambigram signature by Kemaru [i write plugins and stuff] If you like a post, upvote it! Link to comment Share on other sites More sharing options...
BlueSkyy Posted November 3, 2009 Share Posted November 3, 2009 Here's an example of the "burn" that occurs around the edges of the smudge. Hidden Content: And here's one of the highlight being gradually erased. Hidden Content: You can also see the "burn" in that last one, even though it was a highlight being smudged. Aaaand here's a super-quick speed paint showing both of the problems as I encounter them whilst painting, in a semi-finished pic. It may not appear obvious to everyone, but it's painfully obvious to me as I work with the tool. Hidden Content: Quote Link to comment Share on other sites More sharing options...
pyrochild Posted November 8, 2009 Author Share Posted November 8, 2009 Updated for Paint.NET v3.5. Now handles non-square brushes as non-square brushes instead of stretching them to squares. Fixed a few crashes when using tall, narrow brushes. Quote http://i.imgur.com/xZYt6wl.png ambigram signature by Kemaru [i write plugins and stuff] If you like a post, upvote it! Link to comment Share on other sites More sharing options...
Bungle Posted November 9, 2009 Share Posted November 9, 2009 Trying to deploy PDN3.5 in an education environment, and have the smudge plugin applied amongst others. Whilst the smudge tool works for an admin user (who has access to the desktop), when I run it under a limited access account (student) it crashes. It can't write the crash log to the desktop for the reasons above, but more details shows the following: Hidden Content: File: C:\Program Files\Paint.NET\Effects\Smudge.dll Effect Name: pyrochild.effects.smudge.Smudge Full error message: System.UnauthorizedAccessException: Access to the path 'C:\Documents and Settings\All Users\Shared Desktop\pdncrash.log' is denied. at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options) at System.IO.StreamWriter.CreateFile(String path, Boolean append) at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize) at System.IO.StreamWriter..ctor(String path, Boolean append) at PaintDotNet.Startup.UnhandledException(Exception ex) in D:\src\pdn\paintdotnet\src\PaintDotNet\Startup.cs:line 477 at PaintDotNet.Startup.Application_ThreadException(Object sender, ThreadExceptionEventArgs e) in D:\src\pdn\paintdotnet\src\PaintDotNet\Startup.cs:line 509 at System.Windows.Forms.Application.ThreadContext.OnThreadException(Exception t) at System.Windows.Forms.Control.WndProcException(Exception e) at System.Windows.Forms.Control.ControlNativeWindow.OnThreadException(Exception e) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) at System.Windows.Forms.SafeNativeMethods.ShowWindow(HandleRef hWnd, Int32 nCmdShow) at System.Windows.Forms.Control.SetVisibleCore(Boolean value) at System.Windows.Forms.Form.SetVisibleCore(Boolean value) at System.Windows.Forms.Control.set_Visible(Boolean value) at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context) at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context) at System.Windows.Forms.Application.RunDialog(Form form) at System.Windows.Forms.Form.ShowDialog(IWin32Window owner) at PaintDotNet.Menus.EffectMenuBase.RunEffectImpl(Type effectType) in D:\src\pdn\paintdotnet\src\PaintDotNet\Menus\EffectMenuBase.cs:line 777 Whilst I haven't tried every plugin we have running, most I have and they haven't crashed yet. Any suggestions? Quote Link to comment Share on other sites More sharing options...
pyrochild Posted November 9, 2009 Author Share Posted November 9, 2009 Wow, you have those computers locked down tight. Ironically, that crash log is not Smudge's, but Paint.NET freaking out because it couldn't write its crash log to the desktop. The problem is most likely users not having access to their own (My) Documents directory, so if you manually create a folder called 'Custom Brushes' in the 'Paint.NET User Files' folder, it should work. If not, you'll need to grant access to the Desktop so Paint.NET can write its crash log full of useful information EDIT: Oh, you'll need to create a file called 'Sample Brush.png' in Custom Brushes as well. It can be empty (zero-byte), or it can be a legitimate PNG file. Doesn't matter. Quote http://i.imgur.com/xZYt6wl.png ambigram signature by Kemaru [i write plugins and stuff] If you like a post, upvote it! Link to comment Share on other sites More sharing options...
Bungle Posted November 10, 2009 Share Posted November 10, 2009 Thanks for the response pyro. With over 700 users, manually creating folders for each user isn't desirable! Users have their own My Documents, which is mapped to a server share (rather than a local profile) - ie: profiles are roaming. I can understand PDN freaking out that it can't write the log file, however the program largely works fine (as do other plugins). I can't see access to "Paint.NET User Files" being an issue somehow, as they can write to their own unique My Documents area. It seems, from what you say, an issue specifically with custom brushes - do we need this? Can we not disable it? I don't think our users would need custom brushes anyway! If not, I can see if I can enable access to the desktop and allow it to write its log. Quote Link to comment Share on other sites More sharing options...
pyrochild Posted November 10, 2009 Author Share Posted November 10, 2009 Try this one: [attachment=0]smudgebeta.zip[/attachment] Quote http://i.imgur.com/xZYt6wl.png ambigram signature by Kemaru [i write plugins and stuff] If you like a post, upvote it! Link to comment Share on other sites More sharing options...
Bungle Posted November 10, 2009 Share Posted November 10, 2009 I tried it, was still the same. I was guessing there had to be another factor (I never thought the plugin was faulty, as I had it working fine elsewhere). Interestingly, for this user, it wasn't creating the user files folder at all (I would expect it to). Turns out, quite amusingly, that the particular account I was testing with had ran out of disk space, so PDN was unable to write the user files folder to their area Pretty comical! More space, seems to be ok - just my luck! I guess it was just unfortunate that the smudge tool was one of the few I tested which needed to write the custom brush! Nevermind. Out of curiosity (and I have applied it as well), how does the revised plugin you attached just now differ? Quote Link to comment Share on other sites More sharing options...
pyrochild Posted November 10, 2009 Author Share Posted November 10, 2009 The difference is that this one, if it can't create the Custom Brushes dir and sample brush, it should fail gracefully. If it's still crashing, you need to (at least temporarily) enable access to the Desktop so Paint.NET can write its crash log so I can find out what's going on with Smudge. Quote http://i.imgur.com/xZYt6wl.png ambigram signature by Kemaru [i write plugins and stuff] If you like a post, upvote it! Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.