Isotropix Forums

From Maya to Clarisse via MaterialX

General discussion about the new Angie renderer

From Maya to Clarisse via MaterialX

Unread postby runabird36 » Mon Jun 27, 2022 7:44 am

Hi,

I did lookdev on Maya and export this with materialX. and then import the exported file(.mtlx) in clarisse.

At this moment, the error popup like image.

In this case,
Let me know the solution of this case?

How could i import the maya lookdev in clarisse with materialX?

Maya : 2020 ([arnold]-[Utilities]-[Export Selection to MaterialX])
Clarisse : 5.5

Error Message
[img]![1656310114](https://user-images.githubusercontent.c ... cbf23f.png)[/img]
runabird36
 
Posts: 2
Joined: Mon Mar 28, 2022 4:47 am

Re: From Maya to Clarisse via MaterialX

Unread postby dcourtois » Mon Jun 27, 2022 1:29 pm

Hi,

This validation error means it's not a valid MaterialX material. This error is generated by the MaterialX library itself.
My guess is that the .mtlx file generated by Maya contains outputs of a type A connected to inputs of type B.
Usually this happens if you try to connect a `color3` output to a `vector3` input (or vice versa)

To fix this, you'll need to find the offending connections (the errors lists the names of the nodes) and make sure that both ends of that connection have the same type (MaterialX provides conversion nodes to convert from a type to another)

For reference, MaterialX spec is strongly typed. Most DCCs allow automatic conversion, but the exported .mtlx file should *never* contain connections between 2 ports of a different type.
User avatar
dcourtois
 
Posts: 130
Joined: Tue Jul 25, 2017 3:15 pm

Re: From Maya to Clarisse via MaterialX

Unread postby runabird36 » Tue Jun 28, 2022 7:21 am

Thank you for your reply

Now, I get to know the reason that I failed to read mtlx which is exported from maya to clarisse.

If then, To do automatic conversion,

have you ever heard of any 'automatic conversion' of maya ?
or Do i have to find the offending connection case and develop the tool by python module of materialX ?
runabird36
 
Posts: 2
Joined: Mon Mar 28, 2022 4:47 am


Return to Angie