I would like to make an add-on that shows a list of material preview images, and when you click on an image it creates a node tree for that material.
I would like this to be a new side panel in the Node Editor (like a Tools Shelf for the Node Editor). The problem is two fold:
-> I don’t know how to make a new side panel;
-> I don’t know how to show a button as an image;
Can I have some help with this, I will give credit to whoever gives the answer.