Jump to content

Brush Factory v2.0 (August 8th, 2020)


Recommended Posts

5 hours ago, Eli said:

I do not have a computer with lots of memory so I probably did run out of something.

I didn't dispose bmpBrushRot. For some reason, despite being a local variable, it won't let me. I don't think drawing is asynchronous, but it seems to have trouble like that. I might look at it more after I get done with homework, but it should be fairly simple.

Untitled.png.28dedeebdce78c42589f24716981923f.png

Link to post
Share on other sites

Great plug-in. This is what I had been hoping for.

 

However, I have an interesting problem that I need to bring to your attention.

 

I am using a HP laptop with a HDMI, extended monitor.  I have PDN on the extended monitor, but the plug-in window only stays on the laptop's monitor.  When I use, pyrochild's smudge plugin, it opens in the extended monitor.  Trying to move the brush factory window to the extended monitor isn't working.

Link to post
Share on other sites

@AnthonyScoffler In EffectConfigDialog_Load() try this ...

 this.DesktopLocation = Owner.PointToScreen(new Point(<x>, <y>));

It sets the location (DesktopLocation) of this (this form = the plugin dialog) to the specified x and y coordinates in relation to the screen the owner (paint.net) is on.

 

See https://msdn.microsoft.com/en-us/library/system.windows.forms.form.desktoplocation(v=vs.110).aspx

 

and https://msdn.microsoft.com/en-us/library/system.windows.forms.control.pointtoscreen(v=vs.110).aspx

Link to post
Share on other sites
6 hours ago, TrevorOutlaw said:

Great plug-in. This is what I had been hoping for.

 

However, I have an interesting problem that I need to bring to your attention.

 

I am using a HP laptop with a HDMI, extended monitor.  I have PDN on the extended monitor, but the plug-in window only stays on the laptop's monitor.  When I use, pyrochild's smudge plugin, it opens in the extended monitor.  Trying to move the brush factory window to the extended monitor isn't working.

What a fantastic question; this is the kind of stuff that helps me in the future. I don't have any HD or external monitors to test with, and have always wondered about whether it would work on those (and high-density displays, but that's another story).

 

I just did what @Ego Eram Reputo said to do (thanks), so hopefully that works. I'd like you to tell me if it worked or not so I can decide if I need to do something else or if I should update the plugin itself. Thanks.

BrushFactory.zip

Untitled.png.28dedeebdce78c42589f24716981923f.png

Link to post
Share on other sites

^^ How strange. I'm using exactly this in a brand new plugin. It works across my dual monitor setup flawlessly. Pyrochild's Smudge plugin uses almost exactly the same thing.

 

I'm positioning the plugin window half-way across each screen, and 20px down from the top edge.

 this.DesktopLocation = Owner.PointToScreen(new Point(Width / 2, 20));

Have you got any monitor managers installed?

Link to post
Share on other sites

" Have you got any monitor managers installed?"

 

I am using a HDMI connection.  Like I said earlier, I can use pyrochild's plug-in within the extended monitor and pretty much every other plug-ins.  TechnoRobb's Dodge and Burn plug-in also stays stuck in the main monitor and not move to the extended monitor.

Link to post
Share on other sites

Anthony,

 

There is one more feature I would like to see in Brush Factory : a pressure sensitive eraser. I can undo with (Ctrl+z) but sometimes I would like to have a brush that would behave as an eraser with variable hardness.

Edited by Eli
Link to post
Share on other sites
On 1/20/2017 at 6:32 AM, Eli said:

Anthony,

 

There is one more feature I would like to see in Brush Factory : a pressure sensitive eraser. I can undo with (Ctrl+z) but sometimes I would like to have a brush that would behave as an eraser with variable hardness.

It's very difficult, and is the reason I haven't made layer masking a thing, though I had thought of it and other blend modes some time ago.

1) I need to draw to an intermediate surface and lockbits and define my own copy mechanism to have blend modes and such, like doing alpha -= value to erase.

2) I was reluctant to bother since I have no stylus or touchscreen, but I can try when I rewrite the app.

 

I plan to rewrite this all in WPF and Direct2D some day, and actually take the ideas from photoshop's dynamic brushes, since I didn't ever look into it until I had version 1.3 of this plugin. But I have the ideas well tied-down in this plugin, so if I rewrite the whole thing, I'll be tightening down every aspect and possibly changing some structures to be more modular, etc. Since that goal will take time and it exists right now, a rewrite will probably be on the backburner.

 

Version 1.4 released

The changelog describes the additions of a line brush and symmetry mode. This update is rather minor and was done because I had free time to satisfy a request.

Edited by Joshua Lamusga
  • Upvote 2

Untitled.png.28dedeebdce78c42589f24716981923f.png

Link to post
Share on other sites
  • 2 months later...

No - It gets weird

 

 

 

 

No matter what I do - I cant see the time stamp you are showing me.

I downloaded it twice and got 2 versions TODAY? Weird! I blame google. 

 

 

OK - I see what you see now by downloading the ZIP File. 

I don't do that!

I extract it on the google drive - then download the DLL

See if that makes a difference.

 

 

 

Edited by AndrewDavid
Removed uploads

Signature2018.png

 

Link to post
Share on other sites
2 hours ago, Joshua Lamusga said:

I tested my download link and it appears to be functioning normally. Here's a copy of the .dll for version 1.4 anyway

Hi Joshua, I just tried the new link you provided but for some reason it is not version 1.4. Everytime I try it is one of your older versions .

Spoiler

bfactory-properties-52af5eb.png

 

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...