maya phong convert to mental ray shader script 1.1.1 for Maya (maya script)

convert script

Back to Bugs List Previous Next

Bugs

The scripts does not work for Maya 2013

Statuspending
Prioritymedium
Date02/27/2013
Submitted by sorcererapp sorcererapp
setAttr ($newMtl) -type double3 $tmpR $tmpG $tmpB;
this seems does not working in 2013
error: No attribute was specified.

connectAttr -f ($newMtl +".message $obj") ($SG[0] +".miMaterialShader"); connectAttr -f ($newMtl +".message $obj") ($SG[0] +".miPhotonShader"); connectAttr -f ($newMtl +".message $obj") ($SG[0] +".miShadowShader");
the  $newMtl +".message $obj is always not found in 2013, not sure if there is any problem in the variable or it is 2013 changes
error: The source attribute '???????_mia_material_x.message $obj' cannot be found. 

Post a comment:

Sign in