Search - User list
Full Version: UV/ST difference between UsdPreview and MaterialX?
Root » Solaris and Karma » UV/ST difference between UsdPreview and MaterialX?
Hamilton Meathouse
I have exported a Megascans asset out of Unreal as .usda and imported it into Solaris. The default generated material (USD Preview Material) has the texture looking correct. However when rebuilding the material network in a USD MaterialX Builder, the textures seem to occupy a different space, or be distorted somehow. Has anybody come across this before?

In the first 2 images you can see the USD Preview Material network and the correct intended render.
In the second set of images you can see the MtlX Material and the associated incorrect render. Both are using the st primvar.

USD Preview Material

Correct Render:


MaterialX

Incorrect Render:
Hamilton Meathouse
For somewhat of a ground truth test, I plugged the same grid texture ($HFS/houdini/materialx_resources/Images/grid.png) into both materials and they gave an identical result, so i think that rules out interpretation of UVs?

USD Preview Material


MtlX Material
julca
Don't know, can you send an example hip file with a part of mesh to try to understand ?
Hamilton Meathouse
I started cleaning up the scene and and changing full texture paths to relative paths and it started working. Hmm, will keep investigating and see if I can repro and upload here.
Hamilton Meathouse
Okay, this is weird. Getting rid of the $HOME variable in the texture paths seems to have fixed the issue. I'm not sure why $HOME was being used...
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.