hi friends,
I have around 16,00,000 vertices each consists of start and end points.i’m using these vertices to draw a object.
code:
int j=0;
for(int i=0;i<array.count()/2;i++)
{
j=i;
j++;
glBegin(GL_LINE_LOOP);
glVertex3f(array(i),array(i),array(i));
glVertex3f(array(j),array(j),array(j));
glEnd();
}
while drawing and moving this object it so much time.please help me regarding this issue.