Page 1 of 1

Script to automate MXM creation

Posted: Fri Mar 02, 2012 11:57 pm
by Gary
it would be great if you could point to a folder and have MXED auto generate MXM's from the image files within the folder.

For instance, I bought some of the Arroway textures. I would like to be able to point to a folder and say:

1. create materials with one layer and two bsdf's

2. set the layers at 80 & 20 weight

3. identify groups of textures that will be used for each MXM by defining the first 10 or so characters in the file names.

4. identify which files will fill which slots, for instance:

A. files that end in D.jpg go in slot Reflectance 0 on BSDF #1 & BSDF#2

B. files that end in R.jpg go in slot Roughness 0 on BSDF#2

5. identify values for settings not receiving textures

6. continue in this manner to fill all the desired slots and settings.

7. let the script run.

8. many MXM's are automatically created

The goal is not to get the perfect MXM but to automate the time consuming part and then let you go in and fine tune the MXM's.

Gary

Re: Script to automate MXM creation

Posted: Sat Mar 03, 2012 12:13 am
by Half Life
I've made thousands of MXM's at this point and every time I'm doing a set I wish for some form of automation in MXED +1!!

I would simplify this to simply tell the script to take textures in folder "1" and plug into slots "a" -- and textures in folder "2"
to plug into slots "b"... which seems more foolproof.

I don't need the scripts to do everything for me, but some automation would be a godsend.

Best,
Jason.

Re: Script to automate MXM creation

Posted: Sat Mar 03, 2012 2:02 pm
by Ha_Loe
If you are a Rhino/Grasshopper User, there soon will be.
http://www.food4rhino.com/project/scarab

upcoming release: texture slots and baking to mxm

Re: Script to automate MXM creation

Posted: Fri Mar 09, 2012 1:56 am
by Ha_Loe

Re: Script to automate MXM creation

Posted: Fri Mar 09, 2012 11:53 am
by Polyxo
Cool custom GUI-Elements! I'm curious how this all will work.

Re: Script to automate MXM creation

Posted: Fri May 04, 2012 6:20 pm
by deadalvs
script it with pyMaxwell. works .. :)

Re: Script to automate MXM creation

Posted: Sat May 05, 2012 11:58 pm
by Maximus3D
I haven't tried it myself yet but maybe the material converter by motiva can help..

http://www.motivacg.com/descargas_en.php

/ Magnus

Re: Script to automate MXM creation

Posted: Mon May 07, 2012 1:21 pm
by Half Life
I can also vouch for PyMaxwell -- it is astoundingly robust, and can batch create and batch edit MXMs... including pulling data from spreadsheets (in the form of CSV files).

I'm trying to learn more about Python in my spare time because this is a revolutionary tool for Maxwell users.

Best,
Jason.