Cage opened this issue on Dec 17, 2022 ยท 56 posts
odf posted Thu, 29 December 2022 at 12:53 AM
So, that script... the full URL to the git repository is https://github.com/odf/pydeltamesh. Probably easiest to grab the whole thing as the script uses OBJ reading and writing functions that are in a different file. If you're not a git user, find the green "Code" dropdown and select "Download ZIP".
The script is called makeTextureTransferObject.py and it is in the subdirectory pydeltamesh - so that's two adjacent "pydeltamesh"s in the full path if you're counting. It is smart enough to find its dependencies, so you should be able to run it from anywhere without having to set the Python path.
It has four arguments. The first two are the target and source OBJs in that order, where target means the one with the UV sets you want to transfer to. Then come two specification files, also target first, then source, that tell the script which material zones belong to a common texture map. My specification file for AntoniaA looks something like this:
Body
skinBody
skinScalp
nailsFingers
nailsToes
Head
skinFace
lacrimals
lips
mouthInner
tongue
teeth
brows
Lashes
lashes
-- I'm not mad at you, just Westphalian.