i think it would be usefull if their was an index value i could specifie that would break the current primative list and start anew...
aka
would draw 2 seperate polygons that dont share vertex's.Code :glVertexPointer(3,GL_FLOAT,0,&somedata[0].x); glEnableClientState(GL_VERTEX_ARRAY); glBegin(GL_TRIANGLE_STRIP); glArrayElement(0x01); glArrayElement(0x02); glArrayElement(0x03); glArrayElement(0xff); // break value glArrayElement(0x04); glArrayElement(0x05); glArrayElement(0x06); glEnd();
such a feature would be greatly usefull for triangle fans and terrain geomipmapping, would speed things up greatly if i didnt have to call glEnd and glBegin everytime i want to draw a seperate fan or make it possiable to shove it all into the same index array and avoid more function calls.



