batch material creation from image+alpha

Is any script where I can reate as many
materials I want just by selecting a series
of images and and a series of their alpha masks?

I mean I creat a standard material and assign
as diffuse map a jpg image and as opacity
map another jpg image.

How can I do this automatically with a script?
Means selecting 10 jpgs as diffuse maps, then
selecting other 10 jpg as opacity maps and then
3ds max automatically creates 10 standard materials...

thank you.

Comments

Comment viewing options

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

more funcionality please... :)

I am completely satisfied with the script.
But because I have more than 1000 jpg+masks (trees, people ecc)
that needs to be converted into materials:

a.
is possible to have the material the same name of the main image I load?
I mean if I load "house.jpg" and "house_alpha.jpg" then the material
will be named "house"

b.
because it takes much time to save them into a material library,
is possible that I put all of them together on a library and not
one by one?

thanks again.
Wich I could script....
You have the power in your hands knowing 3ds max scripting!
:)

Petros.

jos's picture

update

Sorry for the delay. Busy for the moment. Material name created from diffuse texture and possibility to save to material library. Actually dont know of this works because I have never used this.

AttachmentSize
creatematerials.ms 2.27 KB

Comment viewing options

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