I don't quite understand how to combine these arrays.
I know how to combine vertex and index arrays, but I don't quite see how to fit in the texcoord arrays.
What I'd like to do is define an object with arrays. But each polygon has shared vertexes. Defining one texcoord for each vertex is thus not possible. My book states OGL only gives ONE texcoord to each vertex.
Also, each polygon only has ONE normal. My book states that when OGL itterates over the arrays it gives each vertex ONE normal. I don't want this because vertexes are connected to several polygons (each poly with another normal)
Can someone explain to me how to pull this off (if possible at al), or can someone link me to a good extensive tutorial/article that combines all these arrays?
Thank you