dancasas/SMPLitex

Mapping Complete Texture Maps to SMPL Mesh

Closed this issue · 3 comments

Hi Dan,

Great work on SMPLitex! I was wondering how to render the complete texture maps to SMPL meshes. I ultimately want to map the texture map with text inputs to varying SMPL mesh poses. More like I want the texture map to be transferable for any given pose.

I am new to textures for SMPL, so any suggestions would be helpful. Thank you!

Best,
Jerrin

Hi, we will be adding a snipped code to render textures onto SMPL geometry soon.

Meanwhile, you can use the generated textures into SMPL by regular texture mapping pipeline. If you need quick access to SMPL geometry and texture coordinates, you can get a sample from here (vertices and texture coordinates are in the .obj file) or from the smplx package.

To actually render the model, you can load the .obj and .png in Blender, or use PyTorch3D as explained here.

Hi @jerrinbright, I've finally pushed the code to render textures into SMPL. Have a look at the script

python render_results.py --textures ./dummy_data/uv-textures-inpainted/

as it is described here

Great! Thank you so much!