Hi!
I noticed that in H20 the MtlxImage node has more inputs available to use, one of the most useful one is the "file" input specially to control the texture paths using primvars. But I noticed if I connect something to any string ports (including the file input of course) it returns an error:
But was caused me more curiosity is, if I load one of the material presets from the Material Linker and "extract" it using the edit material network node, I can see that the material textures also have the error but they work:
So I decided to share this here before submitting as a bug to see if there is a reason behind this or if I should report it.
Let me know what do you think about it,
Thanks!
Mtlx Image string inputs connection return error
824 4 2- cdordelly
- Member
- 162 posts
- Joined: Nov. 2016
- Offline
- MR SMITH
- Member
- 32 posts
- Joined: Aug. 2011
- Online
- alecaille
- Member
- 25 posts
- Joined: Dec. 2014
- Offline
Not currently possible for reasons explained here:
https://www.sidefx.com/forum/topic/82989/ [www.sidefx.com]
As I understand it, materialX shaders / karma don't support it right now. The shaders can only be parametric using numbers, not entire files, because everything has to be loaded from the start ("compiled")
https://www.sidefx.com/forum/topic/82989/ [www.sidefx.com]
As I understand it, materialX shaders / karma don't support it right now. The shaders can only be parametric using numbers, not entire files, because everything has to be loaded from the start ("compiled")
- rafal
- Staff
- 1454 posts
- Joined: July 2005
- Offline
- cdordelly
- Member
- 162 posts
- Joined: Nov. 2016
- Offline
Thank for your answers guys,
Well, let's hope we can have this with MtlX 1.39, and yes it is curious that basically it should not work but it works right now with MtlX 1.38 but that it returns the texture as float:
Now I understand why the usage on the material libraries are mostly for masks, and also now I understand why @mtucker shared one example using the USD nodes instead of the MtlX nodes here [www.sidefx.com].
Cheers!
Well, let's hope we can have this with MtlX 1.39, and yes it is curious that basically it should not work but it works right now with MtlX 1.38 but that it returns the texture as float:
Now I understand why the usage on the material libraries are mostly for masks, and also now I understand why @mtucker shared one example using the USD nodes instead of the MtlX nodes here [www.sidefx.com].
Cheers!
-
- Quick Links