Scene Material/Map Floater

38 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.
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!

Kstudio'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.

pokoy's picture

thanks for the answer. my

thanks for the answer.

my map looks like this: output > colorcorrect > bitmap, so that shouldn't be the problem.
however it is not nested in a material, but it's placed as a map in the slot. could this be a problem?

i'll do some testing when time allows it. sorry to bother you without giving you a proper report.

maknien's picture

.mcr didn't work for my max9

.mcr didn't work for my max9 sp2

First I tried the .ms file on the top of the page, and it works fine, but the DotNet version gave me all kinds of errors all the time. I might do you a proper report if needed.

One feature I would like to see:
When you search for a particular bitmap, it would select the bitmaps (not just highlighting), and then user could select all the objects using that bitmap at once with the 'Select' button lower left.

I'm not sure if this was ment to be the feature:
"- With Shift + Click findmap icon will be selected objects with found materials and Maps" ?

Kstudio's picture

Has just tested on 3dsmax

Has just tested on 3dsmax 2009x64 - all works. 

Lay out please a test scene at which there would be this error.

www.3d-kstudio.com

pokoy's picture

I get some errors on

I get some errors on starting the script:

- --Unable to convert: 'MAP_NAME':Output to type: Material

This is a bitmap nested within an 'Output' Map.

I also got some errors with the 'ColorCorrection' map type and several others... i'll have to take a closer look to make a proper bug report, i guess.

This happens with max2009 64bit, didn't test the 32bit version.

Unfortunately the script is unusable right now :-/

hongxu's picture

very useful script. Thank u

very useful script. Thank u very much

pokoy's picture

yay, thank you for posting

yay, thank you for posting this! i owe you a vodka or two, you don't mind if it's a polish one ;-) ???

Comment viewing options

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