MyPaint version pre-alpha preview

Hi @MrStevns I have just checked that you updated the mypaint version. Well, I am glad you didn’t forget about it ! :smile:

I found a very ugly bug :astonished:. Here the steps to reproduce it: Open pencil2dmypaint (your last version from day 7thMar) select any brush from the brush selector.

Go now to the configuration and select “Advance Settings” and than “Edit Brush”.

If you edit the name of the brush it will make the brush disappear from the Brush Selector window. I have to download the program once more because the brush was not found and it was a great brush :+1:

And thank you for maintaining it

@MrStevns After founding the previous bug I closed pencil2dMy paint, and it started with no brushes.

Ah yes I’ve noticed that the edit brush window doesn’t update properly too… will look into that.

In case you have no brushes, you can delete the brushes folder from appData/roaming/pencil2D/Pencil2D, when you’ve done that, try to open the application again

2 Likes

It worked fine! :+1:

“Ah yes I’ve noticed that the edit brush window doesn’t update properly too… will look into that” Glad to know that!

A new build is now available on windows, focusing on the most recent bugs reports.

  • Fixed brush would disappear after being renamed
  • Fixed brush would get cloned but fail
  • Fixed brush would be loaded but not attached to a tool.
  • Fixed brush icon would not be updated after editing or cloning the brush.
  • Fixed brush entries would not be removed in the .conf file, only added.

Furthermore I’ve adjusted the max value for brush radius behind the scene, visually you won’t notice the change, it still goes from 0 to 100%. If you however used a brush size of 60% or higher before, then it will probably be scaled down now to something more manageable. This should hopefully fix most cases where the brush editor freezes the UI.

The last important fix that I feel worth mentioning: The input mapper had a bug that made it almost impossible to use certain input types, because the x and y axis used the same min and max… which caused the brush to either get humongous or invisible while also locking the UI because it still tries to preview it.

W32: pencil2d-win32-implement_mypaint_nobitmapsurface-2021-04-11.zip - Google Drive

W64: pencil2d-win64-implement_mypaint_nobitmapsurface-2021-04-11.zip - Google Drive

1 Like

So far I have no complaints with the new version but I haven’t really tried coloring a scene in a more serious manner yet, but I plan to. I’m experimenting lots with watercolor and I can not make up my mind about it. I get that it must be one of the hardest simulations to do in a computer painting software. But seeing how Krita does watercolor I wonder is it possible to get some kind of texture to MyPaint brushes to make it look even more lke it’s watercolor on paper?

I think that Krita does a pretty good job of that, but I’m not switching to Krita beause of it I just wonder how much can be tweaked inside the advanced settings to get the desired looks. Deevad’s brushes is probably the best out there, but what if I downloaded another set of brushes? Is it possible to get them to work properly with P2DMP, I did try briefly a random brush-set and I copied them to P2D brushes folder in the %appdata% folder and set the .config file so that I could select the brush-set so they kind of worked but they needed to be adjusted a bit in the advanced settings also. Am I on thin ice here ? :)

Found this, it answers my question at least somewhat. :+1:

Water color capability: With mypaint brush library, unless it becomes a focus, I don’t expect to see water painting abilities similar to what Krita can do in the near future. Custom brush dab support has been requested before and would be able to make it much easier to simulate water paint like effects. The lack of texture really is what sets mypaint back the most currently imo. so maybe at some point I could look into it. There are however other things that have higher priority than making image dab support for libmypaint :slight_smile: even though it would be very useful and expand the room for brush improvements a lot.

Brush import: You can indeed import other brush sets manually and they may or may not work entirely as expected, which it also sounds like you’ve experienced. I’m not sure why though, maybe because they have been created with a different library version… or there could be a bug something that i’m not aware of… :thinking:

Be aware that the newest mypaint library uses another brush format… so some brushpacks will currently not work because we use an older version. Although you could probably convert them manually if you really wanted to try out those brushes.

New link to my nightlybuilds folder: https://drive.google.com/drive/folders/0B7zQuPZEO_64NlFsM0JTTmwzdlk?resourcekey=0-OH1z92WbhWb0KxjgDC3ehA&usp=sharing

The latest build with mypaint included should be from 09/15 2021… make sure the list is ordered properly!

it contains various fixes and improvements, since the last release. The build is now also up to date with master.

Noteworthy improvement and or fixes:

  • Fix some brushes did not work.
  • Implement ability to reset brush to initial state from brush configurator
  • Fixed that settings would not be placed consistently in tool settings, ie. jump around
  • Fix bitmapbucket not working when filling on empty canvas
1 Like

Thanks for the update, CandyFace. I tried it yesterday so far I only noticed one thing. I have different shortcuts on my PC for P2D-Nightly, P2D-0.6.6, and P2D-MP and as soon as I started latest P2D-MP build then it reset all my windows, tools panels and keyboard shortcuts. Because these settings are in %appdata% (I think) it did not help me to just close P2D-MP and start the Nightly the damage was already done. Luckily I have saved my shortcuts file so I could easily import it and the Windows are easy to drag back where I want them, only problem is that P2D-MP resets them again next time I start it. :slight_smile:

Ah crap… maybe i forgot to remove my debugging code that clears settings on launch, that would explain it.

Will look into it :)

1 Like

Yup I forgot to remove the code… it’s gone now. Latest build is now available.

1 Like

Hi CandyFace ! I was supposed to report a problem with the “Dirty” brush pack that I had when I tried using it with P2D-MyPaint, but a test today with a fresh file I could not get it to crash :slight_smile: So I have to wait if I ever encounter it again then I’ll get back to you.

I might as welll give a heads up to anyone searching for nice brush packs to try it out if you like. I like “deevad” very much but “Dirty” just added the missing pieces for me.

2 Likes

New more permanent link to the mypaint builds:

Win64
Win32
Mac OS

2 Likes

@MrStevns Thank you for the latest version! I was testing it and it was working ok on a surface level, however I ran up a crashing inducing behavior that I can reproduce perfectly all the time on Windows 10.

Some reproduction steps

  1. Open Pencil2D-Mypaint build
  2. Pick any tool
  3. Go to the Brushes panel
  4. Press config button
  5. In the properties window that pops up press the dropdown (it should say pressure) and select custom
  6. Pencil2D will crash.

New build: Mac Win32 Win64

Bugfixes:

  • Fixed crash when adding an input modifier for a setting that didn’t already contain one input setting.
  • Fixed crash when removing an input modifier
  • Fixed removing input modifier did not get saved to disk

Small visual improvement:

Added icon for input modifier button, now the brush configurator looks a bit more complete.

1 Like

Theoretically can we take current projects we are working on in Pencil2D, take the .pcl file and put it into the MyPaint version so we can work on the project in that version? I’m working on an animated series and I want it to look the best I can make it.

Ignore my last post- I can’t wait till this new version. More brushes are gonna take Pencil2D to another level

@Jordan_River_Studios It’s Pencil2D with brushes, so yes you can, but again bear in mind it’s still experimental so you better save a lot of backups (plus some of the recent fixes are not included in this branch AFAIK) so you might see weird stuff happening from time to time if you use it like it is.

Of course it is super important that anyone using this can report issues related to MyPaint, so give it a spin for a hobby project if you have the time. Thank you for your interest as always!

@MrStevns Ok did some more tests on the latest version you shared.

  • :thinking: :thought_balloon: To make behavior a bit more generic, opacity in pencil tool could behave like other tools, right now even if you set opacity at 100% and remove the pressure input mapping graph, it’s still semi-opaque so it feels unexpected.
  • :warning: Changing pressure graphs does not update the stroke placed on the canvas up until the attribute slider changes.
  • :warning: Drawing fast lines show stroke segment “breaks” due to slow tracking attribute. This was tested with the Pencil tool presets; reducing slow tracking to 0 improves the line “smoothness” when drawing fast.
  • :warning: Brush and Pen presets fast lines tend to break even without slow tracking enabled. :thinking: :hammer_and_wrench: Might need more testing to find if there’s an attribute pattern that leads to this, or just to conclude specific presets are faulty
  • :bangbang: :rotating_light: Using the colorize attribute automatically crashes the app. Just try using the slider and the app closes.
  • :bangbang: :rotating_light: After having the colorize attribute crash the app, now I after just starting Pencil2D, If I press the config button on the brush panel for the first Pencil preset (4H_Pencil), Pencil2D crashes automatically.

    Other presets work ok so I think the preset got “corrupted” somehow, though it seems that the presets were saved without my approval.

    I thought the presets were saved temporarily for the session, but it doesn’t seem like that, in these cases saving the presets and storing faulty values seems to expose this problem when an attribute makes the preset unreadable.

    Edit: Ok it seems I was right, the MYB got the colorize value stored with a 0.2 value. I assume that this is why I can’t even look at it. I can’t restore it via the GUI because it won’t let me open the editor without crashing, so only advanced users would be able to restore the preset by messing with the text file :thinking:

    I think there should be a way to restore the brush presets without looking in the editor. Maybe right clicking on the preset? just a thought tho, the main problem is that the editor can’t seem to parse the colorize value, even though using it on the canvas doesn’t seem to carry any trouble :laughing:

Thanks for another testing round :slight_smile:

To make behavior a bit more generic, opacity in pencil tool could behave like other tools, right now even if you set opacity at 100% and remove the pressure input mapping graph, it’s still semi-opaque so it feels unexpected.

Have you checked whether this is the case with mypaint too? if so there’s probably not much we can do about it, it’s most likely about the combination of brush settings that causes that behaviour

:warning: Changing pressure graphs does not update the stroke placed on the canvas up until the attribute slider changes.

I will look into that

Drawing fast lines show stroke segment “breaks” due to slow tracking attribute. This was tested with the Pencil tool presets; reducing slow tracking to 0 improves the line “smoothness” when drawing fast.

Brush and Pen presets fast lines tend to break even without slow tracking enabled. :thinking: :hammer_and_wrench: Might need more testing to find if there’s an attribute pattern that leads to this, or just to conclude specific presets are faulty

Stroke breaks will likely not disappear just because of the mypaint integration, it requires a better filtering of the tablet and mouse events to fix this problem properly. Mypaint also has this issue themselves.

:bangbang: :rotating_light: Using the colorize attribute automatically crashes the app. Just try using the slider and the app closes.

Interesting, will try to reproduce

After having the colorize attribute crash the app, now I after just starting Pencil2D, If I press the config button on the brush panel for the first Pencil preset (4H_Pencil), Pencil2D crashes automatically.

Sounds like something unexpected is happening, you’ll have to reset the brush folder or remove that specific attribute from the config file to fix the situation for now.

I think there should be a way to restore the brush presets without looking in the editor. Maybe right clicking on the preset? just a thought tho, the main problem is that the editor can’t seem to parse the colorize value, even though using it on the canvas doesn’t seem to carry any trouble :laughing:

This should be doable, will look into that.