I have a question about texture coord specification in opengl, using
vertex arrays and texture coord arrays. I am rendering models in opengl
that have their texture coordinates defined per polygon, so that when a
face shares vertices it doesnt have to share texture coords. So for
example polygon_A shares vertex_V1 with polygon_B,
however polygon_A has a texture coord of 1.0 for vertex_V1 and polygon_B
has a texture coord of 0.32 for vertex_V1.
Right now I have a loop that draws the polygons one at a time using
vertex arrays and I am copying the correct texture coords in the
gl_TexturePointer for each polygon.
I am wondering if there is a way to do this so that I wont have to copy
these texture coords each polygon, someway to set up the gl_TextureArray
to do its values per polygon and not per vertex.
6. MDI Graphics