Thanks for the replies, both of you!
I suppose I should have said up front I am on the Art/design side, not a programmer/dev & have only a basic grasp of mel & programming in general.
Chris Rogers: Yeah, that whole looping part is what I don't quite understand. Thanks for the suggestion though!
Joojaa: Sorry, I always have a hard time explaining what I mean for things like this.
I realize the whole reducing colors stuff is strange but its necessary for the other tools in the pipeline of this project.
So here's what I'm trying to do:
- Model & vertex color edit in Maya with full 0-1 colors. This makes it easier to see what colors I will be getting in the final product.
- Reduce all vertex colors & alpha in half and export it (it's not necessary to convert all the colors & alpha into 255 equivalent for export). This of course makes all the colors less bright & the whole model transparent even in areas which should be completely opaque but when imported into the other tools, the exported model will appear nearly the same as it did before the reduction of colors/alpha in Maya.
Weird & hard to explain, I know. Besides Maya, the tools used are archaic as the project has continued for well over many years, thus it can't handle the whole scale of colors Maya can.
I was hoping the Paint Vertex Color Tool (that's what you mean by artisan, right?) would do something like this but it only seems to remove/add colors from each channel linearly. Is there some option I'm missing to reduce everything by 2?
Thanks again to both of you for your time & consideration!