Scene Material/Map Floater

13
votes
Version: 
0.30.27
Date Updated: 
04/29/2006

A Material/Map browser similar to the one found in max
- Able to FILTER Materials/Maps by class types

Additional Info: 

- Find Materials/Maps by name
- Show Material/Map instances
- Toggle viewport map display from the hierarchy
- Icons to represent Localized or UNC type filename paths for Bitmaps
- Material/Map Count
- Rename - show bitmap - open bitmap path in explorer

related thread @ www.cgtalk.com: http://forums.cgsociety.org/showthread.php?t=317640

Notes:
- On scenes using Particle Flow - you may need to run the Particle Flow cleanup utility first - this helps on reduced lag/crash with pflow nodes associatied with materials.
- Show Objects can be slow on large scenes - because each material will read through its dependents on the scene in order to get a list of objects.


Future updates:
- edit mode - select any number of items - and replaceinstance those with the active material or map from the editor.
- root materials only option
- highlight active from material editor/selected object
- display missing maps only
- options to customize highlight colors

Version Requirement: 
6

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Track's picture

Fixes. Now you can use

Fixes.
Now you can use "Rename" options for renaming Material or Texture map
and "Set path" for replacing Bitmap file.

georgiiiina's picture

hi, i have an error when i

hi, i have an error when i try to rename:
"array index must be positive number, got:undefined"

very useful thanks

georgiiiina's picture

i have an error when i try to

i have an error when i try to rename

LINE 19333
local val = MatMaps[the_index].getName()
--RUNTIME ERROR : array index must be positive number, got: undefined

very very usefull script, thanks

Jefferson Lim's picture

No prob! I updated the link,

No prob! I updated the link, and thanks again!

cheers!
jeff

Track's picture

Hi Jeff! Thank your for this

Hi Jeff!
Thank your for this script.
Very useful!
The past summer, I updated the site and link to download the changed.
This is a new link - http://3d-kstudio.com/?download=Material-SceneMaterialMapFloater - DotNet version

Jefferson Lim's picture

Hi Track! I never got to say

Hi Track! I never got to say "Thank You for updating the script!"

so.. Thank You very much for updating the script! :D

I'll update the post above to link to your file.

(I'm also planning to look into updating the class list, I think I remember manually writing down each and every material/map class by hand. This isn't good because newer classes won't appear in the list. Probably the best thing is to use the .classes property..)

thanks,
jeff

bragibjornson's picture

How about the ability to

How about the ability to select a material class? Id like to select all the Multi-Sub Objects in my scene. Can this script do that? If so, how? Thanks.

pokoy's picture

hi Track, i tried the new

hi Track,

i tried the new version and the error doesn't seem to occur anymore.
many many thanks!

Track's picture

Update. Fix find texturemaps

Update.
Fix find texturemaps by name.


 

http://3d-kstudio.com/?download=Material-SceneMaterialMapFloater - DotNet version

 

To Pokoy:
I have not received an error at creation the material.
Try on last version.
If the error repeats,  lay out please a test scene at which there would be this error.

www.3d-kstudio.com

pokoy's picture

hi track, i just took some

hi track,

i just took some time to chase the bug.

the error occurs when you place any map with submap slots directly in a material slot of the material editor AND assign a submap to it. Assign it then to the environmant slot for instance to make sure map floater will list it.

now, if you open the map floater it will throw out an error. if it does not - close it, open again or click on the maps available in the list.

if i use an output map with a submap the error is:
--Unable to convert: Map "MapName":Output to type: Material

ther is no error if there's no submap assigned.

i found out it does throw an error with the RGB multiply map too, so i guess it doesn't like any map in the material slot in general.

tell me if you need a better explanation.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.