vchoutas/expose

Rotation of SMPL-generated mesh

ortegatron opened this issue · 2 comments

Hi, I'm trying to render the ExPose output on a web renderer for divulgation purposes.
I'm facing a problem with alignment between the original image and the generated model. Basically I want to generate the same effect as the rendered output image you make, but making the whole 3D scene (body mesh + background image) on the browser.

I'm generating the boy mesh based on the SPML body_pose returned by ExPose. Then, I'm feeding this pose into VPoser, finding the embedding and generating the mesh for that pose. The problem is that this generated pose doesn't have anymore the correct rotation. It properly catches the same body pose as detected by Expose, but then misses the correct orientation of this pose.
I'm trying to fit this mesh to the image by playing with the ExPose returned value on 'global_orient'. But I'm not being able to find the correct positioning?

Am I doing something wrong? Am I correct on the asumption that global_orient + body_pose = same mesh as the one returned from expose??

Thanks again for the help, last answer for the other issue I opened here helped me a lot

Do you have the training code for this paper? Can you share it with me? This is my email address 1654617276wj@gmail.com,Thank you very much.!