1. open up the mtiGen.mel script
2. go down about 4/5 of the way down to where it has the following :
Code: Select all
//Models
string $trans[] =`ls -s`;
for ($one in $trans) {
if (`objectType $one` == "mesh"){
string $sg[] = `listConnections -t shadingEngine $one`;
if ($sg[0] == "initialShadingGroup"){
$sg[0] = "lambert1";
}
string $amat[] = `listConnections $sg[0]`;
if ($amat[2] == "renderPartition"){
$amat[2] = $amat[3];
}
if ($amat[2] == "defaultShaderList1"){
$amat[2] = "lambert1";
}
float $inc[] = `getAttr ($amat[2]+".incandescence")`;
print($one + "/:con " + $amat[2]+"\r\n");
...more stuff here
Code: Select all
if ($amat[2] == "lightLinker1"){$amat[2] = $amat[4];}
Code: Select all
if ($amat[2] == "defaultShaderList1"){
$amat[2]="lambert1";
}
Code: Select all
if ($amat[2] == "defaultShaderList1"){
$amat[2]="lambert1";
}
if ($amat[2] == "lightLinker1"){$amat[2] = $amat[4];}
and yes, the icons are under development