ScriptSpot

Script

Material ID Organizer

By pixamoon · Credited author: Pixamoon · 2014-12-05

Version
v1.39.00
Date updated
2021-10-22
Votes
39
Download
Download
Description

New:
 - added support for Corona 7 materials
 - added support for 0 - 65535 Mateiral IDs (3ds max 2018, 2019 and up)
 - Include not used materials in scene - from SME or Material Editor
 - fixed Select / Filter form Material Editors - SME and Material Editor

 - save settings on dialog close + size and position
 - select / filter from SME and Material Editoe in one button now
 - select / filter from multiple materials in SME

 - fixed red button highlights - for selected IDs



 

It will let you quickly organize Mat IDs and VRay Effect ID in the scene and create MultiMatteElelemnts:

- Sort materials list by Name, ID, Type or Material Editor Slot
- Multiselect and change ID
- Reset all MatID to 0 (select all -> press 0 button)
- Select on list by ID (switch "change" -> "select" or "add to select")
- Select materials by scene objects
- Add / Delete MuliMatteElements
- Highlight Buttons of used MatIDs Vray Effect IDs

___________________________________________________________________________________________

New:
v1.39
 - added support for new Corona 7 materials (owerride ID in: _CoronaPhysicalMtl, CoronaLegacyMtl, CoronaLightMtl)
 - added 'Add name prefix: #' (in Add to Render Elements window) - to make masks automatically in Pulze Post Manager

v1.38
- fixed support for older 3ds max versions (2015 and lower)
- fixed update of the preview list when entering the Base name in Add to Render Elements window

v1.37
- new 'A/S' button to Assign / Select
  - Left-Click  - Assign
  - Right-Click - Select
- new "Multi" (CheckButton) to enable Multi - Assign / Select option
- new 'U' Unique Assign (check-button)
- new 'R' Random Assign (check-button)
- new '-' and '+' buttons to shift selected IDs by +1 or -1
- new 'Sub-Mtls' check-button to show all sub-Materials tree (Multi/Sub-Object material, Vray Blend etc)
- new XRef-Src check-button to list sub-Mtls from XRef Materials
  - show on list with other (dark green) background color
  - collect used IDs   - for Render Elements
  - collect used names - for Render Elements
 
- radio buttons Include:'ME' 'SME' converted to 'ME','SME' check-buttons
- new 'Scene' check-button to include (show on list) scene materials - when off show only materials from Material Editors
- Right-Click 'ME' or 'SME' buttons to quick switch between Compact and Slave Material Editor

- new 'Materials' button to select in Material Editor
- new 'Objects' button to select objects by selected materials
- fixed: Select objects by material

- new options in Add to Render Elements:
  - Include names - include material names in element name
  - Mono mask - create black and white mask for each ID
  - Red Mask Only - create mono as red mask for each ID
  - Save Log
    - Left-Click  - to Save Log - IDs list with material names
    - Right-Click - open log file (if saved already)
    - it saves it as txt file in same location as max file
   
- fixed flickering while resizing / scrolling
- changed list colors (header, selection etc)
  - not-focused selection is more visible now - specially in 3ds max with Light theme

- added possibility to deactivate and move license to new workstation (Deactivate in right-click menu)
- added possibility to automatically activate license on first start without user interaction
  - solution for offices with multiple licenses - specially when script started from network location
  - it require additional 'activation-data.ini' file to be placed in same folder as .mse script file
    [activation]
    email= purchase email
    hide_email=1
    auto_start=1
  - to request 'activation-data.ini' file or for more info - ask me by email

v1.36
 - added support for max 2018, 2019 and up - supports 0 - 65535 Mateiral IDs
v1.34.01
 - fixed error with Corona materials
 - fixed error with VraySky and other maps loaded to Envirement slot
v1.32
 - checkboxes: include materials from SME or Material Editor (to show materials not used  in scene)
 - fixed Select / Filter form material editors (SME and Material Editor)
v1.30
 - save settings on dialog close
 - fixed Red button hightlight for IDs higher than 49
 - more options in Add to MultiMatte
    - start from 0 or 1 - ( include 0 toggle)
    - include empty IDs
    - add only new IDs
 - Select / Filter from multiple materials in SME
 - Select / Filter from Material Editor and SME in one button now
v1.28:
 - Red button highlights - for selected IDs - same as in Object ID Organizer
 - faster list load and sort
 - new toolbar icon for light and dark color scheme
v1.26:
 - Support for Corona G-Buffer ID and CMultiMatte
 - fixed activation error on second start
v1.23:
 - Filter - show materials from selected only (MatEditor, SME or Objects)
 - "A" buttons :
    - Automatic Select from... MatEditor, SME or Objects
    - Automatic Filter from... MatEditor, SME or Objects
v1.15
  - added support for more than 15 MatIDs - requires EffectsChannelEx plugin from Pavel Kuznetsov
  - more ID buttons - with scroll - up to 149 ID
  - switch to use same buttons for Matetial ID Channel or VRay ID Effect Channel
  - ID spinner with Asign and Select Button
  - select material from active SME
v1.00
- Add / Delete MuliMatteElements
   + custom naming
   + preview of names
   + save base name and basic settings
v0.10:
- focus to new selection when right click on ID buttons
- keyboard shortcuts: Ctrl+A, Ctrl+D, Ctrl+I (select all, deselect, invert selection)
- fixed Refresh All
v0.07
- Multiselect and change VRay Effect ID
- Right click on buttons - select by ID, Object or MatEditor active slot
- Right click + Ctrl on on buttons - add to selection - select by ID, Object or MatEditor active slot
____________________________________________________________________________________________

Coming soon:
- Preview of old MultiMatteElments ( just idea, let me know if you need it )
____________________________________________________________________________________________

Columns:
- mID - Material Effect Chanel ID - 0,1,2,3,4,5,.. 65535 in 2018, 2019 and up
    and up to 255 in max 2017 and lower with EffectsChannelEx by Pavel Kuznetsov
- vcOr - Vray / Corona - Override Material ID - On, Off, --
- vcID - Vray Mtl Effect ID / Corona Mtl G-Buffer ID - 0,1,2,3,4,5,.....9999
- Name - Material name (if Multisub material with submaterial naming structure - see below)
- Type - Type of material
- ME - position in Material Editor

____________________________________________________________________________________________

Right click menu:
- Turn On/Off  VRay Override material effect (VrayMtl / CoronaMtl)
- Mutli/Sub Display -> 3 different ways to display Multi/Sub Materials structure
                                                1. MultiSub name -> ID# -> SubMaterial name
                                                2. < ID# > SubMaterial name -> MultiSub name
                                                3.  SubMaterial name <- ID# <- MultiSub name
- Refresh all
- About

______________________________________________________________________________________________

How to Use:
- It's a script only so simply drag and drop to 3ds max.
- To change ID -> Select materials -> choose "change" mode -> Left click on ID button to apply new ID
- To select materials with specific ID -> Right click on ID button
- Add to selection -> Hold Ctrl and Right click on ID button
- To reset all to ID 0 -> select all -> Left click 0 button
- If Material Editor is open and you can check "Autoupdate Material Editor" every change, but it can slow down the process
______________________________________________________________________________________________

Note:
Demo / test version does not support Multi/Sub Materials
______________________________________________________________________________________________


Full version available on my web:
www.pixamoon.com/product-page/material-id-organizer

______________________________________________________________________________________________
Let me know what you think
Pixamoon

 


 


 


 

Tags: material materials editor list mask masks mat id matid vray effect corona on off channel multimatteelement multi matte element ismatid organizer manager

Comments (30)

very helpful

fedemas1969 · 2021-04-28

this one and the object ids script are great help when preparing the masks for post. Thanks!

todor · 2021-02-22

It looks great !

Theobarbosa · 2020-03-19

Whats the difference: Material ID organizer and Object ID Organizer. I need to adjust both at same time

re: whats the diffrence

pixamoon · 2020-03-23

I think the main difference is explained by script names:

Object ID Organizer - to organize Object Buffer IDs
Material ID Organizer - to organize Material Channel IDs

Both can create Render Elements to render out those IDs as RGB or Mono masks

The rest are small differences in functionality depend what is helping to work with scene materials or objects IDs

Re: adjust both at same time:
I'm not sure how you want to adjust both at the same time? Can you explain bit more?

Every object have 1 buffer ID but can have multiple Material IDs (eg with Multi-Sub Material)

Show in Material Editor

usmansabih · 2019-07-02

The show in material editor option is not working for me on 3dsmax 2019. I am selecting only one material > right click > show in material editor, and nothing happens.

Also is there a possibility of adding the option of dragging the material from this script onto the slate material as instance or copy.

re: Show in Material Editor

pixamoon · 2020-03-23

Will fix it in new update

Doesnt work with ref workflow as Object ID Organiser

beagle · 2018-02-08

The script is great, but doesnt work with ref files.
same as Object ID Organiser.

Re: Xrefs

pixamoon · 2018-02-08

Yes, I'll add this option in next version.

Just to see IDs from XRef Materials and add them to MultiMattElement - but not to change them in XRef file.

Best,
Pixamoon

sent

pixamoon · 2018-02-01

All sent,

Best,
Pixamoon

3q

wang_____yun · 2018-01-25

ok.i have pay for it.i can't wait to use it!

help

wang_____yun · 2018-01-25

Hi Alex,
I want to buy a full version of the script,but many times i can`t pay for the order!Can you
send it to my Emial: Circleivens@gmail.com! Thank you vray much!I really want to use it !

`

pixamoon · 2018-01-25

Hi,

There are sometimes problem with browsers or antivirus software which blocks paypal on my web. Please try to use it on different computer or add exception to antyvirus.

I can also send paypal invoice.

Best,

Need spinner & extra functions

Stetz.Anton · 2015-06-01

Hi Pixamoon!
Thanks for your work!
Can you add spinners to MatID Ch & to VrayEffectID?
With free plugin EffectsChannelEx from lastjedioutpost_ru we have more than 15 matID. Maybe you can add functions for this ID's too?
And would be cool if you add some features for objID, like "add", "random add", "random but one ID for instances".
Thanks!

re: spinner

pixamoon · 2015-06-01

hmm, yes I can add spinner but I thought buttons are faster and easier than spinner
Buttons work as select and apply ID. Why do you need spinner ?

Support for more than 15 MatIDs - yes I'll add this in next version.
It will require to download EffectsChannelEx plugin from http://lastjedioutpost.ru/?l=en&p=effectschannelex

How many MatID do you use, what should be the maximum button no ?

Stetz.Anton · 2015-06-02

I usually use about 30 matID's, but sometimes use ID above 100 (like 101, 102,103 for best organize scene masks, if scene has xRef scene link). Vray override ID & matID don't work correct together. Therefore, you can separate them by using radiobutton or something like this. Button is more clear, than spinner. You can look some features & ideas from script EffectChannelSet by Alex Kramer and add to your product. Would be cool if your script works with Compact & Slate ME )

matID

pixamoon · 2015-06-03

hmm, oki, I can add spinner but also switch +100, so all buttons will work as 100, 101, 102... ans so on. What you think ?

Vray override ID & matID don't work correct together -- I can add an option so when you apply one of those other will be reset to 0. Is that what you mean ?

I'll try to add support for Slate ME (but is bit more difficult to get selected materials from there - it will work only if you have unique material names)
But definitely will be added in next versions.

Thanks again for great suggestions !

comments

Stetz.Anton · 2015-06-03

i see it like this (picture in attach)

In settings we can chose how much ID's buttons we need
MatID Ch by default have 15 active buttons, and if we install plugin - activate others.
About SME - i think we can operate with this function sme.GetMtlInParamEditor()
Node must be not only select, but active in parametr editor too (double click on node).

Attachments

:)

pixamoon · 2015-06-03

haha, thanks, great ideas,

-I'll try to add scroll - good idea. Need to enlarge buttons for 3 digits too (that's why I thought about +100 button so buttons are still 0,1,2 but with +100 they mean 100,101,102 etc)

-SME - to get active (double clicked) mat from SME its easy, but I was thinking to add option to get multiple selected from SME - similar way to my post here:
http://www.scriptspot.com/forums/3ds-max/general-scripting/slate-materia…
than you need unique names...

-for objects IDs - I think it should be another script with list of objects to sort (by id, name) and apply IDs. I just wonder if this will be fast with large scenes (because new Select by name list can get very slow)
I'll see if its easy to add Object Ids here or to do another script.

Thanks again
Pixamoon

Great Script

micky1111 · 2015-03-24

Can i have the Full Version Please. :-) My Email: micky1110@walla.co.il

Thanks

pixamoon · 2015-03-26

thanks :) Script sent.
Cheers

Perfect

Alex_H · 2015-02-21

thank you very much

coming soon

pixamoon · 2015-02-28

Hey guys,
Which functions from "coming soon" do you need first ?

I'm trying to find time for all scripts but I want to finish what is more important first, since many of you bought it already.

Let me know.

MatID

pixamoon · 2015-03-13

@TitusLVR

Hi Titus,

Thanks for comment on turbosquid.
But I can't find your contact info to send you full version.

Please send me your e-mail here or to pixamoon@gmail.com. So I can send you current full version to test.

Cheers,
Pixamoon

how to update

Alex_H · 2015-02-21

Hello,
I have bought a full version on turbosquid and got a 0.06 version.
How can I update to the new 0.10 ?

Thank you
Kind regards
Alex

ehance · 2015-02-02

Looks Fantastic Pixamoon, can't wait to give it a spin!

pixamoon · 2015-02-02

Many thanks :)

vray effect id

themaxxer · 2014-12-10

looks great, but it would be even better if it would work with vray effect id too.

best regards
themaxxer

Re: vray effect id

pixamoon · 2014-12-10

Thanks,

Great idea, I'll add new column with VRay Effect ID. And switch for buttons. Or new set of buttons ?)
How many Id buttons would you suggest ? 30 should be enough ?

Cheers,

Ready for Vray effect Id

pixamoon · 2015-01-31

Ready to change Vray effect Id now,