Announcement

Collapse
No announcement yet.

randomize leaf texture

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

  • randomize leaf texture

    Hello there,

    I am trying without any success to randomize different textures to a vrmesh of a plant.

    The vrmesh exported out of 3ds max has leaves with material id assigned: 2

    In SU i create a material with a multisub texture to apply to the mesh material id of 2.

    The only random effect i can achieve is by random by id number.
    But it applies a different texture to the entire leaves of the plant.
    In my case I would like to randomize different the textures on all the leaves of the same plant.
    When i choose random by face material id nothing happens.

    I must be missing something somewhere.

    If anyone has any help it would be greatly appreciated.

    Have a nice week end


  • #2
    I believe that the only way this can be currently done is by applying more than 1 material ID for the leaves.

    Imagine the following:
    Trunk - id:0
    Leaves group 1 - id:1
    Leaves group 2 - id:2
    Leaves group 3 - id:3
    ​​​​​​​Leaves group 4 - id:4

    To automate the process you can use the MaterialByElement modifier.

    Then you'll have the ability to use the multi-sub texture to take care of the assignment.
    Last edited by konstantin_chaos; 11-12-2023, 03:00 AM.

    Comment


    • #3
      Dear Konstantin,

      Thanks so much for your reply.
      Applying multi id to the leaves is the way to go with materialbyelement and then collapsing the mesh before vrmesh export.

      Thanks again for your time it is much appreciated.

      Have a nice day

      Comment


      • #4
        Hi Konstantin and alexdecret


        I would like to ask you Konstantin how this can be done in chaos cosmos trees, for example the paper bark 02 from maxtree.

        I tried a lot of options and i cant give different color textures to the leafs.

        I would like to see some variation in color for leaves.

        Thanks Konstantin



        Comment

        Working...
        X