I need to apply an arbitrary amount of textures (randomly named from a folder) onto different (packed) prims. Is there a way to feed a string attribute (the texture path/filename) into a filenode?
Announcement
Collapse
No announcement yet.
applying arbitrary amount of random textures per primitive
Collapse
X
-
Yes, you could use "<attr_name>" in ImageFile filename parameter.
-
chakarov thanks for you reply. I can't seem to make that work. I tested it with mantra and a bind node, so the attribute is there. Just to make sure I don't get the syntax wrong: my attribute is test. Do I need to write <test> or <@test> (tried both). also this is a primitive attribute (which should be fine I guess).
Comment
-
Sorry, I completely forgot, you should force attribute to be exported via "V-ray Object Properties" tab.
check the example fileAttached Files
Comment
Comment