zju3dv / animatable_nerf

Code for "Animatable Implicit Neural Representations for Creating Realistic Avatars from Videos" TPAMI 2024, ICCV 2021
Other
493 stars 50 forks source link

关于变换矩阵的计算 #54

Closed Maradowei closed 1 year ago

Maradowei commented 1 year ago

https://github.com/zju3dv/animatable_nerf/blob/master/tools/render_skeleton.py#L63 请问为什么变换矩阵的偏移可以直接用根节点坐标系下的偏移而不是用上一个节点坐标系下的偏移?

dendenxu commented 1 year ago

您好! L63的偏移并非最终的偏移,在L79我们将其变换为了上一个节点坐标系下的偏移。 同时,该实现是从smplx.lbs.batch_rigid_transform上魔改来的,您也可以参考原始的实现:https://github.com/vchoutas/smplx/blob/main/smplx/lbs.py#L349