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 obtain mesh with texture/color? #27

Open
slahcnap opened this issue Aug 22, 2024 · 1 comment
Open

How to obtain mesh with texture/color? #27

slahcnap opened this issue Aug 22, 2024 · 1 comment

Comments

@slahcnap
Copy link

Hello, I was able to set up and run all the script for custom dataset successfully according to your instruction.

I understood from the previous issue #16 that we should be able to obtain a mesh with texture/color from the current version of code.

However, when I open the ./mesh/tsdf_fusion.ply or./mesh/ tsdf_fusion_post.ply file in Blender I couldn't find any texture/color/UV map in any of them.

I also tried exploring the mesh variable in render.py file by printing out the vertex_colors attribute from the mesh object.

mesh = volume.extract_triangle_mesh()
print("mesh.vertex_colors", np.asarray(mesh.vertex_colors))

and I was able to see that the mesh object already has none 0 values for the colors.

image

Hence, I am quite confused as to why there is no color when the mesh is exported to the ply file.

Please kindly advice. Thank you very much !

@slahcnap
Copy link
Author

Moreover, there is no mesh with texture\color when I run DTU dataset.

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

1 participant