Compute new blendshape offsets in the exporter. #2

Merged
kkbp-dev merged 2 commits from Sonogami_Rinne/KKBP_Exporter:master into master 2026-02-08 22:28:23 +00:00
Contributor

Compute new blendshape offsets in the exporter, so we do not need to restore scale data in blender.

Compute new blendshape offsets in the exporter, so we do not need to restore scale data in blender.
Sonogami_Rinne changed title from WIP: Compute new blendshape offsets in the exporter. to Compute new blendshape offsets in the exporter. 2026-01-31 11:21:36 +00:00
Owner

This looks like a good change, but it may have introduced an issue with the face bones? I took a comparison screenshot before and after

This looks like a good change, but it may have introduced an issue with the face bones? I took a comparison screenshot before and after
Author
Contributor

On my end, the result appears normal, as shown in the screenshot.
The mesh is exported in the exporter in the same way as in earlier versions, before scale restoration was introduced; the only change is adjusting each morph’s offset during createMorph.
In Blender, only the edit bones are modified to restore rotation, and all changes to pose bones are removed.
In theory, these changes should not cause any mesh deformation.
屏幕截图 2026-02-01 100348

On my end, the result appears normal, as shown in the screenshot. The mesh is exported in the exporter in the same way as in earlier versions, before scale restoration was introduced; the only change is adjusting each morph’s offset during createMorph. In Blender, only the edit bones are modified to restore rotation, and all changes to pose bones are removed. In theory, these changes should not cause any mesh deformation. ![屏幕截图 2026-02-01 100348](/attachments/ffb54d3b-738a-4a19-930d-e4c94c3b9212)
Owner

Sorry yes you're right. I must have accidentally used an old version of the exporter or importer. I built it again and it worked. Thanks for making this change!

Sorry yes you're right. I must have accidentally used an old version of the exporter or importer. I built it again and it worked. Thanks for making this change!
kkbp-dev merged commit f0389df27b into master 2026-02-08 22:28:23 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
kkbp-dev/KKBP_Exporter!2
No description provided.