01-30-2024, 06:02 PM
(This post was last modified: 01-30-2024, 06:14 PM by SteveDeeGreen.)
(01-30-2024, 04:05 PM)SteveDeeGreen Wrote: Might be a bit tricky - it's from a commercial client
Yeah, I asked and they said no I'm afraid
I'll keep pushing to see if I can get a basic shape out of them, but it's going through several layers not directly with the people who are building them
(01-30-2024, 04:13 PM)tyFlow Wrote: I see, so you have 500 objects, and each object has 3 material IDs, and each object also has its own multi-sub material applied containing 3 materials...and what you know (but what Max doesn't know) is that those 3 independent materials applied to each object, could actually be the same 3 materials applied to every object?
I guess the tricky part, is what happens if piece number 499 has 3 materials applied, but those 3 materials are not meant to be the same 3 materials applied to every other piece? What would differentiate them? You mentioned them having the same name as the other materials...is that the only thing? It would be easy enough to group/instance materials by name, but if the names of the "same" materials don't match, then that's a much bigger issue because there's no easy way to tell that the materials are identical, besides individually comparing every single one of their properties (which would indeed be slow).
Not quite,
there are no sub-materials
They're all called 1, 2, or 3 and the objects are split up by material.
So if you had 2 cubes, you would have 2 copies of 6 materials
Comes in like this
For some reason the first of the materials lists the diffuse map, but they're all the same
Also all the material IDs for the meshes are 1
Like I said, I run it through these scripts and it does remove the duplicates, and takes them down to 3 unique ones from thousand+, it just takes a while
If that's any help?