Hey is there anyway to batch import several texture maps and create separate materials for each map? I do a good bit of products on shelves which requires creating many mapped materials. I have used scripts before in another program that allowed this. Thanks!
Announcement
Collapse
No announcement yet.
Batch import texture maps to materials
Collapse
X
-
Batch import texture maps to materials
Let there B3D
Steven Houtzager
Intuitionusa.com
3D Renderings & Animations for Product Development and Retail Design - Atlanta, GA -
Nada scripting, sorry.Let there B3D
Steven Houtzager
Intuitionusa.com
3D Renderings & Animations for Product Development and Retail Design - Atlanta, GA
Comment
-
Attached is a quick and dirty Python script to open a folder an jpegs and duplicate the default material with each jpeg in the folder in the diffuse.
folderImport.zip
In order to get this to work.
Delete DefaultMaterial.
Open Attached DefaultMaterial.vrmat
Run the command RunPythonScript, and select the folderImport.py
Select folder full of jpegs
You should see a bunch of new materials named DefaultMaterial1 throught NBest regards,
Matt Newberg
Software Developer
Chaos Group
Comment
-
Wow that works fairly well! Thanks. It places all of the jpegs but they don't all render out for some reason. Have to reload them. This saves me time!!
update. I tried a new folder of jpegs and all of them preview just fine..... maybe because my jpegs were created on a Mac.
update 2. Ok Ok, I need to keep the folder with "just" jpegs and it works FINE!!Last edited by SHoutzager; 03-04-2015, 07:25 AM.Let there B3D
Steven Houtzager
Intuitionusa.com
3D Renderings & Animations for Product Development and Retail Design - Atlanta, GA
Comment
Comment