Notifications
Clear all

[Closed] Material Lister Script

Well… I’m back with another update.

Interface changed a bit. Radio buttons to switch between material types, and to switch between sections within those materials … maybe not the best approach, but it seems to work pretty smoothly. Any suggestions for alternative UI will be considered!

The script now supports the folllowing material types

Blend
Matte/shadow
Shellac
Vray

There is a problem with one of the parameters in the matte/shadow editor. The reflection ‘additive reflection’ parameter is a checkbox in the max material editor; but the parameter isn’t boolean (it returns either 1 or 0), so I haven’t worked out how to get my checkbox working with an integer value rather than the boolean it expects. Does anyone have a solution to this problem?

Thats all for now.
Looks like I’ll have to make some big changes with the new max and vray releases… no that I’m complaining!

http://www.reformstudios.com/03-resources/MatLister/VRayMatList_0_40.ms

i get an error when running the script from a menu button:

– Cannot assign to read-only variable: VMap

any suggestions to fix that?

regards

Anselm

Hmm… I have the same problem.

I’ve no idea why the script is treated differently when run from a menu button. Can any scripters out there give any possible reasons why this should happen? Do I need to define variables/structs in a different way when running the script from a menu item?

In the meantime, I’m afraid you’ll have to make do with either a keyboard shortcut, or a toolbar icon.

Thanks for the feedback Anselm.

tried it with a shortcut…get the same error

HI,

Don’t get that error here (either from menu, or toolbar icon)

Zbuffer you genius!

Thanks for that … did you notice that I’d names some spinner return values as the same name as a function?

Anyway, I think thats it fixed.

Download here:
http://www.reformstudios.com/03-resources/MatLister/VRayMatList_0_42.ms

There’s some more parameters added to that version too.

Not Found

The requested URL /03-res…MatList_0_42.ms was not found on this server.

is says

[edit] > copied an old URL and changed the version number…download worked…but still get the VMap error

Ah sorry about that!

What version of max and vray are you running?

here at black mountain vfx we run max 8 with vray 1.47.03 should be nothing fancy i guess…

hopefully you get rid og the problem with the VMap because i see great potential in your script! i really would like to test it and integrate it in our production pipeline for the shading artists.

cheers

anselm

Ok, I’ve stripped out the offending piece of code.
Can you see if it works now?

http://www.reformstudios.com/03-resources/MatLister/VRayMatList_0_43.ms

Page 3 / 4