Materials Library

Hi.

This addon will create a material library for Blender.
This library will store all the materials you want and you can retrieve them at any file.

Matlib VX:
It supports everything, external renders, all node materials and textures…


Download link and install information

Please read the installation process at the web site.

Hope you like that.
Cya.

Thanks for all the work you put into coding add ons.

This one will be absolutely essential for all Blender users!

Definitely useful!
Two questions:

  1. Does it work only with the Blender Internal or also with external renderers? (Lux, Yafa, etc.)
  2. Do you plan to make also a preview of the materials in the Material library window? (This means that the window of Material library would not display the name of the material, but his outlook. Something like in MAX. For example: http://imageshack.us/photo/my-images/517/83532508.png/)

Have a lot of strength and motivation to finish it.

Yeah well, Im coding the ramps and textures first, and cleaning the xml. There are some ideas that i could try after that, material preview and a search menu will be some of them.

I didnt tested for external renderers, guess that doesnt work for now, but it could.

Thanks for the comments.

good idea
The preview is essential,
might work by selecting the name of the material, assign it to a fake user , to generate the preview in the usual slot

but already it is really useful

I didnt thought about that, good idea. Ill do that when i got the ramps and textures implemented. Now it just copies the material settings.

i don’t think having many previews is an optimal solution: it should calculate more and more as the library grows (as max used to do!).
Wouldn’t it be better to have little bitmaps created just once when you hit the + button? the problem then is ‘where do you store them?’
otherwise fernando’s solution could be good

great! i like this… it will put in my “essential” add-on folder.

I was thinking to provide a material library editor for my script random material generator GYES , but I see that you saved me the extra work. Thank you very much, this should be a blender standard add on. Excellent work.

I dont know why you use eval from line 139 to 210, could you explain the reason ? I think an int() would be much safer.

this is an absolute essential feature that has been needed for a long time. Thanks so much! I hope this ends up as a default add-on.

great work!

what about make a structure like a folder to organize the materials on categories?

Great work!

Love it, i’ve been intending to do this for a while too.

The materials are set internally to Blender so they should be translatable to external renderers just you would make them from other Blender standard materials.

On that note, I intended to incorporate a function to have some pre-sets similar to the list you get with external renderers. e.g. plastic, metal, glass, etc… (even if just taken from: http://en.wikibooks.org/wiki/Blender_3D:_Noob_to_Pro/Every_Material_Known_to_Man )

Preview, as said pre-make and only load and display one at a time to save memory and resources etc… (but have feature to not bother (i’d just remember))

Great work!

At this stage im including Blender’s textures to the library.
Theres a lot to do yet. Ill begin with the basic ones, like sorting the list or a proper search menu. Then i can study all your suggestions.

Thanks for the comments and ideas.

Ive released the second version of the script, it makes a full copy and apply of the material settings. No textures yet, but coming soon.
Im testing it on 2.57 so im not sure if will work on 2.58.
check it out.
Cheers

The third version of the script its already out.
It allows you to save procedural textures and images into the library.
Voxel and point density textures are not included yet.

It may raise any error, its not fully tested. If you have any problem please let me know.
Thanks.

o wow thats handy. well done.
+1 for radekt’s suggestion, an active preview for materials in the material library panel

Wow - thanks for coding this! A also opt for the bitmap preview!

A bitmap preview its gonna be hard, guess i can try, but at the moment applying the material to any object its the only way to make a preview.

The next version of the script will include full material features, and support for any external renderer.

Nodes will have to wait.

You guys are aware of the Blender Open Material Repository? Is has a script, probably outdated now, for integrating in the interface.

WOW no I did not know and thank for bringing this to my attention that could be very useful for my script.