View Full Version : Mia shader transfer

11 November 2009, 05:52 PM
Is there some workflow/script to transfer values between 3 different types of mia materials?



11 November 2009, 11:59 PM
Do you mean "types" as in "mia_material" vs. "mia_material_x"?

Or do you mean transfer values between 3 existing mia_material_x shaders?

11 November 2009, 01:54 AM
I mean "types" as in "mia_material" vs. "mia_material_x".
For example you decide to have a bump, or a pass, or back and forth depending on the need, when you need to change the type, but keep the values for material same.


11 November 2009, 02:18 AM
I've been looking for similar scripts/functions myself... Maybe this one will work with mia_materials too? I'm not in front of my computer, but I'll try it when I get home.

11 November 2009, 09:37 AM
string $selects[] = `ls -type "mi_car_paint_phen_x_passes"`;
string $select;
for ($select in $selects)
AEdoMiShaderConversion $select mi_car_paint_phen_x _;

This code is to convert mi_car_paint_phen_x_passes to mi_car_paint_phen_x.

Just change the code with your material (like mia_material to mia_material_x, or mia_material_x to mia_material, etc etc...all is working).

CGTalk Moderation
11 November 2009, 09:37 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.