PerceivingSystems / bedlam_render

BEDLAM (CVPR 2023) render pipeline tools
https://bedlam.is.tuebingen.mpg.de/
Other
131 stars 6 forks source link

clothing abc and npz file mismatch #3

Closed B14ckFox closed 1 year ago

B14ckFox commented 1 year ago

Hi,

I tried to load clothing as well as the corresponding groundtruth mocap sequence into Blender, but somehow I have a mismatch between those two animation sequences.

I have tested it with:

clothing file: rp_aaron_posed_009/clothing_simulations/1074/1074.abc

groundtruth smplx: gendered_ground_truth/rp_aaron_posed_009/moving_body_para/1074/motion_seq.npz

In Blender I also shifted the clothing mesh sequence with 100 to account for the frame offset

image

Result:

image

To solve the problem I would need to import smplx with clothing again in CLO3D and run the simulation, but I wonder if there is an easier solution before editing all those files manually again.

Thanks!

tpsmpi commented 1 year ago

All the BEDLAM CLO exported clothing Alembic .abc files start at frame 100. When you want to use them in Blender you have to apply a frame offset of -100 in the Blender MeshSequenceCache modifier to compensate for that since the Blender Alembic importer (unlike the Unreal Alembic importer) has no import setting for that. For specific questions regarding the clothing simulation part of BEDLAM please visit https://github.com/PerceivingSystems/bedlam_clothing

clothing_blender_frame_offset

B14ckFox commented 1 year ago

Ah I need to update the pose shapes, then it works, thanks