2010-12-03, 02:52 AM
I kinda wonder if the .mdl files are paletted or not. I'm sure some of them are if not most... I had to handle the paletted case in the Assimp importer anyway.
However there are two different kinds of palettes. There is a palette that is just all the colours present in the image for compression purposes. Not a very interesting palette. The value added type of palette has all of the related colours in rows. So like for this skeleton... all of the bone colours would be next to one another, and all of the armor colours would be next to one another. That way you can programmatically generate coherent palette swaps of textures by just shifting the hues/etc of each block this way or that.
That's how painting your AC in Armored Core works (or did at least up to the present gen, and maybe still) ...Therefore I'd not be shocked if the Som models were created with a tool for working in the same kind of way. It's a philosophy anyway I'd like to encourage when we get to that point... because it's a very simple way to make assets way more flexible. Personally I just enjoy the anachronism of the whole concept.
However there are two different kinds of palettes. There is a palette that is just all the colours present in the image for compression purposes. Not a very interesting palette. The value added type of palette has all of the related colours in rows. So like for this skeleton... all of the bone colours would be next to one another, and all of the armor colours would be next to one another. That way you can programmatically generate coherent palette swaps of textures by just shifting the hues/etc of each block this way or that.
That's how painting your AC in Armored Core works (or did at least up to the present gen, and maybe still) ...Therefore I'd not be shocked if the Som models were created with a tool for working in the same kind of way. It's a philosophy anyway I'd like to encourage when we get to that point... because it's a very simple way to make assets way more flexible. Personally I just enjoy the anachronism of the whole concept.