ScriptSpot

Forum topic · Scripts Wanted

Load bitmaps into materials (standard or vray)

By pfbelesa · 2012-03-26

Description

Hi scripters friends!

Sorry for this dumm question.
But does anyone have a simple plugin to load bitmaps from a folder, then create a new material for the loaded bitmap ( one for each bitmap) putting the loaded bitmap into the diffuse slot only, then naming this new material after de name of the bitmap?

Is that many thins to ask, i dont know anything about scripting, but i think the logic of this script could be something like that

chose folder
reads the names of the files and store it.
make new material, get fist file of file list name, put into diffuse slot
get last loaded bitmap filename, place it into material name.
put recently created material into libray
start all over from step 2 , until all files are loaded.
ask to save new libray.

can anyone help me?

Comments (1)