By g0tcha06
on Thu, 12/10/2015 - 01:33
Hello everyone,
I'm looking for a solution in order to switch the texture of my model. I already changed the 3D model that appears on the tracked object, and everything looks fine.
My textures are loaded here:
const char* textureFilenames[] = { "cuir1.jpg", "cuir2.jpg", "grinfin.jpg" };
Like I previously said, I'm trying to switch, on the fly, the current and first texture loaded (cuir1.jpg). Is it possible to achieve this ?
Thanks in advance for your help,
Switch texture
I found the answer.
If it can help someone trying to do the same thing, you just need to edit this line:
in method renderFrameQCAR.