DeepMotionEditing / deep-motion-editing

An end-to-end library for editing and rendering motion of 3D characters with deep learning [SIGGRAPH 2020]
BSD 2-Clause "Simplified" License
1.56k stars 256 forks source link

Scale about the BVH file converted from FBX file #202

Closed jinnan-chen closed 2 years ago

jinnan-chen commented 2 years ago

Hi, thanks for the inspiring work!

I have a question about the scale ratio between the BVH file converted from FBX file with the original FBX 3D mesh. It seems the scale is not the same when I import them into blender.

Thanks!

PeizhuoLi commented 2 years ago

Hi, I also had the same problem. But in my experience the scaling the skeleton imported from bvh by 0.01 and rotating it along some axis for 90 degrees should align it to the 3D mesh. I'm no expert of FBX file, but I guess there is some property specifying the rotation and scaling in the file and it might be abandoned by blender when exporting as bvh file.

jinnan-chen commented 2 years ago

Yes, I import them together to blender and also feel like some number around 0.01 is the right ratio but without rotation, I converted the corresponding FBX to the keypoints coordinates and I attach a screen shot here. The keypoints are like a tight cage of the mesh. So maybe that is a little smaller than 0.01.

WechatIMG44