I want to rotate a figure that has lighted properties. I use the glIdleFunc() with an incrementation of the first argument of GlRotatef() in glDisplayFunc() ex
float num=0.0;
...
void display(void){
...
glRotatef(num,0.0,0.0,1.0);
...
num+=.02;
glIdleFunc(display);
But when I do this with lighing calculations it is blocky and choppy. How do I rotate without these drawbacks?