我在Windows 10上使用maya从Three.js导出插件的Maya:https://github.com/mrdoob/three.js/tree/master/utils/exporters/maya
按说明安装。
尝试导出一个静态模型并遇到这些错误:
// Warning: file: C:/Users/andrew/Documents/maya/2016/scripts/ThreeJsExportScript.mel line 12: The -bs/-borderStyle flag is obsolete and should not be used. //
// Warning: file: C:/Users/andrew/Documents/maya/2016/scripts/ThreeJsExportScript.mel line 29: The -bs/-borderStyle flag is obsolete and should not be used. //
// Warning: file: C:/Users/andrew/Documents/maya/2016/scripts/ThreeJsExportScript.mel line 39: The -bs/-borderStyle flag is obsolete and should not be used. //
// Warning: file: C:/Users/andrew/Documents/maya/2016/scripts/ThreeJsExportScript.mel line 54: The -bs/-borderStyle flag is obsolete and should not be used. //
file -force -options "vertices faces normals uvs materials diffuseMaps specularMaps bumpMaps copyTexturesMaps bones 4 skeletalAnim " -typ "Three.js" -pr -es "C:/Users/andrew/Desktop/proj/exported_name.js";
exporting materials
// Error: line 0: AttributeError: file C:\Program Files\Autodesk\Maya2016\Python\lib\site-packages\pymel\core\nodetypes.py line 408: nt.Checker(u'defaultPolygonTexture') has no attribute or method named 'ftn' //
// Error: line 0: Could not save file "C:/Users/andrew/Desktop/proj/exported_name.js". //
有人遇到此错误吗?
答案 0 :(得分:0)
我正在遇到同样的问题,并在我搜索解决方案时找到了您的帖子。
到目前为止,我的简短回答是maya插件是废话。以下是我发现的一些可能更有用的具体内容:
这就是我所拥有的一切。我试图看看我是否可以改进玛雅出口商,但我不是Maya或Python的专家。