Got some time to continue the work on the mod. Birth scenes aside, here's another skeleton which reminded me the decision to make "Unified Skeletons" was a right idea to move forward:
Here's a standard 'Woman_Capsule' skeleton:
Default game version 2.0.16.0 use 2048x1024 sprite sheet and new build 2.1.0.0 use "Non-Power of Two" 1042x1042 (Use of NPOT textures is frowned upon, but that's how devs use it).
Optimizing that for Vertices/Vertex Transforms and Triangles went smooth as usual. But asset usage went way down. See, this particular scene is practically mirrored, except for the "Capsule"/Machine itself (which only have different wood texture on left and right side).
We don't need to have full Capsule texture in a view, because game renders it in background as a static room texture, but it still need enough to cover Slave's body parts. Slave's body parts like arms, legs, tits, nipple electic cords can be all mirrored.
That's how it looks now from engine perspective:
Reason for "Slots" number going up is simple - I break down mirrored assets in two parts. I still didn't mirrored body sprite, "dildo" sprite and pregnant belly sprites because there's a potential visual glitch to happen when you zoom in and zoom out the camera and it also further increase Slots number, which isn't optimal. Anyway, it's still way faster to render.
As for packed sprite sheet size in current form it goes
below 512x512 size, which is great.
Here's an observation about common/unique slaves for this scene: Unique slaves all comes with their hair sprites, while common ones lack any. No clothes, no hairs. I guess devs just didn't want to bloat original 2048x1024 sprite sheet size further, but Unique ones have them and also have some of their clothing variations:
So here's 5 "Woman" types. All load their own skeleton file and texture data. Same scene. Same scene optimization principles can be applied... same work have to be repeated 5x more times without doing "Unified" skeleton. All is needed is just to include missing Unique hair and clothing assets in a common skeleton type.
I'll just share my WIP result with currently implemented Bella assets as a packed sprite sheet:
"Unified" Capsule Bella scene breakdown: Tits are now support customization. Thighs is problematic due to cloth artwork baked into Thigh Type 2.
White area is free space for assets. Big back hair sprite can be cut and mirrored (side hairs too). Only need one mirrored thigh sprite with clothing. Some additional clothing will be accounted too, which at this point is a piece of cake and will fit 1024x512 target nicely.
I thought about bringing Girl skeleton type into this too, but it opens some more technical aspects and will up Bone count, which is not optimal... although not that bad as the original load was. Something to think of at least.