problems with vertex arrays ..

Started by
1 comment, last by TheMummy 22 years, 5 months ago
Hi there, I have a small problem with vertex arrays and texture coordinates. I want to use vertex arrays to display the objects... so i would have a texture a normal and a vertex array. Since nearly all vertices will be included into more than one triangle one vertex will have more than one texture coordinate. But I don''t want to create additional normal and vertex elements for every texture coordinate of that vertex. Is there a way to come arround this problem.... How big is the difference between plain glVertex3v(); calls and vertex arrays ?
Advertisement
>>
But I don''t want to create additional normal and vertex elements for every texture coordinate of that vertex.<<

u will have to, no other way around this with vertex arrays
I wanted to use the compiled vertex array extension. I guess the implementation will not notice that the two three or four array elements I specified are the same... so it will project them again .....

This topic is closed to new replies.

Advertisement