MaterialX online library
15691 31 9- Mark Wallman
- Member
- 700 posts
- Joined: 8月 2013
- Offline
- jsmack
- Member
- 8045 posts
- Joined: 9月 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
- 700 posts
- Joined: 8月 2013
- Offline
- jsmack
- Member
- 8045 posts
- Joined: 9月 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
- 12672 posts
- Joined: 7月 2005
- Offline
I would think that this is just a bug, or some unconventional thing going on.
Edited by jason_iversen - 2021年12月21日 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
- 8045 posts
- Joined: 9月 2011
- Offline
- mtucker
- スタッフ
- 4525 posts
- Joined: 7月 2005
- Offline
- w007s
- Member
- 19 posts
- Joined: 9月 2015
- Offline
- BrianHanke
- Member
- 448 posts
- Joined: 4月 2018
- Offline
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: 9月 2015
- Offline
- jsmack
- Member
- 8045 posts
- Joined: 9月 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
- 86 posts
- Joined: 1月 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
- 700 posts
- Joined: 8月 2013
- Offline
- mark
- スタッフ
- 2641 posts
- Joined: 7月 2005
- Offline
- mark
- スタッフ
- 2641 posts
- Joined: 7月 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
- 700 posts
- Joined: 8月 2013
- Offline
- Hamilton Meathouse
- Member
- 200 posts
- Joined: 11月 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
- スタッフ
- 4525 posts
- Joined: 7月 2005
- Offline
- jsmack
- Member
- 8045 posts
- Joined: 9月 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: 5月 2016
- Offline
-
- Quick Links