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

TextureMesh Command did not generate a new "_texture_mesh.ply" file #858

Closed
citystrawman opened this issue Sep 8, 2022 · 7 comments
Closed

Comments

@citystrawman
Copy link

Describe the bug
I followed this tutorial to learn how to generate a textured mesh.
image

Dense point-cloud reconstruction and Mesh reconstruction are both OK. But when I ran TextureMesh scene_dense_mesh.mvs I can only get scene_dense_mesh_texture_mesh.png and scene_dense_mesh_texture_mesh.mvs. I think the command should also generate a scene_dense_mesh_texture_mesh.ply file but it did not.

Then I guess I should run ReconstructMesh scene_dense_mesh.mvs because this command could generate a scene_dense_mesh_texture_mesh.ply file.

It did generate a scene_dense_mesh_texture_mesh.ply file, but when I opened it in meshlab, the texture seems not correct:
image
As you can see.

But the texture mapping png looks OK:
image

@cdcseacave
Copy link
Owner

can you pls try something else, maybe Meshlab has an issue?

@citystrawman
Copy link
Author

citystrawman commented Sep 8, 2022

can you pls try something else, maybe Meshlab has an issue?

I tried windows 3D viewer and blender, neither of them show texture image. (I am not familiar with these software) Do you know any software supports .ply with texture image?

BTW Does the command TextureMesh scene_dense_mesh.mvs only generate .png and .mvs files? I saw from some website tutorial that it also generate a .ply file but it doesn't on my computer.

@citystrawman
Copy link
Author

can you pls try something else, maybe Meshlab has an issue?

after a quick search, I found a way to add texture in blender from here. but the result was obviously not correct:

image

@cdcseacave
Copy link
Owner

can u pls share the mesh?

@citystrawman
Copy link
Author

can u pls share the mesh?

I uploaded all .mvs .ply and .png files here for your concern.
Thank you

@cdcseacave
Copy link
Owner

it works for me; pls use the GLB, I do not know how you generated the PLY, but you did something wrong in the conversion
image

@citystrawman
Copy link
Author

citystrawman commented Sep 8, 2022

it works for me; pls use the GLB, I do not know how you generated the PLY, but you did something wrong in the conversion image

I did not find a tutorial for using glb. ( I found I can open glb in microsoft 3d viewer but can't open it in meshlab) Could you give me a link?

It's my fault. I haven't updated meshlab. Now it works.

Thank you

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

2 participants