Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to generate texturemaps for other types of garment? #1

Open
lonelypicker opened this issue Jun 3, 2020 · 5 comments
Open

How to generate texturemaps for other types of garment? #1

lonelypicker opened this issue Jun 3, 2020 · 5 comments

Comments

@lonelypicker
Copy link

Hi,
Thanks for your great work! I want to generate texturemaps for other types of garment, would it be possible to use this public code? And, how to generate vt_ft_file.pkl for other garment types?

@miraymen
Copy link
Owner

miraymen commented Jun 3, 2020

It should be possible to define a custom garment template using SMPL vertices. To generate vts and fts, we used blender. Please check :https://en.wikibooks.org/wiki/Blender_3D:_Noob_to_Pro/UV_Map_Basics

You will also need to generate face maps and barycentric coordinate maps - fmaps and bmaps.

@lonelypicker
Copy link
Author

Sorry to bother you again. How to generate fmaps and bmaps? Are these trained by other networks? And it seems that cam_file.pkl used in prep_data only provide the position of the camara, how to determine the value in cam_file.pkl?

@miraymen
Copy link
Owner

fmaps and bmaps can be generated using openDR without network training. The values in the cam_fil.pkl are hyper-parameters chosen using randomized grid search. These are values for which the obtained silhouette overlaps with texture silhouettes to a substantial degree.

@lonelypicker
Copy link
Author

Thank you very much! Your response helps me a lot!

@donghaoye
Copy link

@lonelypicker @aymenmir1 Thanks for your discussions. And how to do it? Any scripts can post?-

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants