Notifications
Clear all

[Closed] Material Lister Script

I dont think its possible to view a blend map in the viewports.

Yet another update…
[ul]
[li]All materials now have basic controls.[/li][li]Vray materials have a dropdown to choose map parameters (currently only reflection and refraction)[/li][li]Advanced mode not implimented yet.[/li][/ul] http://www.reformstudios.com/03-resources/MatLister/VRayMatList_0_33.ms

The parameters aren’t labelled yet, so, for the vray materials, from left to right :-

S – Select objects with material
A – Apply to selected objects
E – Edit material in editor
O – switch off material/maps in viewports
Colour swatch (diffuse)
> – edit diffuse map in editor
Diffuse map selector
Diffuse map amount spinner

Reflection colour
> – edit reflection map in editor
reflection map selector
reflection map amount spinner
reflection glossiness amount spinner
reflection glossiness subdivs spinner
Fresnel Checkbox
Include in Irradiance checkbutton
Depth spinner

Let me know how you get on.

A wee update for y’all.

I’ve fixed a few bugs, and set the default view to only show the vray materials in the scene.
Easy access to refraction and reflection values, maps, and toggles.

Please reply with any bugs or problems… or if you need any explanations of what the controllers do!

www.reformstudios.com/03-resources/MatLister/VRayMatList_0_36.ms

At the moment, its only the vray material that is supported fully(kind of), but feel free to have a look around at the others… I think some of the other map types might work too.

Cheers
Pat.

Some more improvements.

Interface simplified dramatically.
Filtering speeds up refresh rate.
Vray materials and maps now fully working. I will now be able to progress with getting the rest of the material types working. 

I think this is now useable and handy for vray users. Please download it and give it a go. Let me know if you come across any bugs, or if you have any suggestions on how to improve the interface. 

 http://www.reformstudios.com/03-resources/MatLister/VRayMatList_0_37.ms 

Also, if there are any maxscript guru’s out there, I’d REALLY appreciate it if you found a few minutes to look over my code to see if there are any improvements to be made. I have improved the comments, so it should make a little more sense than before!

Thanks!

Hi reForm,

I gave it a go on a large scene with closeley to 300 vray mats and it crashed on me. I think it either ran out of memory or it has to do with vray proxies…

On a smaller scene (109 materials and no proxies) worked fine.

Any chance you could add the raytrace material to the filters? And how do you see all the materials in the scene at one time?

Thanks,
Anton

Yea, I think I need someone to help me with memory management, as any large amounts of materials seems to crash max.
I’ve got another update to upload soon that limits the number of materials processed to only the ones in the filter which should speedup the script and make it more stable.

I’m not sure about adding the function to view all materials, as you are unlikely to need to compare parameters on different material types, and it would be dog slow to update with so many materials at once. I could add the function if enough people request it though.

So… does anyone have any advice about how to fix the bug that causes max to crash when too many materials are in the scene?

Download the latest version of this script here :-
www.reformstudios.com/03-resources/MatLister/VRayMatList_0_39.ms

Looks like a really handy tool, but the GUI is WAY too cluttered. Make a series of menus and dropdowns, and put more space between buttons, it’s too compressed, I think.

good luck
Gerd

Bogged, thanks for your feedback.
I’d love to make the GUI less cluttered, but I have to admit that I am struggling to work out how to make it clearer.

I dont think the GUI would work if you have more than one line per material… so with that in mind, I have to pack as much into each line as possible. If you’ve seen the latest version, for vray materials, I have limited the info per material to each sub-material class; ie you can choose between viewing the diffuse, reflection, refraction, bump, opacity, displacement, translucent, etc parameters. This is pretty much the limit to what I can display per line, without the line becoming too long. Even then, for the reflective properties, Its crammed in tight.

If you can think of a better method for organising the data, I’d be really grateful if you could knock up a GUI or photoshop something to illustrate your approach.

This is how the worst and best cases look; ie reflective and diffuse parameters, repectively.

Page 2 / 4