Open BerlinAW opened 3 years ago
Hmm I am not sure what is going on, I will have to test this myself
@animate1978 where in the code are the import and export functions I can have a look at it, haven't tested myself.
It should be clearing all translations, rotations and scaling ops before applying the pose. If instead it's applying a rest pose that's not the characters original rest pose that would cause such an issue.
It's ok found the functions, will take a bit of unpicking the way it's done more complex than I had imagined.
Firstly, thanks for keeping this project going!
Description: JSON export system for poses does not properly capture the current pose of the character. It attempts to apply a rest pose (It looks like the standard rest pose) to the character in addition to the actual pose that the user is trying to capture.
I am running on Arch Linux, in Blender 2.91.0, running the plugin off of the master branch that I downloaded from git around December 27th.
To Reproduce:
Expected behavior Json pose file should contain similar data on export to the original library file.
Additional context I am not an expert on python so it is hard for me to diagnose the issue. It looks as if the import def attempts to set the model to a rest pose before applying the data from the json file. Perhaps there is something odd in the logic there.
Example JSON
Below is some sample output from the files for reference.
**New Export Captured01 First Lines Excerpt**
`
Work Around Have blender export the posed armature as BVH and then import it using the mb-lab tools.