NinthDesertDude Posted October 17, 2018 Share Posted October 17, 2018 (edited) Hi everyone, Dynamic Draw is on lower priority since it can't support layers, but I'm contributing in bursts whenever I feel inclined. I'm 2 for 2 on not getting Krita dev to set up at all on Windows, but if I try again and succeed someday, I'll probably migrate over there and try to bring along some of the UI sense that paint.net has curated over time. And pixel art tooling. Meanwhile, my high prorities for this are: - smoother drawing - tablet support via Windows Ink, with tablet button mapping and better range control - don't waste time copying brush images to temp directory on load, and add folder structure - replace right-click on canvas with a more useful custom one containing recent colors, brushes, images - spacebar commands menu, and custom keyboard shortcuts - fast and exact editing of all properties including mouse position - dynamic behaviors List of all priorities (at bottom) What features do you want? What do you want to change? What don't you actually use, and where do you want to put features in the user interface? Edited April 15, 2022 by NinthDesertDude finished blend modes and channel locks 1 1 Quote Link to comment Share on other sites More sharing options...
LionsDragon Posted October 17, 2018 Share Posted October 17, 2018 This might sound a little silly but...sometimes I select a color in the main color wheel, then go into Brush Factory and have to repeat the process. I don't know if I'm doing something wrong, or if there's a way to keep the selected Primary Color active in Brush Factory. Quote Link to comment Share on other sites More sharing options...
Pixey Posted October 17, 2018 Share Posted October 17, 2018 @Joshua Lamusga I have to admit to not using it much these days - due to not painting much at the moment - but when I do I've been very happy with it and, besides perhaps having a chalk brush, can't think of anything more I'd like to change Quote How I made Jennifer & Halle in Paint.net My Gallery | My Deviant Art "Rescuing one animal may not change the world, but for that animal their world is changed forever!" anon. Link to comment Share on other sites More sharing options...
NinthDesertDude Posted October 18, 2018 Author Share Posted October 18, 2018 (edited) @LionsDragon Brush Factory initializes with whatever settings were last used, but if you use it for the first time since opening paint.net, there are no settings in memory and it uses the user's primary color. I'm thinking maybe toggling between setting a color and using the primary color. @welshblue Last button on Other tab (custom brush locations) will open a dialog when you click it. The textbox in the dialog is totally editable. There's no limit to brush size except memory and lag, but lag gets fairly noticeable after 500x500 images. The algorithm in Brush Filter is better than the one in Brush Factory, but I don't know how much faster I can make it. I think if lag is less than 1/2 second on my machine it's probably fair enough to at least let the user try it. New Points - User should be able to choose between primary color, previous settings' color, and it's probably time for a color picker. - Allow brush sizes past 500x500 as long as they don't lag too much - Brushes should load in the background without pausing the user Edited October 18, 2018 by Joshua Lamusga 3 Quote Link to comment Share on other sites More sharing options...
TrevorOutlaw Posted October 19, 2018 Share Posted October 19, 2018 (edited) @Joshua Lamusga, I love using the Brush Factory, and @welshblue beat me to the request to increase the maximum radius size from 500. I would greatly appreciate that. Two features I would like to see implemented if they are possible, and I acknowledge right now that it may not be possible. 1) I would like to see the square brush be replaced with an outline geometry of the brush file. It would make it easier for me to see where I am painting, especially when performing pre-masking paint for my photo manipulations. 2) This might be an impossible request, but I am just throwing it out there. I would love to use ABR (Photoshop brush file) within the Brush Factory without having to go through the steps of converting ABR into individual PNG files to be used by the Brush Factory using converters like abrViewer or abrMate. Edit: After taking another look at the Brush Factory, I think it's time to reconsider the custom brush file location. It takes FOREVER for it to load, even inside a virtual machine called Parallel. One feature I really liked from pyrochild's Smudge plug-in is the ability to load brush from the Smudge Brush folder, and that is something I would like to see in Brush Factory very much. Edited October 19, 2018 by TrevorOutlaw 1 Quote Paint.NET Gallery | Remove Foreground Object Tutorial | Dispersion Effect Tutorial Link to comment Share on other sites More sharing options...
NinthDesertDude Posted October 19, 2018 Author Share Posted October 19, 2018 @TrevorOutlaw Thanks for the input! Good brush outline idea; I remember seeing it first in Pixlr. I'll add it to my list and see if I can't get it done. The ABR file format specification is unfortunately not publicly known. There's some speculation and older file formats are published, but with all the revisions it seems to have and the fact that I could only write swiss-cheese support for it, I don't think it's worth the effort on my part. Welshblue beat you to mentioning brush loading speed, so that's going to be accounted for. Possibly in the existing version too. Honestly I don't know how that ever slipped my mind (because, you know, I'm so good at remembering things). As for the folder, I want to just leave it blank and let the user decide where to load from. It should be pretty quick and they only have to do it once; the benefit being that I don't confuse the user with implicit behavior. Smudge does it because it doesn't offer loading from multiple places and whatnot. New Points: - Brush outline via edge detection from 0% alpha pixels and nearby pixels with non-zero alpha. Quote Link to comment Share on other sites More sharing options...
TrevorOutlaw Posted October 19, 2018 Share Posted October 19, 2018 11 hours ago, Joshua Lamusga said: The ABR file format specification is unfortunately not publicly known. There's some speculation and older file formats are published, but with all the revisions it seems to have and the fact that I could only write swiss-cheese support for it, I don't think it's worth the effort on my part. Completely understood which was why I acknowledged it may be impossible for it to happen. Quote Paint.NET Gallery | Remove Foreground Object Tutorial | Dispersion Effect Tutorial Link to comment Share on other sites More sharing options...
null54 Posted October 19, 2018 Share Posted October 19, 2018 On 10/18/2018 at 6:15 PM, TrevorOutlaw said: 2) This might be an impossible request, but I am just throwing it out there. I would love to use ABR (Photoshop brush file) within the Brush Factory without having to go through the steps of converting ABR into individual PNG files to be used by the Brush Factory using converters like abrViewer or abrMate. Here is a build that loads ABR files based on the code from my Photoshop Brush FileType plugin (which is on GitHub under the MIT license). If @Joshua Lamusga agrees I will fork the project and submit a pull request with the code. This build may also improve the speed when scanning the custom brush folders, I switched it to use Directory.EnumerateFiles instead of Directory.GetFiles. Removed because Brush Factory can load ABR files as of version 1.6. https://forums.getpaint.net/topic/110673-brush-factory-v16-oct-29th-2018/ 4 1 Quote Plugin Pack | PSFilterPdn | Content Aware Fill | G'MIC | Paint Shop Pro Filetype | RAW Filetype | WebP Filetype The small increase in performance you get coding in C++ over C# is hardly enough to offset the headache of coding in the C++ language. ~BoltBait Link to comment Share on other sites More sharing options...
TrevorOutlaw Posted October 19, 2018 Share Posted October 19, 2018 @null54 My current reaction after loading the ABR file in your modified version of the Brush Factory... Quote Paint.NET Gallery | Remove Foreground Object Tutorial | Dispersion Effect Tutorial Link to comment Share on other sites More sharing options...
null54 Posted October 20, 2018 Share Posted October 20, 2018 Updated the attachment in my previous post to fix a crash when loading version 2 brushes. Quote Plugin Pack | PSFilterPdn | Content Aware Fill | G'MIC | Paint Shop Pro Filetype | RAW Filetype | WebP Filetype The small increase in performance you get coding in C++ over C# is hardly enough to offset the headache of coding in the C++ language. ~BoltBait Link to comment Share on other sites More sharing options...
NinthDesertDude Posted October 20, 2018 Author Share Posted October 20, 2018 @null54 Nothing would make me happier. Collaboration is awesome! Quote Link to comment Share on other sites More sharing options...
Eli Posted October 20, 2018 Share Posted October 20, 2018 @Joshua Lamusga and @null54. Joining forces. That is great! Quote Link to comment Share on other sites More sharing options...
TrevorOutlaw Posted October 20, 2018 Share Posted October 20, 2018 On 10/17/2018 at 2:53 AM, Joshua Lamusga said: Probably a toolbar for main brush properties since keyboard shortcuts aren't always used / usable. Actually, Joshua, I would like to have the PDN's control for increasing/decreasing brush radius by using the brackets. I want to be able to paint on the canvas without leaving it to tweak with the Brush Size slider. Use the bracket to increase/decrease by 1 pixel and when ctrl+bracket are used, increase/decrease by 5 pixel. Quote Paint.NET Gallery | Remove Foreground Object Tutorial | Dispersion Effect Tutorial Link to comment Share on other sites More sharing options...
null54 Posted October 21, 2018 Share Posted October 21, 2018 19 hours ago, TrevorOutlaw said: Actually, Joshua, I would like to have the PDN's control for increasing/decreasing brush radius by using the brackets. I want to be able to paint on the canvas without leaving it to tweak with the Brush Size slider. Use the bracket to increase/decrease by 1 pixel and when ctrl+bracket are used, increase/decrease by 5 pixel. Added to the version in my first post. @Joshua Lamusga A pull request for the brush size shortcuts: https://github.com/JoshuaLamusga/Brush-Factory/pull/2 I also noticed that the file extension and custom search path comparisons are case-sensitive. This causes the plugin to not detect files with upper-case extensions and have duplicate custom search paths. I will be submitting pull requests to fix that and change the folder searching to use Directory.EnumerateFiles soon. 2 Quote Plugin Pack | PSFilterPdn | Content Aware Fill | G'MIC | Paint Shop Pro Filetype | RAW Filetype | WebP Filetype The small increase in performance you get coding in C++ over C# is hardly enough to offset the headache of coding in the C++ language. ~BoltBait Link to comment Share on other sites More sharing options...
NinthDesertDude Posted October 22, 2018 Author Share Posted October 22, 2018 @TrevorOutlaw Looks like @null54 is adding support for the brush size shortcuts in a PR. I never knew about that shortcut. @welshblue I'll consider displaying by folder such that the folder name in bold precedes each section and sections have alternating background colors for fast scrolling. Quote At the minute if I have say 3 different folders added to the custom brush folder ... for me only one of them loads in the brush menu. If you can confirm that only the first folder of brushes loads, then either you've got unsupported files, so many brushes that you run out of memory (since they're all held in memory by the GUI right now...) or it's a bug. Can you confirm? New points: - Change path searches to be case-insensitive - Add support for [ and ] brush size shortcuts, which is a current PR - Maybe display brushes by folder with preceding names in bold and alternating background colors per section Quote Link to comment Share on other sites More sharing options...
null54 Posted October 23, 2018 Share Posted October 23, 2018 @Joshua Lamusga A pull request for the case-insensitive path comparisons: https://github.com/JoshuaLamusga/Brush-Factory/pull/3 @welshblue What version of Windows are you using? I noticed when debugging that all but the last of the saved brush paths have an "\r" appended to the end (Windows uses \r\n as a line terminator and the code only checks for \n). This could cause the OS to look for a non-existent sub-directory named "r" in each folder. While this does not appear to cause any issues on Windows 10 version 1803 it may cause issues for other Windows versions. Quote Plugin Pack | PSFilterPdn | Content Aware Fill | G'MIC | Paint Shop Pro Filetype | RAW Filetype | WebP Filetype The small increase in performance you get coding in C++ over C# is hardly enough to offset the headache of coding in the C++ language. ~BoltBait Link to comment Share on other sites More sharing options...
null54 Posted October 23, 2018 Share Posted October 23, 2018 11 minutes ago, welshblue said: Win 10 1803 Then it is strange that it does not work for you. I updated the build in my first post to remove the extra "\r" from the saved brush paths, try it and see if the other folders now load. 1 Quote Plugin Pack | PSFilterPdn | Content Aware Fill | G'MIC | Paint Shop Pro Filetype | RAW Filetype | WebP Filetype The small increase in performance you get coding in C++ over C# is hardly enough to offset the headache of coding in the C++ language. ~BoltBait Link to comment Share on other sites More sharing options...
null54 Posted October 23, 2018 Share Posted October 23, 2018 1 hour ago, welshblue said: Thanks for that. Worked like a charm. All folders load in the order they're placed in the custom folder location Glad that it works for you. @Joshua Lamusga Another pull request: https://github.com/JoshuaLamusga/Brush-Factory/pull/4 Quote Plugin Pack | PSFilterPdn | Content Aware Fill | G'MIC | Paint Shop Pro Filetype | RAW Filetype | WebP Filetype The small increase in performance you get coding in C++ over C# is hardly enough to offset the headache of coding in the C++ language. ~BoltBait Link to comment Share on other sites More sharing options...
Sormany Posted October 23, 2018 Share Posted October 23, 2018 Hey!! I'm pretty new to paint.net (I've played around with it quite a bit, but never downloaded a custom plugin). I came across this post searching for tablet pen pressure. You mentioned in you post: Quote Support for tablet pressure-based drawing in dynamic constraints. Under Things I'm Changing and not under "Things I'm adding". So I have to ask; does the current version support pen pressure, or this will be a new feature in the up coming version?? Thanks Quote Link to comment Share on other sites More sharing options...
NinthDesertDude Posted October 24, 2018 Author Share Posted October 24, 2018 (edited) 7 hours ago, Sormany said: Does the current version support pen pressure, or this will be a new feature in the up coming version? Thanks Sorry, it doesn't. It'll be a new feature in the next version. I'll move that to the appropriate section to avoid confusing others. It's unfortunate I didn't have a pressure-sensitive device to experiment with when I wrote the plugin. By the way, it's very important that you brought this up because I was only anticipating demand for it, and now I know. Thanks. @null54 Thanks for the additional PRs. It's interesting that \r can appear by itself. Glad you solved that problem because I've been running short on time again, which seems to be a chronic habit. Edited October 24, 2018 by Joshua Lamusga Quote Link to comment Share on other sites More sharing options...
Sormany Posted October 25, 2018 Share Posted October 25, 2018 @Joshua Lamusga, thanks for the clarification. Evidently I do have pressure sensitive device, so if you need me to test anything, I'm more than happy too. But I will give you this disclaimer: I'm no artist, and haven't used this pen a whole lot; so my testing will basically be limited to if it works; and not so much to how well it works. In any case, I willing to help Quote Link to comment Share on other sites More sharing options...
null54 Posted October 27, 2018 Share Posted October 27, 2018 @Joshua Lamusga A pull request for the EnumerateFiles code: https://github.com/JoshuaLamusga/Brush-Factory/pull/5 1 Quote Plugin Pack | PSFilterPdn | Content Aware Fill | G'MIC | Paint Shop Pro Filetype | RAW Filetype | WebP Filetype The small increase in performance you get coding in C++ over C# is hardly enough to offset the headache of coding in the C++ language. ~BoltBait Link to comment Share on other sites More sharing options...
NinthDesertDude Posted October 27, 2018 Author Share Posted October 27, 2018 Thanks, @Sormany. I have friends I can probably borrow from if I need to test it, but I'll keep you in mind in case that doesn't work. Thanks again for completing those PRs, @null54. I think the only thing left is the .abr filetype support, which should probably be in a separate file. Seriously though, you're great. Quote Link to comment Share on other sites More sharing options...
Greeneyedlady Posted October 28, 2018 Share Posted October 28, 2018 I didn't read all the posts but one feature I would recommend is being able to change the brush direction: Where your brush can be set at an angle, sideways, or upside down. Quote Link to comment Share on other sites More sharing options...
null54 Posted October 28, 2018 Share Posted October 28, 2018 @Joshua Lamusga Removed the PresentationCore dependency: https://github.com/JoshuaLamusga/Brush-Factory/pull/6 Added the ABR loading code: https://github.com/JoshuaLamusga/Brush-Factory/pull/7 Quote Plugin Pack | PSFilterPdn | Content Aware Fill | G'MIC | Paint Shop Pro Filetype | RAW Filetype | WebP Filetype The small increase in performance you get coding in C++ over C# is hardly enough to offset the headache of coding in the C++ language. ~BoltBait 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.