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>
Why not just write some osl code you inject into the .mtlx file to maintain and do whatever you want with the UV there?
Thank you for this enlightening clue. Where can I find some examples about the skill of osl embedded in mtlx, please?
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.