UuuNyaa / blender_mmd_uuunyaa_tools

mmd_uuunyaa_tools is a blender addon for adjust scenes, models and materials in concert with mmd_tools
GNU General Public License v3.0
427 stars 27 forks source link

Feature request: rigify to pmx model conversion #39

Open cyaoeu opened 3 years ago

cyaoeu commented 3 years ago

It would be nice if you could use the rigify to MMD feature to be able to convert a rigify model to a PMX model and be able to export it using MMDTools. (using the Model: Export in MMDTools) You would need to change the bone names to the MMD standard and convert the materials, also fix any scale issues.

UuuNyaa commented 3 years ago

Thanks for the suggestion.

Sorry, I will probably not implement this feature. Because I think that it would be very difficult to convert various elements of Blender to MMD compatible.

cyaoeu commented 3 years ago

For just the rig/mesh I don't think it's too hard, you could use Convert to MMD compatible and Apply MMD rest pose to get the correct pose, apply the armature modifiers (if there are shapekeys use ShapeKey-Helpers addon to apply the armature modifiers without removing the shapekeys), go back to the rig and do Apply Pose as Rest pose to set a new rest pose. Then change the bone names and vertex groups using a mapping, I think you've got something like that in the code.

Or maybe start off with an imported MMD model and constrain the rigify rig to that, do the same armature modifier apply stuff and just change the vertex group names and use the imported rig, maybe this way is easier.

Anyway this isn't really needed if you're using Blender to render, it's more of a way to turn an already existing rigify rig into an MMD model using Blender so maybe it's out of the scope of this addon.

UuuNyaa commented 3 years ago

Thanks for the detailed explanation.

I will have to see if I can do the steps manually first.

so maybe it's out of the scope of this addon.

You are right, the chances of me performing this procedure seem very rare. I will implement this feature once I have done it manually a few times and have a good idea of how to automate it.