I process 3D meshes via graphs using C++ but I don’t any background on OpenGL (still very beginner).
My aim is to convert a 3D textured mesh to a 3D colored mesh (color per vertex) for a project I’m working on. I made several research, and I found that this process is called “Texture Transfer”. I tried with Meshlab, however this doesn’t work good. One advise me to ask OpenGl masters.
Can you provide me a small code allowing to read a 3D mesh with image textures, transfer texture to color vertices and finally save the resulting 3D colored mesh to .ply or .obj ?
Here is attached an example of a textured mesh I want to convert https://archive3d.net/?a=download&id=d269a6f8.