maria-korosteleva / Garment-Pattern-Generator

Official implementation of Generating Datasets of 3D Garments with Sewing Patterns
MIT License
176 stars 24 forks source link

How to dress customer smplx model? #2

Closed skeras closed 1 year ago

skeras commented 2 years ago

Hi, Thanks for your great project. how to dress customer smplx model?

maria-korosteleva commented 2 years ago

Hi @skeras, thanks for your kind words!

I think I need more context for your question. What are the differences between your customer smplx model and our default example (e.g. shape, pose, need to apply animations, etc.)?

Our default body model is SMPL average woman pose (which is the same for SMPL and SMPLx). Generally speaking, you can use any .obj file as a body model in our pipeline. For example, when using our garmentviewer GUI in Maya: https://github.com/maria-korosteleva/Garment-Pattern-Generator/blob/master/data_generation/garmentviewer.py

skeras commented 2 years ago

Hi, Thanks for your quick reply. SMPLX = SMPL + HAND +EXpression. https://github.com/vchoutas/smplx I am comfused how to drape the garment to smpl body module?

maria-korosteleva commented 2 years ago

You have two options:

1) You just need to drape one or a couple of examples. In this case, you need to run our GUI in Autodesk Maya. The instructions are given in the comments to the file. From GUI, you can choose any .obj file for the body model. Here is an overview of GUI

2) You are doing a simulation for a set of garment samples created by our sewing pattern generator (https://github.com/maria-korosteleva/Garment-Pattern-Generator/blob/master/data_generation/datagenerator.py). In this case,

In either case, for SMPL, you can use the model that we provide here.

Please, refer to our docs for more info on the system.