关于Arnold渲染器batch render秒渲失败的问题,打开我的文档下maya里面的mayaRenderLog.txt,显示内容如下。
Cannot open renderer description file "arnoldRenderer.xml"
这种情况在使用远程插件的时候很常见,解决方法如下。
1、为系统全局变量path 添加maya安装目录下的bin路径。
2、将arnold 安装目录中的arnoldRenderer.xml文件拷贝到maya的安装目录下的bin/rendererDesc 目录中。
然后,重启maya后就可以了(虽然我刚才没重启也能用)。
今天内容有点少啊,下面再放点常用的mel命令吧。
解决渲染设置窗口异常的mel:
deleteUI unifiedRenderGlobalsWindow; buildNewSceneUI;

就是用来解决上图这样渲染设置窗口内容丢失的bug。
修复无法切换渲染层的命令:
fixRenderLayerOutAdjustmentErrors;
清理未知节点(旧版本不支持)
import pymel.core as pm unknownPlugin_list = pm.unknownPlugin( query=True, list=True ) unknownPlugin_num = len(unknownPlugin_list) if unknownPlugin_list: print u"unknownPlugin个数为%s" % unknownPlugin_num for plugin_name in unknownPlugin_list: try: pm.unknownPlugin( plugin_name, remove=True ) except Exception as e: print e print plugin_name, u"无法清理" print u"清理完成!" else: print u"unknownPlugin个数为0,不需要清理"
可遇不可求的事,
后海有树的院子,
夏代有工的玉,
此时此刻的云,
二十来岁的你。
《可遇不可求的事》
——冯唐
评论
265152 338913really good put up, i actually really like this web site, maintain on it 793207
296517 374221This really is a very good topic to talk about. Sometimes I fav stuff like this on Redit. I dont think this would be the top to submit though. Ill take a appear about your web site though and submit something else. 704167
598934 906539Id should verify with you here. Which isnt something I often do! I take pleasure in reading a post that may make people feel. In addition, thanks for permitting me to comment! 297030
899350 865340I gotta bookmark this website it seems really beneficial . 106440