Announcement

Collapse
No announcement yet.

applying arbitrary amount of random textures per primitive

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • applying arbitrary amount of random textures per primitive

    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?

  • #2
    Yes, you could use "<attr_name>" in ImageFile filename parameter.
    Georgy Chakarov | QA
    www.chaosgroup.com
    georgy.chakarov@chaosgroup.com

    Comment


    • #3
      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


      • #4
        Sorry, I completely forgot, you should force attribute to be exported via "V-ray Object Properties" tab.
        check the example file
        Attached Files
        Georgy Chakarov | QA
        www.chaosgroup.com
        georgy.chakarov@chaosgroup.com

        Comment

        Working...
        X