Hallo people,
I have a array list of an object and I showing it in a screen and rotating.
When I rotate it it goes wavery. some files work normaly.

Qt Code:
  1. void GLWidget::paintGL()
  2. {
  3. glClear( GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT );
  4.  
  5. glPushMatrix();
  6.  
  7. glTranslatef(0.0, 0.0, -10.0);
  8. glRotatef(xRot/16, 1.0, 0.0, 0.0);
  9. glRotatef(yRot/16, 0.0, 1.0, 0.0);
  10. glRotatef(zRot/16, 0.0, 0.0, 1.0);
  11. glCallList(1); // call display list
  12. glPopMatrix();
  13.  
  14.  
  15. }
  16.  
  17.  
  18. void GLWidget::resizeGL(int width, int height)
  19. {
  20. GLfloat w = (float) width / (float) height;
  21. GLfloat h = 1.0;
  22.  
  23. glViewport( 0, 0, width, height );
  24. glMatrixMode(GL_PROJECTION);
  25. glLoadIdentity();
  26.  
  27. glFrustum(-w, w, -h, h, 5.0, 60.0);
  28.  
  29. //glOrtho(-1.5, +1.5, +1.5, -1.5, 4.0, 15.0);
  30. glMatrixMode(GL_MODELVIEW);
  31. glLoadIdentity();
  32. glTranslatef( 0.0, 0.0, -10.0 );
  33.  
  34. }
To copy to clipboard, switch view to plain text mode 

but for some objects its working fine.
i dont know whats wrong in this.