I have a mesh what contains everytime the same vertices and triangles. The Texture of the Triangles can change per triangle and also the position and color of the vertices.
Is there a way to reuse the vertices? Because of the changing textures I can’t generate GL_TRIANGLE_STRIP’s, I think I need a way to precache all vertices and use them per index or so.
I tried glVertexPointer(…) without success, it was slower than using glVertex3f(…); for all triangles (I can’t draw elements baucause the different textures).
Now I am thinking about creating displaylists with the vertices and call them, I know it is stupit…thats the reason why I need help!
(if possible I need a hardware T&L frendly version )