Sculpt Alphas Manager

I like this, it looks clean.
Can we still use the default way though?

Can make a way. Should access be from texture panel or addon preferences?

From texture panel, something akin to the screenshot I posted above.

default_preview

library_preview

Thatā€™s it! Really nice job!

You think you can share the code to test it or are you still working on it?

Yeah, still working on it. I got it working for Sculpt, Vertex Paint and Texture Paint, not just for Sculpt mode. Took two days to figure out a problem I was having. Now, Iā€™m trying to figure out a error itā€™s returning when a sub category is not found after changing the category. This is why itā€™s taking so long. Mask texture for Texture Paint pretty much doubles up the code ,so I might delete all that to help with tracking errors and get a test version ready.

No pressure, thanks for your work!

Hereā€™s my error. You can see how itā€™s hard to find the cause, when thereā€™s like 1000 lines of code and it doesnā€™t point to any line in the addon file.

WARN (bpy.rna): C:\blender-git\blender\source\blender\python\intern\bpy_rna.c:1476 pyrna_enum_to_py: current value '1' matches no enum in 'BrushTexture', '', 'sub_texture'

OK, think I figured out the issue.

1 Like

OK, we now have a ā€œNONEā€ option. Can select it to remove texture from brush. Also, removed the texture settings below and only displaying the assigned texture name ,cause the texture gets replaced and the options are kinda useless cause they donā€™t stay. Might could change this behavior later.

none_texture_item

Canā€™t wait to try what you did!
Is the Default View / Library View still needed?

You wanted it, LOL. You can tell me if itā€™s needed once you test it.

I kinda hijacked your addon and thread, LOL.

1 Like

Hahaha, thatā€™s okay, because I wouldnā€™t have kept developing it beyond my basic needs for lack of time and coding skills. But Iā€™m glad you got interested in it that much!

1 Like

Would it be possible to select alphas even if the thumbnail isnā€™t showing? Theres a whole array of alphas I canā€™t select using this, without painstakingly converting them. Managed to batch process most of my alphas, but not some psdā€™s for example.

@Ryxx

You see this?

[Addon] Texture library manager

Looks like a similar addon ,but it looks like it just creates a texture for every image in the folder and you have to add the folder each time. I think just a creating a texture based on selection and selecting a main path is better idea.

Addon looks for jpg, jpeg, png and tif files.

I just tried it. The only thing I like is that it solves the preview conflict, kind of. But it also introduce a new set of problems:

  • The main one is that the more textures you have in your scene, the more they mix with the alphas, and it becomes a burden to scroll to find them. And I donā€™t like the system of hiding/unhiding the categories because you can even mix the textures from multiple categories. I want each category to be kept clean and only show the brushes it contains.
    On a side note, scrolling is messed up in Blender. Iā€™ve made that thread, but it didnā€™t catch the developpers attention much:
    https://devtalk.blender.org/t/mouse-scrolling-issues-in-drop-down-panels-with-thumbnails/10097
  • Also I prefer my interface with just a category (or two) drop down list above the preview. Not a fan of having the categories in the sidebar.
  • Iā€™d rather keep a library path in the addon prefs to avoid having to setup it up at each session or having to bother updating when I add or remove folders in my drive.

I tried to add it, but the problem is that .psd files donā€™t generate thumbnails, and consequently the preview doesnā€™t even index themā€¦

???

Doesnā€™t show thumbnails like regular pics on my computer ,but it does for the previews in Blender.

psd_preview

1 Like

@Ryxx

OK, I think itā€™s error and bug free, LOL. You can test and see what you think.

textures_manager_no_mask_b.py (41.9 KB)

1 Like

Overall, itā€™s working very smoothly! Itā€™s nice that we can customize the Show Labels and the Preview Scale (Iā€™d put the default scale of the preview the same as the default one, so the interface doesnā€™t jolt when switching previews).
Itā€™s also nice you added the .psd format!

Here are some adjustments to improve the UX:

  • The toggles Default Preview / Library Preview and Images / Procedural do the same thing, donā€™t they? We could remove one and make 2 button like this (see mockup below), it would be more clear to the user what he does at first glance, and where he finds himself. Iā€™m keeping the layout as close as possible to the original. The only thing that appears/disappears when switching previews is the Categories drop down.
  • If possible, when the user creates a New texture from the Properties Editor, could it set the texture from Library to None (if there was one) and switch automatically to Default Preview, so the user sees what happens?
  • Iā€™d remove the ā€œCategoriesā€ text to leave only the drop down list (more space to see the full titles if long). Itā€™s pretty self explanatory. Eventually putting a description when hovered.
  • The file paths fields should stay in the addon prefs. I consider it should be in the File Paths only if it gets adopted officialy by Blender.
  • I think we should keep the description of how to setup the folders structure in the addon prefs.
  • Can we keep that bar with the name and at least a Close button that resets to None? (saves one click if we want to remove it and it also keeps visually the appearance more similar to Default Preview).

Hereā€™s the mock up:

Mock up

Also you can add your name as an author if you want, since you helped a lot!