Community
when i export matx use api
# coding:utf-8 import arnold # arnold 6的api arnold.AiBegin() pp = r'C:\Users\Administrator\Desktop\look_c.ass' u = arnold.AiUniverse # 输出相应节点的数据 mesh = arnold.AiNodeLookUpByName(u, "/pHelix1/pHelixShape1") shader = arnold.AiNodeGetPtr(mesh, "shader") displace = arnold.AiNodeGetPtr(mesh, "disp_map") arnold.AiMaterialxWriteMaterial(r"D:\test_matx.mtlx", "ccc", surface=shader, displacement=displace) arnold.AiEnd()
i found test_matx.mtlx has some error.
diffuse_roughness is float in ass
and diffuse_roughness is color3 in mtlx file
there is the ass file.
Yes, it comes out as color3 instead of float
But it still works when I apply the look with a MaterialX operator.
I don't know yet, I have to talk to the developer. Things are a little slower at the moment.