Closed lordscales91 closed 9 years ago
I've added support for material morphs. It's possible to preview the morph result thanks to a temporary material that is created when a material morph offset is added or edited. However since Blender shading system is very different from MMD the preview is inaccurate. Also, only type ADD offsets are supported, I'm working on MULT offset type now
Thank you for your changes! I've read it. I agree to your implementation policy of morph metadata.
About UI layouts, please implement it without worrying too much because I edit it after the merge if there are problems.
I'm looking forward to the completion.
@sugiany Thanks for your attention! It's a pleasure to work to make this add-on even more awesome. I hope it will become some day the best MMD add-on for Blender. We will work together to accomplish it (^_^)/
Support for Material Morphs is completed, and also for Bone Morphs, except for one thing: Convert the location and rotation stored in the morph data to MMD Coordinate System. I was struggling with it but I wasn't able to do it. So, from here you should already merge these commits and implement the coordinates conversion
I decided to open this pull request to let you review my work. The Morph Tools panel is not complete yet but you can create, sort and delete morphs. I'm working now on a UI to allow editing the parameters of material and bone morphs, at the moment only the name, english name and category are editable through the panel. But I really don't understand how the UI layouts work in Blender, I hope you can help me on that.
The
vertex_morphs
property of themmd_root
just stores the metadata of the morphs.