Jump to content

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


Recommended Posts

He's asking for the ability to make the brush strokes lag behind the cursor to a distance, which allows the brush strokes to be smoother. They're currently made by repeating the brush image X amount of times along a line based on the "density" of the brush stroke which is measured relative to the size of the brush. This is how paint.net draws lines as well (you can see the actual lines if the program lags while you draw, or if you draw really fast in circular motions). The main advantage to this method is that there are no "gaps" as would occur if you just draw at the current mouse position every frame. But I digress.
 

On 9/18/2020 at 8:00 PM, Metalistic said:

tool that slow down the speed of the brush to make smooth draw

You're in luck because this is a listed feature I intend to support anyway. I might as well get around to it. All I need is to set the draw point as soon as the mouse is clicked. Instead of creating a line from the draw point to the mouse position every frame, I need to get the angle and magnitude of the vector and use some % of the magnitude towards the mouse point, then update the draw point to the new location. This should simulate what you get from most other programs, where the brush stroke lags behind the cursor position.

There is a better way to do it, which is to adjust the positions of the points so they're "smoother". This is a lot harder and requires drawing on a separate surface and updating the drawn image as the points adjust. The advantage is that the brush strokes are simply smoother without lagging the cursor. Both methods have their merits. I'll go with the first because I don't have to change the entire way that Brush Factory draws. I'll see what I can do when I get off work later.

  • Like 1
  • Upvote 1

Untitled.png.28dedeebdce78c42589f24716981923f.png

Link to post
Share on other sites

Hi, love the plugin! I was wondering if there was a way (or you can implement one) to apply a texture to the image used for the brush shape itself, instead of only solid colors (when I'm using black templates). Say you could select a section of an image, and then the shape you want to overlay it onto, so you could give your brush the texture of gold paper, or even part of another picture inside the shape.

TriquetraRedleaf.png.d2af89ba306966e273b548de01742efe.png

Yeah you could just put the texture on the image outside the app, but if you want to try multiple textures on the same image you have to keep doing it externally and saving as separate file, so it's not very fast and breaks your flow. The good thing about it being in a brush is you can effortlessly copy the same image 

Link to post
Share on other sites

Hi and welcome @SabreS.  🙂

 

While waiting for Joshua's reply, I recommend using Creative Text Pro, which allows you to put any texture on text and objects.

 

Read the post carefully for full instructional use. I find myself using this plugin a lot. It's for so much more than text.

  • Upvote 1
Link to post
Share on other sites
On 9/24/2020 at 12:06 PM, SabreS said:

Hi, love the plugin! I was wondering if there was a way (or you can implement one) to apply a texture to the image used for the brush shape itself, instead of only solid colors (when I'm using black templates). Say you could select a section of an image, and then the shape you want to overlay it onto, so you could give your brush the texture of gold paper, or even part of another picture inside the shape.

 

Yeah you could just put the texture on the image outside the app, but if you want to try multiple textures on the same image you have to keep doing it externally and saving as separate file, so it's not very fast and breaks your flow. The good thing about it being in a brush is you can effortlessly copy the same image 

There is a way, actually, which has been around since the first version of this plugin. :)
Just make sure "colorize brush" is off and it won't use the current color:

image.png.642a1e39fa1e0bd220b661200ecbde58.png
That's it! If you're using a brush that has colors in it, you can go ahead from there. To reuse an image that Eli made illustrating this:Untitled.png.fac32931ae52264366a1d908580d84b3.png
Let me know if that doesn't your question, and have fun!

Edited by Joshua Lamusga
  • Like 1

Untitled.png.28dedeebdce78c42589f24716981923f.png

Link to post
Share on other sites
On 9/22/2020 at 11:33 AM, Joshua Lamusga said:

He's asking for the ability to make the brush strokes lag behind the cursor to a distance, which allows the brush strokes to be smoother. They're currently made by repeating the brush image X amount of times along a line based on the "density" of the brush stroke which is measured relative to the size of the brush. This is how paint.net draws lines as well (you can see the actual lines if the program lags while you draw, or if you draw really fast in circular motions). The main advantage to this method is that there are no "gaps" as would occur if you just draw at the current mouse position every frame. But I digress.
 

You're in luck because this is a listed feature I intend to support anyway. I might as well get around to it. All I need is to set the draw point as soon as the mouse is clicked. Instead of creating a line from the draw point to the mouse position every frame, I need to get the angle and magnitude of the vector and use some % of the magnitude towards the mouse point, then update the draw point to the new location. This should simulate what you get from most other programs, where the brush stroke lags behind the cursor position.

There is a better way to do it, which is to adjust the positions of the points so they're "smoother". This is a lot harder and requires drawing on a separate surface and updating the drawn image as the points adjust. The advantage is that the brush strokes are simply smoother without lagging the cursor. Both methods have their merits. I'll go with the first because I don't have to change the entire way that Brush Factory draws. I'll see what I can do when I get off work later.

Glad to see you are interested, pleas notify me when you have done, it would awesome start doing my drawings with that tool, for the moment im just gonna use the lines

Link to post
Share on other sites
On 9/25/2020 at 12:17 PM, lynxster4 said:

Hi and welcome @SabreS.  🙂

 

While waiting for Joshua's reply, I recommend using Creative Text Pro, which allows you to put any texture on text and objects.

 

Read the post carefully for full instructional use. I find myself using this plugin a lot. It's for so much more than text.

Thank you, this should be useful!

Link to post
Share on other sites

Hi all, I'm trying to achieve a Fiona Staples (Saga, Archie) type look with my cartoon colouring, and one thing that it seems would help is the right shape of brush. I'm hoping to get something along the lines of what the guy in this video uses (around 3m26s): 


Would Brush Factory be the best plugin to use for this? I've looked at the user guide and stuff but I can't quite tell... Thanks!

Link to post
Share on other sites

Hi @bbX1138. It seems doable to me. Brush Factory might be the best plugin, if only for a lack of options when it comes to this. I made a simple brush based on the Youtube video, which I'm attaching to this message. With this simple triangle brush and a brush density of 20 (because 10 isn't enough for this shape), I get results comparable to the video, shown side-by-side below. You can modify the brush shape as needed; it's little more than a glorified triangle :)
Untitled.thumb.jpg.d351f303cd83e7736f58afbec6955ede.jpg

comicbrush.png

  • Upvote 1

Untitled.png.28dedeebdce78c42589f24716981923f.png

Link to post
Share on other sites
9 hours ago, bbX1138 said:

Trying Brush Factory out, and it's a shame it only lets you see a single layer - not very useful when you want to 'ink' over sketch lines or use layers to do colouring... 

It's a shame alright. A hard limitation of the paint.net API; nothing I can do about it because the plugin cannot access layer information. Just to make sure you know about the workaround I made: you can copy an image to the clipboard before going into Brush Factory, then right-click the canvas and use clipboard image as background. It's the best I can do with what I'm given (but it sounds like you don't know about this, and maybe it'll work for you :))
image.png.a79bdfcdeb90aa895d736f7382d62ea1.png
(Note that "Use clipboard as background" only shows up if there's an image on the clipboard...it's sneaky like that.)

Untitled.png.28dedeebdce78c42589f24716981923f.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...