Skip to content
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

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

Open
lx-tech opened this issue Jun 19, 2022 · 10 comments
Open

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

lx-tech opened this issue Jun 19, 2022 · 10 comments

Comments

@lx-tech
Copy link

lx-tech commented Jun 19, 2022

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 lixing36@foxmail.com. Looking forward to your early reply.

@lx-tech lx-tech changed the title How to simplify and parameterize tmp.ply? How to simplify and parameterize tmp.ply, and generate uvmap.obj? Jun 19, 2022
@jby1993
Copy link
Owner

jby1993 commented Jun 20, 2022

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

@jhao9090
Copy link

jhao9090 commented Jun 23, 2022

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'

@jby1993
Copy link
Owner

jby1993 commented Jun 23, 2022

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

@shaoguowen
Copy link

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

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

@Xianjin111
Copy link

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.

@jby1993
Copy link
Owner

jby1993 commented Aug 18, 2022

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

@Xianjin111
Copy link

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.

@zxclovesleep
Copy link

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

@jby1993
Copy link
Owner

jby1993 commented Oct 23, 2023

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.

@zxclovesleep
Copy link

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 !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants