fyviezhao / M3D-VTON

Official code for ICCV2021 paper "M3D-VTON: A Monocular-to-3D Virtual Try-on Network"
166 stars 38 forks source link

mesh outputs #18

Open sanazsab opened 2 years ago

sanazsab commented 2 years ago

Hi, How did you use gif maker of the mesh results to create gif output?

rgbd2pc could also work for lower resolution? The .ply for my case is incomplete.

Thanks for your swift response.

fyviezhao commented 2 years ago

Sorry for the late reply:

  1. The rotating visualization is rendered through this script. Basically, it is obtained by rotating the colored mesh 360 degrees along the z-axis and rendering it frame by frame with PyTorch3D. The same result can also be easily obtained using some 3D software such as Blender.

  2. Yes, the rgbd2pcd.py should also work for lower resolution if the camera parameters you used is same as the mpv3d_example/camera.txt. Otherwise you need to modify the camera parameters in rgbd2pcd.py. (Usually the camera used in this repo can handle most cases, so directly using it would suffice.)