custom vertex groups with weight by scripting
Posted: Thu Dec 21, 2017 11:00 pm
Hello,
I am new to Blender scripting and MH.
I am writing the script to create some custom vertex groups with weight painting on a human model in Blender.
I read the MXH2 import plug-in for Blender.
I am confused. What is the JSON file in vertexgroups? It seems like the vertex index and weight.
I modified body, tights, skirt a little bit. I found the modification on body JSON change the weight painting on body but do nothing to the clothes, while the tights JSON can change weight painting to the clothes only. The skirt JSON seems do nothing.
How the JSON file works? If they are vertex index and weight, how to generate these data?
As I import different rigs, I may have different vertex groups. I am trying to create custom vertex groups. How to make a vertex group basing on the bone or joint but not binding on them?
I think I would use the JSON for custom vertex group, but nothing is showed up after I add some vertex group there.
I am new to Blender scripting and MH.
I am writing the script to create some custom vertex groups with weight painting on a human model in Blender.
I read the MXH2 import plug-in for Blender.
I am confused. What is the JSON file in vertexgroups? It seems like the vertex index and weight.
I modified body, tights, skirt a little bit. I found the modification on body JSON change the weight painting on body but do nothing to the clothes, while the tights JSON can change weight painting to the clothes only. The skirt JSON seems do nothing.
How the JSON file works? If they are vertex index and weight, how to generate these data?
As I import different rigs, I may have different vertex groups. I am trying to create custom vertex groups. How to make a vertex group basing on the bone or joint but not binding on them?
I think I would use the JSON for custom vertex group, but nothing is showed up after I add some vertex group there.