-
Notifications
You must be signed in to change notification settings - Fork 71
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
UV map to SMPL model #41
Comments
hi, @Amran2k16 , have you done it, I want to do it too |
Yeah, you need to use the resample function that can be found in the uv_map_generator python file. This file can be found in the data_utils folder and takes a uv map as input argument |
thanks for your response ,I will try later~ |
hi, @Amran2k16 , I use create_UV_maps.py to generate some uv_map, and I use the resample function like this:
the uv_map is like this: |
Can you try and use smpl_fbx_temate instead of the radvani ones and show me what results you get? |
Hi @liwenssss I think you made a mistake here:
Maybe you should convert the uv_map to float between [0,1] first. Also, I would not suggest storing uv maps as jpg, since the lossy compression would change the coordinates. It's better to save them as lossless image format like png or bmp. |
@Amran2k16 are you it convenient to send me your generate smpl_fbx_temate file. Actually, I fail to generate it so that I use the radvani's. Maybe it is the reasaon.
|
@liwenssss Hi, what changes when you stop dividing your UV_map by 255? So |
@Amran2k16 Hi, I tried. nothing changed.
and got print info:
|
@liwenssss Sorry, not entirely sure what the issue is in that case. Maybe it might be the template issue, but i doubt it. Unfortunately I don't think i can send you the generate smpl_fbx_temate file due to the SMPL license. As for generating it, these are the steps i took
|
@liwenssss This is quite odd. Seems your resampled mesh still looks like a person, so it's minor mistake... How about sending me an working example and I'll try it out on my machine? |
thanks your advice, I just successfully generate the smpl_fbx_template.obj. I find the reason is that I am not familiar with blender. I will try later to solve this and if I solve it I will tell you
…------------------ 原始邮件 ------------------
发件人: "Amran2k16"<[email protected]>;
发送时间: 2019年8月23日(星期五) 晚上7:11
收件人: "Lotayou/densebody_pytorch"<[email protected]>;
抄送: "李文盛"<[email protected]>; "Mention"<[email protected]>;
主题: Re: [Lotayou/densebody_pytorch] UV map to SMPL model (#41)
@liwenssss Sorry, not entirely sure what the issue is in that case. Maybe it might be the template issue, but i doubt it. Unfortunately I don't think i can send you the generate smpl_fbx_temate file due to the SMPL license.
As for generating it, these are the steps i took
Import SMPL FBX file into blender (You will need to get this file from SMPL website)
Export it as an obj file, using the triangulation options that can be selected (this way you will not need to use triangulation.py method, I myself did not use this but discovered it much later)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
I just think maybe I do something wrong I dont notice. I will try to do it from the beginning process except the data generate process. I am not sure what file do you want.
…------------------ 原始邮件 ------------------
发件人: "Lingbo Yang"<[email protected]>;
发送时间: 2019年8月23日(星期五) 晚上7:34
收件人: "Lotayou/densebody_pytorch"<[email protected]>;
抄送: "李文盛"<[email protected]>; "Mention"<[email protected]>;
主题: Re: [Lotayou/densebody_pytorch] UV map to SMPL model (#41)
@liwenssss This is quite odd. Seems your resampled mesh still looks like a person, so it's minor mistake... How about sending me an working example and I'll try it out on my machine?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
okay, good luck |
hi, @Amran2k16 ,have you met the following phenomenon when you generate SMPL model: |
Hi, I believe this is an issue of UV MAP size. I am guessing this was reshaped from a 256 * 256 image. Instead try to do it with a 512 * 512 image size. Also did you find that triangulation.py was not a necessary step if it was done in blender already? |
@willie1997 How did you manage to create UV maps without normalizing to [0,1]? And which part of the process did you use bilinear interpolation in exactly? |
normalization is a problem which I haven't figured out. If you want to remain the correct propotion, my solution is saving vmin and vmax. |
@willie1997 Hello!Could you share your resample code?I have followed your tips,but still couldn‘t solve the bulge problem. |
@liwenssss |
hi,have u solved the problem? I have encontered the same bug as yours |
Hi,
Once i have the UV maps for the images after using create_uv_maps.py , how do i construct a SMPL model out of it?
The text was updated successfully, but these errors were encountered: