I've got a *.ply file from a interoral scanner. The *.ply-export comes with a texture file but the vertices of the mesh itself remain monochrome. I now need the texture put on the model (and if anyhow possible transfer the color to the vertices, but one thing after another). I tried some ways described in the net, but so far nothing matches my problem fairly.

  • $\begingroup$ Hello, could you describe what you have tried and where it failed ? $\endgroup$ – Gorgious Jan 5 at 15:30
  • $\begingroup$ I importet the mesh into blender and created a new material and texture. After that switched to the Shading-tab and added the texture in the shader editor window. Thats what I had found on the Internet. The Texture is there, but small and repeated everywhere. Hope that helps. Let me know if you need more $\endgroup$ – Coder1234 Jan 7 at 7:33
  • $\begingroup$ Thank you for your help. This question can be closed. I found a workaround. I use MeshLab to transfer the texture colors to the vertices after I managed to put in on there correctly. $\endgroup$ – Coder1234 Jan 11 at 10:13
  • $\begingroup$ You can add that as an answer to your own question, it may help other people with the same problem in the future $\endgroup$ – Gorgious Jan 11 at 12:24
  • $\begingroup$ Thanks, I will do it $\endgroup$ – Coder1234 Jan 11 at 13:39

I found a workaround:

Open the ply model im MeshLab.

  1. Go to Filters->Textures->Convert PerVertex UV into PerWedges UV (it may say it is missing the texture. If it does, copy the texture file into the MeshLab program directory. May be a bug or I am too stupid :P )
  2. Then go to Filters->Texture->Transfer: Texture to Vertex Color.... The standard values were enough for me.
  3. Afterwards go to File->Export Mesh as... and export it as a *.ply. Make sure the vertex colors are checked in the following dialog and hit export.

In Blender import your freshly exported *.ply-file and change the view to "Vertex Paint". Et voila.

  • $\begingroup$ Thank you for sharing this ! :) Also after some time you will be able to accept your own answer, that will help in making it appear more in other people search queries $\endgroup$ – Gorgious Jan 11 at 15:32
  • $\begingroup$ Thank you. (It sure feels a little bit weird to accept your own answer :) ) $\endgroup$ – Coder1234 Jan 12 at 14:04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.