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

Can MaterialX file store uv data of mesh for assigning uv when rendering?

4 ANTWORTEN 4
Antworten
Nachricht 1 von 5
Anonymous
339 Aufrufe, 4 Antworten

Can MaterialX file store uv data of mesh for assigning uv when rendering?

I tried to export mesh's uv data into a mtlx, but it doesn't work. Then I tried to add some code in a mltx, posted below, for assigning uv data manually, unluckily it still doesn't work. Is something wrong here, or Does Arnold's materialX operator not supoort this feature yet?


<geominfo name="gi5" geom="/group1/pCube1/pCubeShape1" >
<geomprop name="uvlist" value="1.375,0, 1.625,0, 1.375,0.25, 1.625,0.25, 1.375,0.5, 1.625,0.5, 1.375,0.75, 1.625,0.75, 1.375,1, 1.625,1, 1.875,0, 1.875,0.25, 1.125,0, 1.125,0.25" type="vector2array" />
</geominfo>

4 ANTWORTEN 4
Nachricht 2 von 5
madsd
als Antwort auf: Anonymous

Why not just write some osl code you inject into the .mtlx file to maintain and do whatever you want with the UV there?

Nachricht 3 von 5
Anonymous
als Antwort auf: madsd

Thank you for this enlightening clue. Where can I find some examples about the skill of osl embedded in mtlx, please?

Nachricht 4 von 5
madsd
als Antwort auf: Anonymous

In your DCC, export a shader chain from a plane or a sphere.
Make sure you use a closure and just hook any kind of osl map to the diffuse slot first.

The export will print the osl code into the .mtlx file and you can read out of that how you need to build it up.

Nachricht 5 von 5
madsd
als Antwort auf: Anonymous

Opened a case like mentioned above.

5043-ccc.png

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