Enable UsdMtlx for next Gaffer release #5325
Replies: 3 comments 12 replies
-
Hi Jeremy, we're already trying to squeeze quite a lot into the upcoming 1.3 release, but in principle adding MaterialX support in USD sounds fine, so we'll see what we can do... |
Beta Was this translation helpful? Give feedback.
-
I'm taking a look at this now, and hit some roadbumps. First, MaterialX hardcodes the C++ standard to 11, whereas OIIO requires 14 minimum - hacked around that. Second, MaterialX 1.38.7 (the latest) isn't compatible with USD 23.05 (also the latest) - looks like MaterialX broke API compatibility in a patch release. I got 1.38.6 to compile instead, but I don't seem to be able to get
Any advice? What do you need this for? |
Beta Was this translation helpful? Give feedback.
-
Once the CI is finished, there will be build artifacts available from this PR : #5345. My testing with it so far indicates that MaterialX shaders will load in |
Beta Was this translation helpful? Give feedback.
-
Hello,
I am wondering if you guys could add the "PXR_ENABLE_MATERIALX_SUPPORT" CMAKE flag when compiling USD for the next release of Gaffer. This would be very beneficial for us, and would be great to avoid having to compile Gaffer ourselves just for this flag.
Beta Was this translation helpful? Give feedback.
All reactions