MaterialX and image sequences
1120 4 2-
- Dronson
- Member
- 41 posts
- Joined: 6月 2009
- Offline
-
- protozoan
- Member
- 1504 posts
- Joined: 3月 2009
- Offline
It's possible, you just don't do it -inside- the shader. You put a dummy image into the mtlx image node (like: the first one of your sequence for example) and then after the material library you put down a edit material properties lop, populate it, and do it in there. This one will accept time dependent stuff, like mytexture.$F.rat.
This is also the correct way to animate other parameters like blends, colors, and all.
This is also the correct way to animate other parameters like blends, colors, and all.
Martin Winkler
money man at Alarmstart Germany
money man at Alarmstart Germany
-
- ajz3d
- Member
- 406 posts
- Joined: 8月 2014
- Offline
I wonder if it's by design or because string substitution in MaterialX isn't implemented in Solaris yet?
In MaterialX specification (p. 18-19) [materialx.org] we can read that substitution of some strings defined by host environment (Houdini in our case) is possible when it comes to frames, so (in theory at least)
Could someone please shed some even more light on this?
In MaterialX specification (p. 18-19) [materialx.org] we can read that substitution of some strings defined by host environment (Houdini in our case) is possible when it comes to frames, so (in theory at least)
$F
should be accepted. Besides, mtlximage
already has framerange
and frameoffset
parameters, which currently don't seem to be working, but the presence of which could indicate the latter. Or perhaps the substitution was never intended to occur within the shader, but in this case why keep those two parameters?Could someone please shed some even more light on this?
Edited by ajz3d - 2022年12月12日 09:12:07
-
- tamte
- Member
- 7919 posts
- Joined: 7月 2007
- Offline
MaterialX in Houdini is currently missing support of MaterialX tokens as stated here
https://www.sidefx.com/docs/houdini/solaris/materialx.html#limitations
MaterialX defines a few tokens (for example {frame} for time) for use in file paths, but these are currently not used by Karma or Houdini. You can use the <UDIM> token, however.
Tomas Slancik
FX Supervisor
Method Studios, NY
FX Supervisor
Method Studios, NY
-
- ajz3d
- Member
- 406 posts
- Joined: 8月 2014
- Offline
-
- Quick Links