anim_utils icon indicating copy to clipboard operation
anim_utils copied to clipboard

Root translation lost

Open gemlongman opened this issue 5 years ago • 2 comments

https://github.com/eherr/anim_utils/blob/9a4c2842d9157f631d6207bf92da9f89a915ca4f/retargeting/analytical.py#L319

In some situations,hips joint has a fixed root joint as its parent. After retargeting, hips joint will loss translation and be fixed. Meanwhile, there are some children joints also need Xposition,Yposition and Zposition channels in retargeting and bvh-file writer.

gemlongman avatar Jul 08 '20 04:07 gemlongman

Ok yes currently the function assumes that you only have translation in the root joint. This is a limitation of the code. If it is useful, I will try to make it more general. However this is more work and might take a while, because the assumption is used also in the Skeleton class.

eherr avatar Jul 09 '20 13:07 eherr

Ok yes currently the function assumes that you only have translation in the root joint. This is a limitation of the code. If it is useful, I will try to make it more general. However this is more work and might take a while, because the assumption is used also in the Skeleton class.

It is lots of work to make more general, although it is not very difficult. Maybe just leave it alone.

gemlongman avatar Jul 10 '20 00:07 gemlongman