ZBrushCentral

Mat Slots : finished plugin

header.jpg

I’ve wanted something like this for a while and the release of the wonderful Material Pack2 prompted me to sort out the thing and release it. Pressing the button shows the 75 material slots with the materials listed by name. Materials that have been used on the canvas are shown highlighted.

Mat Slots will enable you to:

:large_orange_diamond: Keep a tab on your materials by name.
:large_orange_diamond: See at a glance which materials you’ve used on the canvas.
:large_orange_diamond: Quickly locate an unused material slot before loading a material from disk (such as from the MaterialPack2).

INSTALLATION:
Unzip the zip file to your ZStartup\ZPlugs folder (…\ZBrush2\ZStartUp\ZPlugs).
You may need to create the ZPlugs folder if you have a new installation of ZBrush.
Restart ZBrush and you will find a new button “Mat Slots” in the Materials palette. You can Ctrl+drag the button to where you want and store the setting (Ctrl+Shift+I).

UPDATE: revised version which should work fine on Mac and PC.

I hope you find MatSlots useful.

Attachments

grab.jpg

oh cool…Thanks Marcus!!!

You are gonna have to slow down just a tad…can’t keep the links page updated that fast:D.

it’s been raining goodies around here lately…I like it!!:cool:

:+1: :+1: :+1: :+1: TOP BANNANA :+1: :+1: :+1: :+1:

thanks marcus for another great plugin:+1:

Oh man … that is sooo useful. Thank you!

Thanks so much :+1:

Thanks MC for the plugin, however I am not sure if I am using this or even installed it correctly.
Seems to have installed ok and the button appears as described, when I click it to see materials it takes 2minutes 27 seconds to finish the scan for materials, just wondered if thats correct.
btw I am running it on my IMac G5 1.8mhz with 1.25gb ram havent had time yet to try it on my intel system.

Maybe I have gone wrong somewhere.

Bill

Thanks for the comments guys. Much appreciated. :slight_smile:

Hi Bill,
Thanks for the info. If the button is there it should be installed OK. The scan should only take half a second or so, so something isn’t working as it should (zscripts can be like that! :frowning: ). Try out the update I’ve posted at the start of the thread (rev.B). I’ve taken out a bit of code that hid the Material window while scanning. I think this should scan OK on Mac and PCs. Let me know how you get on.

Cheers,

Just 47 seconds with rev b, also I can actually seen it opening the materials menu and scanning thru it. However it is still really slow. This is on the Mac however and maybe completely different on the PC.

Hope that helps some MC I hate it when I bring sad news.

Bill

Hmm, that’s no good. :confused: Sorry about that. I don’t have any problems on a PC. I can’t take out any other code or it won’t work at all. I’ll have another look tomorrow in case I can swap something around.

Absolutely handy, Thanks a bunch.

I’m wondering if it is possible willog has Show Actions set to on?

I hate you Digits :slight_smile:

Don’t you just hate it when something like that happens?

No just kidding Digits mate, as you got it in one, stupid me had ‘Show Actions’ on and now when I run MatSlots it takes just 5 seconds.

Sorry Marcus mate I really need to take another vacation or something like that.

Thanks both for your kind help

Bill

Thanks pal, the script was supposed to be switching off ShowActions using [IShowActions,0] at the start but it wasn’t working for some reason. Thanks for picking that up. I’ve updated the file with the code in the button and it seems to work fine now.

If anybody else is trying to use this on the Mac and having problems please let me know.

Marcus: I think I love you, buddy! Well, I like your work a lot…:lol: Thank You,
This is JUST what I’ve been looking for…

Dickie

All works fine now Marcus, just tried the revised plugin at the top of this thread and works fine automatically turning off ‘Show Actions’

Thanks again

Bill

Dickie,
Thanks, it’s great to know you care and the feeling’s entirely mutual. :wink:

Bill,
Wonderful - and thanks for helping me sort this out. :slight_smile:

Extremely useful Marcus, and thanks yet again for all your hard work:+1:small_orange_diamond:+1:

Chris

yeah this is cool little plugin…

am wondering if you could somehow combine this with Svengali’s matsaver script to save out for later use and of course be able to recall it either by doc or something.

not a big deal really just a passing thought.

ok I am off to update my links again!:D:rolleyes:

Thanks for the cool plugin mat-slot Marcus, much easier keeping track.

MrMoe

Hi Marcus,

I’d forgotten about this plugin… it was one that didn’t get installed again when I changed to a new machine this summer. Having installed it just now, I was looking at it thinking it might help track usage if each material name was preceeded with its slot number:

example:

00-Flat Color
01-FastShader
02-BasicMaterial
03-BasicMaterial2
04-ToyPlastic
05-ReflectedMap
etc.

Just a thought if you ever get around to updating it (maybe you’ll have to for 2.5??) Anyway, thaniks again for another useful script!

Sven