Using an expression in the Filename parameter of an edit material properties LOP doesn't seem to work.
I've got an image sequence that I want to use as a texture map. I can get this work by using an edit material properties lop, pointing it to mtlximage1 node in my material, and putting $JOB/mytexture_$F4.exr as the filename. However, I also need to offset the sequence number, but any expression seems to fail.
For example, $JOB/mytexture/`$F4-10`/.exr doesn't work. Is it possible to use expressions in this field? Is there another way to manipulate this path?
Thanks!
Brad T.
Texture sequence manipulation in material x
754 3 1- BradThompson
- Member
- 67 posts
- Joined: 3月 2017
- Offline
- jsmack
- Member
- 8043 posts
- Joined: 9月 2011
- Offline
- BradThompson
- Member
- 67 posts
- Joined: 3月 2017
- Offline
- jsmack
- Member
- 8043 posts
- Joined: 9月 2011
- Offline
BradThompson
Thanks jsmack! Today I learned that $F is an float (or int?) and $F4 is a string. Now it works.
It's a float. hexpressions only have two types, string and float. There's a lot of gotchas in the expression language that stem from the strict typing. stuff like why are there point() and points() functions.
-
- Quick Links