View Full Version : glDrawElements() problem

03-13-2001, 03:31 AM
It seems that the vertex refered to by the first indices of the indices arrat is refered to to often. this gives a distorted image where there are polygons all beginning at this first vertex all through the model.
If you can help me please, I also have a document with my code on the output off the screen which i could mail to you.
thanks for your time and i hope to have a solution soon.

03-13-2001, 03:47 AM
Are you sure you are not passing GL_TRIANGLE_FAN to glDrawElements?
If so, GL_TRIANGLES would probably be more appropriate.