I'm looking for a c++ source code (Opengl) + an exec (of this code generated in linux with all libraries in it so it can be launched directly without installing the related libraries) that transforms a textured 3D mesh (.obj + texture images OR .ply + texture images OR .3ds + texture images) into a 3D colored mesh (.obj or .ply).
I recall that a 3D colored mesh (.obj or .ply) has an RGB color on each vertex.
The program should be able to read a 3D mesh and the associated texture images and provide a .obj or .ply file associated to the generated 3D colored mesh.
Note that the colors on the colored mesh should be picked from the texture files so it can be similar to the initial textured 3D mesh.
Here is an example of a textured 3D mesh (.3ds + texture images): [login to view URL]
I would like to see the generated 3D colored mesh so I can evaluate the similarity between the latter and the initial textured 3D mesh.
I hope my description was clear enough.