armory3d / armortools

3D Content Creation Tools
https://armorpaint.org
Other
3.29k stars 336 forks source link

About the export and import of brushes - Linux #789

Open spellmell opened 3 years ago

spellmell commented 3 years ago

The export of image texture node assets works very well, it seems a positive development in brush export.

There are a couple of details that seem to need revision...

1 - when importing a previously exported brush, in the brushes tab the imported brush does not show a preview of the mask used by the brush in the image texture node. The screenshot shows that I have imported 2 brushes: apb_ink_124 and apb_ink_125. Neither of them shows the brush mask in the brushes tab preview, although the brush works correctly it is not possible to visualize it for easy identification.

2 - When a brush is imported it does not check that the brush mask is not present in the assets, and if it was already present it duplicates it as seen in the imported textures tab. The import of the brush apb_ink_125 generated a duplicate of apb_ink_125.png that for some reason or error was already imported previously.

3 - When resting the mouse over the imported brush for a few seconds, a preview of the brush application is generated, but in this case, I do not know if it is due to the lack of the initial preview of the brush tip or mask, or that it is a brush with completely random values, what you see is a completely black image. Possibly it is a scaling of the brush tip depending on the totality of the texture or uvmap on which it is going to paint? If this is the case, perhaps it would be more convenient to amplify the brush mask used in the image texture node. You can't see very well what the preview shows. Maybe because of its scaling.

They are secondary details, the brush works fine when painting.

ArmorPaint.org - v0.8 (2021-01-28) - 229adac Fedora 32 - Linux - OpenGL

Screenshot_20210128_162719 Screenshot_20210128_162824

spellmell commented 3 years ago

in addition... I'm not sure if this is a bug, or some else not previsted or directly not allowed, but mask in SVG format can't charge the image correctly. only load a flat point. svg_no_allowed_Screenshot_20210129_053113