- Tue Jun 01, 2010 11:42 am
#324484
I've looked at some of the objects which have lost their Maxwell shaders and it looks like regular Maya shaders have been assigned to them in the animation scene. For example, take "bodyparts_26Shape", which is a trapezoidal thingy on top of the vehicle, behind the hatch. In the original file it uses a Maxwell material called "Bare_Metal_02". However, in the animation scene, the material is overridden with a Blinn shader. If you go to File -> List Reference Edits in the reference editor, and filter with the string "bodyparts_26Shape", you will see an explicit override to "roy_rig:etb_roy_bodyparts7_map", which is the Blinn shader.
If you select the override in the reference editor, hit "Remove Selected Edits", save the scene and reopen it, the Maxwell material will be back. Please note that you must save and reload, Maya thinks the object doesn't have a material until you do that (that's one of the many problems with references in Maya).
I don't think this has anything to do with the plug-in, those shaders have been explicitly assigned, and removing them is a pain with Maya's reference tools. You could write a script which removes all the material overrides from the animation scene, but it's not trivial.