I have a collection of OBJ files along with their respective mipmap texture files. Currently, I am loading the mipmap textures and applying them to the 3D objects generated from these OBJ files. These individual 3D objects come together to create a larger 3D object.
However, I am now interested in utilizing a 2D image as a texture instead of a mipmap. My goal is to overlay this 2D image on top of each 3D object so that the color at each (x,y) coordinate of the object matches the color at the corresponding position in the texture (z-axis can be disregarded). It's acceptable if the texture appears stretched or warped in the process.
In essence, rather than mapping the texture to specific (x,y,z) vertices of the object, my requirement is for it to be mapped to any vertices that share the same (x,y) values. Is there a method within Three.js that allows me to achieve this without the need to extract image data via canvas?