All Material List

Hey! So I think this addon is awesome and has been extremely useful. So thank you :hugs:.

However, I just finally discovered or figured out an issue that’s been bothering me and some other artist friends of mine , for a while now. We have had very weird artifacts in the eevee scene , especially with render mode/view activated. Basically the viewport performance seemed to drop a bit , but the most notable issues were antialiasing seemed to basically not exist and the viewport appeared blurry and noise would never resolved. It was always crawling or constantly updating. So finally today I decided to rename my prefs file and start blender “fresh” to make sure my file was ok. Sure enough , it looked good again!

So, I tried a few other things to eliminate other possible factors and determined it was some or multiple addons screwing up my viewport.

I slowly enabled 1 addon at a time , and to my surprise , when I enabled this material list addon, I noticed the artifacts again! I tested it again to be sure and yes. This addon was the culprit as to why our viewports looked so bad/ rough.

But, it turns out I can leave your addon turned on/enabled , I just have to disable the selection highlight option OFF.

I’m not sure how you are updating or performing that action , but it seems to cause FPS drop and more noticeably the artifacts I mentioned.

Hopefully there is a way to fix this on your end. If not, it’s not a huge deal. I can disable that option / as needed. But I wanted to write this all up for you and in case anyone else had run into this issue.

Thank you!!

3 Likes

Thank you for testing.
It’s a serious bug. I’m truly sorry.
I will consider changing the method of highlighting.

The highlighting function uses the “update every time you do something” function.
I may be a problem with how to use my update function.

Current method

bpy.types.SpaceView3D.draw_handler_add

There seems to be some trouble.

  • Lower frame rate
  • No anti-aliasing
  • BezierUtils add-on display of some functions is delayed

Method used before

bpy.app.handlers.depsgraph_update_post

  • There is a problem that the BoxCutter add-on crashes. Therefore, we have changed to the current method above.
1 Like

ver1.91 Bug fix

2019-10-05

The following bugs caused by the List highlight function have been fixed.

  • 3D viewport frame rate is reduced
  • 3D viewport anti-aliasing disappears
  • BezierUtils add-on display of some functions is delayed

method for resolution

Changed the method of highlight display function.

  • Old bpy.types.SpaceView3D.draw_handler_add
  • New bpy.app.handlers.depsgraph_update_post

Reverted to using depsgraph_update_post.
This is the method we used before, and the problem that the BoxCutter add-on crashes was an obstacle, but this no longer happens (the cause has not been clearly identified).

2 Likes

You’re awesome! I’ll check it out in a bit and report back what I find. :star_struck:. Thank you!

keep on @Bookyakuno!

1 Like

I think I did just have blender crash as he said, when I used HardOps. I opened the Hops right Panel, that shows (Cutting Material), and my monitors went black for a few seconds and blender closed. Although now it seems fine again on 2nd try… so not sure what that was…

Edit: I guess he said BoxCutter, but almost seemed like Hops caused it in that case, but I’m not sure… hmmm

HI Bookyakuno
I found a few bug on 1.91 , I dont know if others will run into this .
anyway here is what I got.

  1. this assign button only create new material now , it wont automaticaly assign materials since VER .1.90~1.91
    Image01

  • the preset color rainbow no longer give u rainbow colors , it will only assign one color to all selected objects.
  • Material Color->Viewport Color runs error, not functioning .
    Image02

Thank you!

1. Only objects with assigned materials are selected

Perhaps you have executed the button with only the objects assigned materials to it selected.
The functions of the “Assign” button only work for objects that do not have material.
For objects to which material has already been assigned, remove the material from the object in advance with the [X] button on the right before executing.


2. Regarding Preset color

What color will the preset color change?
It is normal if it can be set to red with the red button.


2. Object has Principled BSDF node does not exist

If the Principled BSDF node does not exist in the material assigned to the object, the function will fail.
This function only supports the base color parameter of the Principled BSDF or Diffuse BSDF.

  1. A ha I see the problem. the remove old slot on my setting was left to be off . When I put it back on everything works as intended . THX for point out .

  2. Perhaps I didn`t make my self clear, or I misunderstood the function, sorry.
    Let me rephrase my question this way.

A. when I press the preset red. I got all selected object with the same color.
Image%204

B. when I press the preset red. I thought I should get something like Red spectrum instead of all same color.
Image%205

Which should be the correct result that presets originally intends to do A or B ?

3.Problem solved, yeah I got that tinny decal machine materials in it .
Thank you for the guide.

understood.
I might put it on the TODO list and implement it (I think it will be lower priority. don’t expect too much).

1 Like

ver2.0.0 Add the Light / Camera list

2019-10-12

Introduces updates such as addition of light list, camera list, improvement of material index list, and simple node parameter display in material list.

Added

Light list

Lists materials with lights, light probes, and emission nodes.

  • Editable items: Light selection, display availability, selection availability, viewport availability, renderability, renaming, color change, power change, size change, shadow on / off, deletion, others, emission color and strength
  • If there are many other items, you can adjust the width by dragging the divider
  • Hidden lights are displayed in red
  • There is an option to sort by collection
  • Emission nodes are excluded from the Emission node named "Emission Viewer"
    • This is because the node is created as a temporary viewer with the Node wrangler add-on

Camera List

Displays a list of cameras.

  • Editable items: Camera selection, display availability, selection availability, viewport availability, renderability, rename, focal length
  • Hidden cameras are displayed in red
  • Marker setting function
    • You can set markers on the timeline
    • The camera of the current marker is highlighted
        • If there are multiple markers with the same name, only the marker created first will be highlighted.
    • If there is a camera marker in the current frame, the marker will be deleted.

Node parameter display

Only works for materials with a simple node structure.
Only some nodes are supported.
This “View Compact Node” is off by default .

▼ Supported
nodes If an image texture is set for a supported node, the image is displayed.
If other nodes are connected, the node name is displayed.

  • “Principled BSDF”
    • Base color, roughness, metallic, normal map
  • “Diffuse BSDF”
    • Base color and roughness
  • “Emission”
    • Base color and strength

Hide each list

As list items have increased, we have an option that allows users to hide less frequently used lists.

It can be accessed from the add-on settings or from the right end of the main menu.

Changed

Improved material index list

In the previous version, there was a problem that wasted blank space, but it was improved by changing the method of creating the list menu.

Changed to the procedure for setting the index number by clicking the index number and specifying the number from the pop-up menu.

You can use regular expression search filters in this material list .

The new material index list cannot adjust the vertical width of the list .
If you have a large amount of material, it is recommended to filter with the search box at the top.

Other

  • The simple texture adjustment menu next to the slot has been improved to display image textures etc. if they are used for node input.
  • The function to select material assignment objects from the list has been changed so that multiple selections can be made by clicking while holding down Shift.
    • The “Select Extend” option for multiple selection has been removed because it is no longer needed
  • Set icons for each menu and align them to the left to improve visibility
  • In the image list, the width of the image name and file path can be adjusted directly from the knob in between.
  • The add-on file was divided and organized internally.

Bug fixes

Fixed the problem that the simple texture setting menu was not displayed unless the material list was opened. Fixed the problem that
the deletion of the world list was not displayed.

7 Likes

Hi @Bookyakuno, really lovely addon you have made there!

A few suggestions:

  • In the addon preferences, would you consider to allow us to put each one of your View Menus in a different tab (bl_category) and allow us to rename the drop down menus’ labels (bl_label), by making a tab category and, if possible, a label for the drop down menu, on the same line for each View Menu. The reason for that is that I’m interested in splitting these in different tabs because it better suits my workflow. I want the Materials List to go in a Materials tab, and to separate the Cameras List and the Lights List into their own tabs.
  • For Light List, you could make a toggleable option to “Show Labels” so we can see directly the names of the lights in the viewport.
  • Also for Light List, considering that most people have the sidebar as wide as the Properties Editor in default Blender (more or less), the Power and Size boxes are not visible. One has to constantly expand the sidebar to see what’s there. I know there is the Width option, but when I expand the boxes too much, then it hides the names… So I was wondering that maybe you could split each line in two… But that’s up to you. This can even be a checkbox option for those who prefer to see only one line.

Thanks for considering.

1 Like

Hi! First kudos for a great addon! I want to ask if anyone has experienced this. When i set a keyboard shortcut to evoke the menu other that Ctrl Alt R, and save the preference on every restart the shortcut reverts to the default. A bug or intentional?

Sorry.
You cannot change the keymap from the settings screen of this add-on.
Search and change from the “Keymap” tab instead of the add-on settings.

am_list.popup

This add-on uses a general keymap registration method, but there is an issue that users cannot change from the menu.

1 Like

ver2.1.0 update List improvements such as data type selection and scroll display

Improved list of materials index, light, light probe and camera, and added option to filter more finely.

Major updates

  • Separate light list light probe emissions into separate lists
  • Scroll through list
  • Regular expression search
  • Select data type
  • Improved highlight display
  • Switch option display individually
  • Other display improvements and speed improvements

List improvements

The list of material index, light, light probe and camera has been improved.

Filter

Added many filter functions.
Various menus such as filters and display switching are stored in the magnifying glass icon.

  • The data to be displayed can be selected from the following
    • slot
      • List materials in active object slot
    • Selection
    • Current scene
    • All data
  • It is now possible to switch the option display of the light camera individually
  • Regular expression search filter
  • Sort by name
  • Invert sort

scroll

You can now scroll through the list.
By limiting the number of items to be displayed (default setting is 20), it is possible to avoid the load when displaying a list of large projects.

Split list

  • Splited the list of light probe / Emission materials into separate lists

Improved selection display

  • alt Click to deselect
  • Naturally highlights the state of the selection, making it easier to understand the selection state

The option can be switched individually

  • Resolves an issue with the light list that was difficult to see due to many options to display

Other

  • The display is a little lighter (source code has been revised)
  • “Items with no users” is now displayed in red
  • Renderability / fake user icons can now be set by dragging
  • name
    • It can be changed without having to open a dialog

Other changes

  • In the pop-up menu, “Rename new material with object name”, which was an option for index add-on settings, has been changed to one of the options for adding new materials
  • The menu of the add-on setting is organized in tab view
    • Warn about items being deleted when project is closed

Bug fixes

  • In ver2.0.0, fixed the problem that some operators of the image list did not work
  • Fixed an issue where executing “script.reload” disables all add-ons without reloading
  • Fixed an error that appeared in the console window at startup
  • Fixed an issue where the menu name was hidden when the sidebar was narrow in the menu
  • Fixed an issue where keymap changes could not be saved in add-on settings
  • Fixed an issue that could not be displayed if there is an empty slot in the slot mode of the pop-up menu
4 Likes

Hello,

How I can update to the newest version?
I have bought it couple of months ago.

This update is a free update.
Please view the purchased product page of the account you purchased from gumroad or Blender Market.

1 Like

Looks really useful, I’m so going to buy this addon for my next project. Is there a possibility to auto-assign different material Id for every material in the scene?

1 Like

Is there a possibility to auto-assign different material Id for every material in the scene?

OK, I will try it implementation.
but don’t expect too much :slightly_smiling_face:

1 Like

:heart_eyes: how could have I lived wihtout it !?
superb addon

2 Likes