Announcement

Collapse
No announcement yet.

Multi/Sub-Object material number cap?

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

  • Multi/Sub-Object material number cap?

    I'm wondering if there is a cap on the amount of material ID's?
    I have 1 object that renders in "grey" in Vantage. It has 3 material assigned with the id's 34,35 and 36. (quite high up) If I make a new material and assign ID 1, 2, 3 it has no issue to show that in Vantage. Is there a certain cap in place, so anything above that will not show up, and default back to grey/white?

    Thanks for letting me know!

  • #2
    Yes, the multi-material is currently limited to 32 IDs in the range 0 to 31. If the geometry face ID is bigger it uses the first material (ID 0). We plan to remove this restriction soon.
    Nikola Goranov
    Chaos Developer

    Comment


    • #3
      Ah that makes sense. I will wait for that update, sounds better than changing several 100 material id's. Thank you!

      Comment


      • #4
        Originally posted by Yard2380 View Post
        I'm wondering if there is a cap on the amount of material ID's?
        I have 1 object that renders in "grey" in Vantage. It has 3 material assigned with the id's 34,35 and 36. (quite high up) If I make a new material and assign ID 1, 2, 3 it has no issue to show that in Vantage. Is there a certain cap in place, so anything above that will not show up, and default back to grey/white?

        Thanks for letting me know!
        Do you always use consecutive IDs or do you leave huge holes between them, e.g. using just IDs 10, 100, 1000 ?
        The code can be made more efficient if the IDs are consecutive.

        Greetings,
        Vladimir Nedev
        Vantage developer, e-mail: vladimir.nedev@chaos.com , for licensing problems please contact : chaos.com/help

        Comment


        • #5
          Afraid this is consecutive, no empty materials or ID's in between. (It is already "optimized" so to speak.) 64 as a max would be good for me.

          Comment


          • #6
            The issue is fixed for our next release.

            Greetings,
            Vladimir Nedev
            Vantage developer, e-mail: vladimir.nedev@chaos.com , for licensing problems please contact : chaos.com/help

            Comment

            Working...
            X