Creat Vraymtl from script texture with variables ( Diffuse, glossy, ref, bump )

Creat Vraymtl from script texture with variables ( Diffuse, glossy, ref, bump )

Anonymous
Not applicable
523 Views
0 Replies
Message 1 of 1

Creat Vraymtl from script texture with variables ( Diffuse, glossy, ref, bump )

Anonymous
Not applicable

Hi Everyone,

 

I am tying to learn something about max Script and Pyton, and I am trying to create a code to make an automatic library material from a folders of textures.

I found some codes like this:

https://forums.autodesk.com/t5/3ds-max-programming/script-to-batch-import-bitmaps-and-create-materia...

After fight some hours with this code I couldn't get any result (I am beginner in scripting), is anyone can help me to create some code?

 

I make a sample of Vray Mtl with Diffuse bitmap, Reflect bitmap, Glossy Bitmap, Normal bitmap and bump bitmap.

I would like to create a script to make this operation 1000 times and create a different collections of materials.

 

Also I guess is possible create a variable to detect inside to the texture file name a pattern of words to select the correct texture for each material.

("..Leather01.._d..")

("..Leather01.._r..")

("..Leather01.._g..")

("..Leather01.._n..")

 

Do you think is possible?

 

Thanks

 

 

0 Likes
524 Views
0 Replies
Replies (0)