I have a scene whee some of the materials have opacity map. The problem is the scene is too big for me to do it manually one by one.
Is there a script that can automate this?
Thanks in advance for any kind help
Forum topic · Scripts Wanted
By Ariff · 2013-07-16
I have a scene whee some of the materials have opacity map. The problem is the scene is too big for me to do it manually one by one.
Is there a script that can automate this?
Thanks in advance for any kind help
Comments (3)
Comment policy
Just tried with Standard and no Worky
Hey Barigazy...I'm baaaa-aaack. :)
Can't get this to work with standard mats. Listener reports OK not nothing happens in the scene.
mapped fn clearOpacityMax mats:(getclassinstances Standardmaterial) = if mats.count != 0 do
(
if opacityMap != undefined do
setProperty mats "opacityMap" undefined
)
clearOpacityMaps()
Basically I'm trying to reverse what this script did:
http://www.scriptspot.com/forums/3ds-max/scripts-wanted/diffuse-alpha-ch…
I ideally I would like it to work on scene or selected....is this possible ?
Max 2016 btw.
Hey buddy. How are you :)
Here we go
Now you have two solutions ei. options:
selected:on -- works on selected object materials
selected:off -- works on all materials
remove:on -- removes all opacity maps from slot
remove:off -- disable all opacity maps
I used here VRay material as example
For standard (default) material use [Standardmaterial] class and ["opacityMap"] property
#1 mapped fn solution
#2 simple fn solution