MaterialX online library
16831 31 9-
- Mark Wallman
- Member
- 711 posts
- Joined: Aug. 2013
- Offline
-
- jsmack
- Member
- 8115 posts
- Joined: Sept. 2011
- Offline
Mark Wallman
Hi.
I just came across AMD's online library to download/upload MaterialX materials.
https://matlib.gpuopen.com/main/materials/all?category=Plaster [matlib.gpuopen.com]
Best
Mark
They don't seem to be compatible with solaris. I tried one, and it uses a nodegraph defined node, which solaris can't seem to see into, so the material appears as a gray shader.
-
- Mark Wallman
- Member
- 711 posts
- Joined: Aug. 2013
- Offline
-
- jsmack
- Member
- 8115 posts
- Joined: Sept. 2011
- Offline
Mark Wallman
Oh dear. There was me hoping materialX would work through different apps. I hope these are just issues because it is so new best
It seems like Solaris doesn't really support materialX at all. Sure it can use the base nodes as a shading graph for karma, but if it can't decode nodegraphs, it's not much use for interchange.
-
- jason_iversen
- Member
- 12768 posts
- Joined: July 2005
- Offline
I would think that this is just a bug, or some unconventional thing going on.
Edited by jason_iversen - Dec. 21, 2021 17:41:23
Jason Iversen, Technology Supervisor & FX Pipeline/R+D Lead @ Weta FX
also, http://www.odforce.net [www.odforce.net]
also, http://www.odforce.net [www.odforce.net]
-
- jsmack
- Member
- 8115 posts
- Joined: Sept. 2011
- Offline
-
- mtucker
- Staff
- 4535 posts
- Joined: July 2005
- Offline
-
- w007s
- Member
- 19 posts
- Joined: Sept. 2015
- Offline
-
- BrianHanke
- Member
- 452 posts
- Joined: April 2018
- Online
w007s
Technically how to import .mtlx into houdini?
Import the .mtlx file as a reference in Solaris. It will then show up in the Scene Graph Tree and you can assign it to geometry.
Subscribe to my Patreon for the best CG tips, tricks and tutorials! https://patreon.com/bhgc [patreon.com]
Twitter: https://twitter.com/brianhanke [twitter.com]
Behance: https://www.behance.net/brianhanke/projects [www.behance.net]
Twitter: https://twitter.com/brianhanke [twitter.com]
Behance: https://www.behance.net/brianhanke/projects [www.behance.net]
-
- w007s
- Member
- 19 posts
- Joined: Sept. 2015
- Offline
-
- jsmack
- Member
- 8115 posts
- Joined: Sept. 2011
- Offline
w007sBrianHankeSo import?
Import the .mtlx file as a reference in Solaris. It will then show up in the Scene Graph Tree and you can assign it to geometry.
Yes, import it just like any other USD file. The materials are not different from materials created with a material library. They still have to be assigned correctly to work. In your video, you've assigned a blank prim, "Shaders". The materials under "Materials" are the prims to assign as materials. The "Shaders" prim is purely for organization and cannot be assigned.
-
- tony_a
- Member
- 87 posts
- Joined: Jan. 2009
- Offline
Did you manage to get this to work? I've downloaded the Marble_Verde_Guatemala_Slatted material and used a reference node to bring it in to lops. When I try to assign it to a sphere and render in Karma though it doesn't seem to work. I'm assigning the MaterialX_Graph material, under Materials. Am I doing something wrong?
(using Houdini 19.0.455 apprentice)
(using Houdini 19.0.455 apprentice)
-
- Mark Wallman
- Member
- 711 posts
- Joined: Aug. 2013
- Offline
-
- mark
- Staff
- 2654 posts
- Joined: July 2005
- Offline
-
- mark
- Staff
- 2654 posts
- Joined: July 2005
- Offline
markIt looks like there's been an update to the AMD MaterialX library. The materials work a lot better in Solaris out of the box now. You should be able to just load them up using a File LOP. There may be some organizational things like paths to textures or shader names which might need some slight adjustment, but the materials are now way more compatible with Solaris.
The dev team is currently looking into this and hopefully will have some answers for you soon.
-
- Mark Wallman
- Member
- 711 posts
- Joined: Aug. 2013
- Offline
-
- Hamilton Meathouse
- Member
- 204 posts
- Joined: Nov. 2013
- Offline
markmarkIt looks like there's been an update to the AMD MaterialX library. The materials work a lot better in Solaris out of the box now. You should be able to just load them up using a File LOP. There may be some organizational things like paths to textures or shader names which might need some slight adjustment, but the materials are now way more compatible with Solaris.
The dev team is currently looking into this and hopefully will have some answers for you soon.
Mark, what version of Houdini are you using for this? I'm on 19.0.498 (Python 3) on Linux Mint and when I load as you have done above, I get the following error messages:
Error Unable to find layer file: /home/dave-linux/Desktop/DOWNLOADS/CarPaint_SingleColor_4k_16b/CarPaint_SingleColor.mtlx Warning Failed to load plugin 'usdMtlx': libOpenGL.so.0: cannot open shared object file: No such file or directory in '/opt/hfs19.0.498/dsolib/usd_plugins/usdMtlx.so' Warning Failed to load plugin 'usdMtlx': libOpenGL.so.0: cannot open shared object file: No such file or directory in '/opt/hfs19.0.498/dsolib/usd_plugins/usdMtlx.so' Warning Cannot determine file format for @/home/dave-linux/Desktop/DOWNLOADS/CarPaint_SingleColor_4k_16b/CarPaint_SingleColor.mtlx@
/opt/hfs19.0.498/dsolib/usd_plugins/usdMtlx.so definitely exists, not sure why it's complaining about that.
-
- mtucker
- Staff
- 4535 posts
- Joined: July 2005
- Offline
-
- jsmack
- Member
- 8115 posts
- Joined: Sept. 2011
- Offline
Hamilton Meathouse
Mark, what version of Houdini are you using for this? I'm on 19.0.498 (Python 3) on Linux Mint and when I load as you have done above, I get the following error messages:
Are other mtlx files working, such as the one of the examples in the HFS? That material is working for me, although I haven't tried it with 498. (I'm on 505) I've noticed a few of the materials have errors, such as missing textures or disconnected inputs, but so far it hasn't caused karma to reject them.
-
- JYA
- Member
- 5 posts
- Joined: May 2016
- Offline
-
- Quick Links