Someone can tell me why when I use Vertex, Normal and TextCoord Array the performance are slower?
If I render my scene with glTexCood, glNormal3f and glVertex3f I have many more fps !
how many vertices are you passing to opengl with the vertex buffer ???
what hardware? on ati cards, i can only HIGHLY recomment to use GL_ARB_vertex_buffer_object.. vertex arrays ARE rather slow on them.. a Known Issue by ati, but they only say use vbo
I use a Radeon 9200. I think that this is the problem.
Can you tell me what is the difference between Vertex Buffers and Vertex Buffer Object? How can I use them? I pass only verticies or also normals and texcoords ?
Check out this thread: it explains the differences between vertex arrays and vertex buffers.
and this doc pretty well explains how to use them : sgi extension registry also there is a tutorial here on devmaster
I have implemented Vertex Array with a larger amount of verticies and now the performance are pretty good also on Radeon graphic cards.
I proceed to use Vertex Buffers
I have implemented Vertex Array with a larger amount of verticies
which is why i asked =] the advantage of using vertex arrays usually disappears when you don't supply enough vertices
Can you tell me why now I have less fps with Vertex Buffer ?
hmm, this depends on how you use them. the best way of course to load the data up once and never touch it again. especially if you declared the data as static data you shouldn't change it in the buffer or you might get serious performance hits. also on older cards buffer objects might not be fully supported by the hardware