I am trying to display the banana model. I have imported the model and changed the code relevant code to:
glVertexPointer(3, GL_FLOAT, 0, bananaVerts);
glNormalPointer(GL_FLOAT, 0, bananaNormals);
glTexCoordPointer(2, GL_FLOAT, 0, bananaTexCoords);
glDrawArrays(GL_TRIANGLES, 0, bananaNumVerts);
I have change the texture so banana.jpg. When I do my image recognition I see just crazy flashes of yellow, it's displaying something but it's sure as hell not a banana. Any ideas?