smplify-x
smplify-x copied to clipboard
Adding texture using MPI Mesh
I took the smplx_texture_m_alb.png
texture image file (see image below) from the SMPLX Blender Add-On
. I wanted to add texture to the SMPLX mesh using this image outside of Blender.
Following the documentation of MPI Mesh, I used the following command: Mesh.set_texture_image('smplx_texture_m_alb.png')
. However, I am facing an issue with the eye positioning in the output (see figure below):
What is causing this issue? Note that the texture is getting loaded correctly when imported in Blender add-on. (see figure below)
I'm not sure whether the issue is with the texture files or with the .set_texture_image()
function.
I am importing the texture files from this repo using the function and it works fine (see image below)
Hey, @hshreeshail .I'm also using the texture file int this repohttps://github.com/qzane/textured_smplx.However,when I used SMPLX Blender Add-On to create a SMPLX model and importing the texture file using blender,the result was not good(like your second image).And here is my result in blender.
It seems that the uv map is not compatible with the texture.How can I fix it?Thank you so much!