Skip to content

Latest commit

 

History

History
49 lines (34 loc) · 2.76 KB

notes.md

File metadata and controls

49 lines (34 loc) · 2.76 KB

Installation instructions

From the generate_people folder

mkdir data_folder
cd data_folder
git clone https://github.com/gulvarol/surreact surreal
  • Download the following two fbx files for SMPL for Maya from https://smpl.is.tue.mpg.de/ using your credentials. Please comply with their license. The files are basicModel_f_lbs_10_207_0_v1.0.2.fbx and basicModel_m_lbs_10_207_0_v1.0.2.fbx and can be downloaded with this link. Place them in .../surreal/datageneration/smpl_data.

  • download this pkl and place it in .../surreal/datageneration/smpl_data

  • get SMPL_python_v.1.0.0. Extract the basicModel_[m,f]_lbs_10_207_0_v1.0.0.pkl. Place those two files in .../surreal/datageneration/smpl_data/smpl/models/basicModel_{f,m}_lbs_10_207_0_v1.0.0.pkl. Run mv basicmodel_m_lbs_10_207_0_v1.0.0.pkl basicModel_m_lbs_10_207_0_v1.0.0.pkl

  • cp .../surreal/datageneration/misc/prepare_smpl_data/extract_J_regressors.py .../surreal/datageneration/smpl_data/smpl/

  • run python3 extract_J_regressor.py

Surreal Textures

essentially you have ./loc/{script,files/files_smpl_data.txt}

  • call the download script with ./download_smpl_data.sh /yourpath/surreal/datageneration/smpl_data username_surreal pw_surreal

At this point you should have smpl_data/basicModel_{f,m}lbs_10_207_0_v1.0.2.fbx smpl_data/smpl/models/basicModel{f,m}_lbs_10_207_0_v1.0.0.pkl smpl_data/segm_per_v_overlap.pkl smpl_data/joint_regressors.pkl


For AMASS

  • create a body_models folder in data_folder
  • create inside smplh and dmpls folders
  • download dmpls (DMPLs compatibile with SMPL) and smplh and get Extended SMPLH model for AMASS (accepting the respective licenses) there.

NOTE: If exporting WITH cache, the hand movement will be complete, if exporting WITHOUT cache it will not as the basic model for blendshapes is the SMPL model WITHOUT hand. It shouldn't be too difficult to adapt the code to your needs eventually. TESTED ONLY WITH CMU DATA