KosukeFukazawa / smpl2bvh

This repository contains an example script to convert from a SMPL model to a bvh file.
MIT License
147 stars 16 forks source link

rest pose and actions poses are rotated 180° #11

Open chen-wl20 opened 7 months ago

chen-wl20 commented 7 months ago

Thank you very much for your work, it is very helpful to me!Great work! But now I have encountered a problem. After the data I saved was converted, the static posture and dynamic action were rotated 180°(as shown in the picture, and I provided the Bvh file(use the txt)). I was very confused and wanted to ask how to modify the code to save the normal action. I would be grateful if you could help!! Thank you!

image image test.txt

chen-wl20 commented 7 months ago

I guess the problem is caused by quat.to_euler(order='zyx'). I want to ask how to transform order='xyz', which is not provided in the quat.py file.