SelfReconCode icon indicating copy to clipboard operation
SelfReconCode copied to clipboard

How to simplify and parameterize tmp.ply, and generate uvmap.obj?

Open lx-tech opened this issue 2 years ago • 10 comments

The results of SelfRecon are very surprising. Thanks for open source this work. But, I don't know how to simplify and parameterize the template mesh tmp.ply, and generate uvmap.obj. Can you give me your e-mail or Wechat? My e-mail is [email protected]. Looking forward to your early reply.

lx-tech avatar Jun 19 '22 09:06 lx-tech

You can use meshlab to simplify the mesh and use blender to parameterize the mesh with your manually marked seams.

jby1993 avatar Jun 20 '22 02:06 jby1993

You can use meshlab to simplify the mesh and use blender to parameterize the mesh with your manually marked seams.

Could you describe the detailed steps? I have this error: File "texture_mesh_prepare.py", line 78, in TmpTexCoords=tmpMesh[2].verts_uvs.numpy() AttributeError: 'NoneType' object has no attribute 'numpy'

jhao9090 avatar Jun 23 '22 09:06 jhao9090

You need to supply the uv parameterization for the template mesh first, then run the script. Some softwares, like blender, can do this.

jby1993 avatar Jun 23 '22 12:06 jby1993

You need to supply the uv parameterization for the template mesh first, then run the script. Some softwares, like blender, can do this.

请问一下,具体该怎么操作?有相关的教程吗?

shaoguowen avatar Jul 02 '22 06:07 shaoguowen

I have a question. When I have simplified the mesh and used blender to parameterize the simplified mesh. How could I get the UVmap for the original mesh not the simplified mesh.

Xianjin111 avatar Aug 18 '22 07:08 Xianjin111

Why not directly parameterize the original mesh if you want the UVmap for the original mesh?

jby1993 avatar Aug 18 '22 09:08 jby1993

Why not directly parameterize the original mesh if you want the UVmap for the original mesh?

Because the original mesh is too complex to obtain marked seams manually.

Xianjin111 avatar Aug 18 '22 09:08 Xianjin111

You need to supply the uv parameterization for the template mesh first, then run the script. Some softwares, like blender, can do this.

hello, great work. I have almost run it successfully except one questions. I use blender to smart unwrap the UV point. but I find most of them are right some of them are fault. so I finally only can get this result. do you have any suggestions to improve the result ? image

zxclovesleep avatar Oct 22 '23 15:10 zxclovesleep

You can manually mark seam lines with blender and then generate better uv. Or, you can try compute_uvatlas of open3d to generate uv atlas, the result is good enough for me.

jby1993 avatar Oct 23 '23 03:10 jby1993

You can manually mark seam lines with blender and then generate better uv. Or, you can try compute_uvatlas of open3d to generate uv atlas, the result is good enough for me.

Thank you for your kind replying, I will try it again following by the suggestion. Great work !

zxclovesleep avatar Oct 23 '23 04:10 zxclovesleep