Community
Arnold General Rendering Forum
abbrechen
Suchergebnisse werden angezeigt für 
Anzeigen  nur  | Stattdessen suchen nach 
Meintest du: 

arnold materialx bug?

3 ANTWORTEN 3
Antworten
Nachricht 1 von 4
xtvjxk123456
351 Aufrufe, 3 Antworten

arnold materialx bug?

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.

6486-snipaste-2020-03-27-16-25-09.jpg

diffuse_roughness is float in ass

6487-snipaste-2020-03-27-16-25-42.jpg

and diffuse_roughness is color3 in mtlx file


there is the ass file.

look_c.ass

Tags (1)
Beschriftungen (1)
3 ANTWORTEN 3
Nachricht 2 von 4
Stephen.Blair
als Antwort auf: xtvjxk123456

Yes, it comes out as color3 instead of float

But it still works when I apply the look with a MaterialX operator.



// Stephen Blair
// Arnold Renderer Support
Nachricht 3 von 4
xtvjxk123456
als Antwort auf: Stephen.Blair

make me difficult to learn matx coding.so,it is not a bug?

Nachricht 4 von 4
Stephen.Blair
als Antwort auf: xtvjxk123456

I don't know yet, I have to talk to the developer. Things are a little slower at the moment.



// Stephen Blair
// Arnold Renderer Support

Sie finden nicht, was Sie suchen? Fragen Sie die Community oder teilen Sie Ihr Wissen mit anderen.

In Foren veröffentlichen  

Autodesk Design & Make Report