Open MrJimm opened 2 years ago
UPD: Solved I have found the solution myself, in case you need mesh itself, without further ability to manipulate it with SMPLX plugin. I found out that SMPLX morphing is implemented with "Shape keys" system in Blender. In order to obtain the mesh of the final form, you need to "apply" all shape keys. One can do it using for example this script (note: 'ob' is the reference to the mesh, not a parent armature):
def apply_shape_keys(ob):
if not hasattr(ob.data, "shape_keys"):
return
ob.shape_key_add(name='CombinedKeys', from_mix=True)
if ob.data.shape_keys:
for shapeKey in ob.data.shape_keys.key_blocks:
ob.shape_key_remove(shapeKey)
Also, if you have some issues with armature reimport, you can then unparent mesh from armature and apply armature modifier.
Hi! I try to export FBX mesh of SMPLX, generated with official plugin in Blender (tested in 2.9), and found out, that after reimporting it back the shape does not match with the initially generated one. No pose was changed, only shape parameters.![изображение](https://user-images.githubusercontent.com/5428408/140984706-a89ac3a0-83af-4c1c-89ff-09a2ddc64198.png)
Moreover, if I go from Object mode to Edit mode in Blender for the same generated SMPLX object - the mesh seems to go to some default form, that differs from the shape in the Object mode.
![изображение](https://user-images.githubusercontent.com/5428408/140984402-8a75305c-0f29-413b-ae3c-953426ec75fa.png)
Please, tell me, how can I export mesh in FBX with vertices in exact coordinates I see in Object mode?