ScriptSpot

Script

SMES - Super Material Editor Switcher

By Marco Brunetta · 2010-01-28

Version
8550
Version requirement
Max 9 and up
Date updated
2010-02-07
Votes
47
Description

 

Having a way to compensate for the (stupid) 24 material limit in 3D Studio is always a big request, so here's a script to do just that.

 

The script lets you create material "pages" each having 24 materials. You can then easily switch around the pages, which will bring the materials in the selected page to the Material Editor. Additionally you can rename pages and materials directly from the script and a simple search feature is included. The little dropdown control at the top will let you choose the kind of shader to use when creating a new page. I only included the ones I needed, if you need another one feel free to modify the code or ask below.

 

The material pages will be saved along with the file and they can be retrieved by launching the script again. Feel free to modify as needed and message me if there are any problems. Use at your own discretion =P.

 

After running the script you will find it under the "Medit Tools" category in Customize>Customize User Interface...

 

Special thanks to Grant Warwick for the help/testing/ideas/kumquats. Check out his works, there are some wicked cool renders there: http://sathe.cgsociety.org/gallery/

 

DOWNLOAD: http://www.scriptspot.com/files/Super_MatEditor_Switcher_8550.mcr

Additional Info

 

*******

UPDATES

*******

 

-VERSION 8550

FIXED: small bugs

 

-VERSION 8500

ADDED: delete page button.

CHANGED: the rollout can now be resized horizontally too.

CHANGED: the controls use 3D Studio's colors for window and window text

Attachments

Tags: Material, Material Editor, materials, SMES, MatEd

Comments (19)

rs3d · 2017-04-19

Too bad this is still not fixed, any alternative to have access to more slots in Classic Material Editor?

asymptote · 2015-01-26

I forgot this didn't work, just spent 3 hours setting up materials and on reload they were trashed by the "unknown property" bug.

Any chance this can get fixed ? It's much quicker than using slate.

Great Script

Kurai · 2014-11-22

Really like this script. Very useful.

But... like everyone else... I get an error message when using maps which also deletes all my previous Material tabs.

This script has so much potential. Really hope you fix the bug :)

asymptote · 2013-05-04

Are there any plans to update this ? I'm still getting errors and problems.

thx

Maps Bug

rs3d · 2013-04-11

The Maps Bug posted by @Wilbert is dramatic sometimes... Might Marco or somebody else take a look?

SMES is having troubles saving Maps from Slots, but works smoothly with Materials...

asymptote · 2012-07-14

After weeks of no problems i now get this error, is it fixable ?

 

thx

 

Maps bug

Wilbert · 2012-01-18

Great script!

But could you please fix the maps bug ? It's an error that doesn't come up right away but after you've been working and switching for a while.

BJFisher7 · 2011-02-18

I use alot of materials so this is very useful, thankyou!

Errors!

pytemp · 2011-02-10

This script is so great! Love it... but everything turn to the contrast. Need to be more update! This script works fine with saving material. but most of the MAPS (for exp: which I drag from image environment) doesn't seem to work.... It can't save anymore... :(

cecofuli · 2010-11-23

Forse ho trovato il bug. Quando carico un file di preset di renderer e il tuo script è attivo in viewport, cioè "se lo vedo", il tuo script va in palla. Devo quindi stare attento a non salvare il file e successivamente riavviare max. Altirmenti se salvo, poi perdo tutto. Se carico i preset quando il tuo script non è attivo, allora no succede nulla. Verificato e riproducibile :)
Puoi fare qualche cosa? Thanks :D

cecofuli · 2010-11-23

Ciao Marco,
qualche volta mi capita che, aprendo una scena con due "sottogruppi", dopo aver salvato il file e riaperto, anche se nel nell'interfacci generale ho sue "sottogruppi" (quelli espandibili con il "+"), all'interno ho, in entrambi, i materiali del primo.
Spero di essermi spiegato bene :)

peprgb · 2010-02-08

You are welcome!!, all it's fine now...thanks

Cheers

peprgb · 2010-02-05

Hi Marco, another great tool from you, onlye one thing, after installed i'm getting this error [attached image] each time i open your (nice) MatManager and/or each 10-15 minutes without doing nothing special...

Thanks, best regards

Marco Brunetta · 2010-02-06

Hum that's odd, seems to be working fine here. Any chance you could send me the scene for me to have a look?

Marco Brunetta · 2010-02-07

Thanks for the email, I've uploaded the fixed version.

Marco Brunetta · 2010-01-29

Thanks guys. Let me know if there are any problems, it's my first time using Custom Attributes, so I might have fumbled somewhere.

48design · 2010-01-29

That's great! :o)

Anubis · 2010-01-29

Hey Marco, you're a real enthusiast to take time for such a script, but you definitely will make glad all people asking for more than 24 materials.

cheers

Michele71 · 2010-01-29

Great Script Marco! Is a very useful :)