Archived

This topic is now archived and is closed to further replies.

problems with vertex arrays ..

This topic is 5873 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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 ?

Share this post


Link to post
Share on other sites
>>
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

Share this post


Link to post
Share on other sites
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 .....

Share this post


Link to post
Share on other sites