I need to make a human 2D face to 3D face.
I used this link https://github.com/ricardo-rendoncepeda/mtl2opengl to load an “.obj” file and map the textures. This example is only for cube and pyramid. I loaded a human face “.obj” file.
This loads the .obj file and can get the human face properly as below.
But my problem here is I need to display different human faces without changing the “.obj” file. just by texture mapping.
But the texture is not getting mapped properly, as the obj file is of different model. I just tried changing the “.png” file which is used as texture and the below is the result, where the texture is mapped but not exactly what I expected, as shown below.
The below are my few questions on it :
I need to load texture on same model( with same .obj file ) with different images. Is it possible in opengles?
If the solution for above problem is “shape matching”, how can I do it with opengles?