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!

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.

Ah that makes sense. :slight_smile: I will wait for that update, sounds better than changing several 100 material id’s. :slight_smile: Thank you!

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

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. :slight_smile:

The issue is fixed for our next release.

Greetings,
Vladimir Nedev